作者windknife18 (windknife18)
標題Re: [問題] EXCEL 陣列問題 判斷數值範圍 回傳 值
時間Sun Apr 30 17:37:23 2023
IFS 的用法跟你原始的寫法很像
=IFS(E6<=0,0,
E6<3001,30,
E6<=6001,60,
E6<=9001,90,
E6<=12001,120,
E6<=15001,150,
E6<=18001,180,
E6<=21001,210,
E6<=24001,240,
E6<=27001,270,
E6<=30001,300,
E6>50000,0,
TRUE," ")
※ 引述《ilf0121 (思想的崛起)》之銘言:
: 軟體:EXCEL
: 請問大大 以下公式能否用陣列簡化
: 主要是判斷E6格 的數值 在哪個範圍 回傳什麼值
: =IF(E6<=0,0,
: IF(E6<3001,30,
: IF(E6<=6001,60,
: IF(E6<=9001,90,
: IF(E6<=12001,120,
: IF(E6<=15001,150,
: IF(E6<=18001,180,
: IF(E6<=21001,210,
: IF(E6<=24001,240,
: IF(E6<=27001,270,
: IF(E6<=30001,300,
: IF(E6>50000,"0"," "))))))))))))
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.34.58.193 (臺灣)
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Office/M.1682847445.A.2ED.html
1F:推 ilf0121: 謝謝大神指導! 05/01 04:31