Board logo

標題: [發問] 請教IF(.....) or IF(.....) 的公式 [打印本頁]

作者: cdkee    時間: 2016-7-21 20:24     標題: 請教IF(.....) or IF(.....) 的公式

IF(V12>=2,IF(V12<=2.1,IF(U12>=2,IF(U12<=3,IF(W12>=2.51,IF(W12<=4.5,V12,""),""),""),""),""),"")
IF(V12>=1.9,IF(V12<=1.99,IF(U12>=2,IF(U12<=4,IF(W12>=3.01,IF(W12<=4.5,V12,""),""),""),""),""),"")
試了以下但不行
OR((IF(V12>=2,IF(V12<=2.1,IF(U12>=2,IF(U12<=3,IF(W12>=2.51,IF(W12<=4.5,V12,""),""),""),""),""),"")),(IF(V12>=1.9,IF(V12<=1.99,IF(U12>=2,IF(U12<=4,IF(W12>=3.01,IF(W12<=4.5,V12,""),""),""),""),""),""))

請教大大以上兩條公式用OR應如何,謝謝!
作者: ML089    時間: 2016-7-21 20:35

IF(V12>=2,IF(V12<=2.1,IF(U12>=2,IF(U12<=3,IF(W12>=2.51,IF(W12<=4.5,V12,""),""),""),""),""),"")
可以改為如下
IF(AND(V12>=2,V12<=2.1,U12>=2,U12<=3,W12>=2.51,W12<=4.5),V12,"")
作者: cdkee    時間: 2016-7-21 20:59

回復 2# ML089

謝謝版大指導,可以了!




歡迎光臨 麻辣家族討論版版 (http://forum.twbts.com/)