iT邦幫忙

0

excel篩選

  • 分享至 

  • xImage

https://ithelp.ithome.com.tw/upload/images/20220608/20149673SRgrIiO5R5.png
請問有什麼方法篩選可以得到下面這張圖的結果?
假設我想找的電影類型是懸疑+犯罪並且評分>7.0
https://ithelp.ithome.com.tw/upload/images/20220608/20149673Ncoi5AmGuW.png

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中
0
camabula
iT邦新手 3 級 ‧ 2022-06-09 08:50:36
最佳解答

新增一個欄位判斷是否符合,符合的才顯示:

=AND(B2>7,OR(C2="懸疑",D2="懸疑",E2="懸疑"),OR(C2="犯罪",D2="犯罪",E2="犯罪"))

https://ithelp.ithome.com.tw/upload/images/20220609/20124632MHYW7powpe.jpg

https://ithelp.ithome.com.tw/upload/images/20220609/20124632BqLfJR2VI5.jpg

1
kaiiiiiiii
iT邦新手 5 級 ‧ 2022-06-08 09:37:52

來個不下公式的作法:

  1. 點隨便一格儲存格,Ctrl + A 全選
    https://ithelp.ithome.com.tw/upload/images/20220608/20146654DbrZMf59Ef.jpg

  2. 上方工具列 資料 -> 篩選
    https://ithelp.ithome.com.tw/upload/images/20220608/20146654kPgwCZxOh8.jpg

  3. 依照你想要的規則篩選

假設我想找的電影類型是懸疑+犯罪並且評分>7.0

懸疑+犯罪:
https://ithelp.ithome.com.tw/upload/images/20220608/201466540RvMvHoVsv.png
https://ithelp.ithome.com.tw/upload/images/20220608/20146654bSl3NrNWjn.png

評分>7.0:
https://ithelp.ithome.com.tw/upload/images/20220608/20146654PkCc554rpU.png
https://ithelp.ithome.com.tw/upload/images/20220608/20146654AXbfM7LX0I.png

結束。
https://ithelp.ithome.com.tw/upload/images/20220608/201466546PxtSa7IlR.png

/images/emoticon/emoticon29.gif

fskf3s22 iT邦新手 5 級 ‧ 2022-06-08 11:22:07 檢舉

非常感謝您的回答
這解答了我大部分的疑惑
但是在類型裡只有第一欄的選項
請問要如何同時篩選三個欄位裡的所有選項?

https://ithelp.ithome.com.tw/upload/images/20220608/20149673jrXu0E7AYg.png

篩選的結果
https://ithelp.ithome.com.tw/upload/images/20220608/20149673PbrDurAkKU.png

正確的結果應該是這樣
https://ithelp.ithome.com.tw/upload/images/20220608/201496739MTLQHxqAM.png

0
Misty0723
iT邦新手 3 級 ‧ 2022-06-10 00:21:48

你會想要設比較活的寫法嗎?可以隨時改不同的類型搭配與評分做篩選,但不用直接改公式

fskf3s22 iT邦新手 5 級 ‧ 2022-06-10 14:26:25 檢舉


我想知道最方便的篩選方法
公式再複雜都可以

Misty0723 iT邦新手 3 級 ‧ 2022-06-10 22:39:20 檢舉

你可以看一下站內簡訊嗎~謝謝

我要發表回答

立即登入回答