[算表] 更新,合併兩個條件式卻顯示錯誤
軟體:excel
版本:2010
各位大大好
我現在有兩個條件式
1.
=IF(H2=$R$1,IF(AND(P2>0,P2<=2),IF(OR(N2<1000,N2>7000),P2-0.5,P2-1),
IF(OR(N2<1000,N2>7000),2-0.5,2-1)),"")
2.=IF(H2=$R$1,IF(AND(P2>0,P2<=2),IF(OR(N2<7000,N2>5999),2-0.5,2-1)),"")
需要把這兩個條件式合併為一個
但怎麼想就是想不出來= =
可以請各位大大幫忙看一下嗎??
我檔案編號(N2)有二種條件
1.N2<1000 or N2>7000
2.5999<N2<7000
我自己試寫上去,公式如下
=IF(H2=$R$1,IF(AND(P2>0,P2<=2),IF(OR(N2<1000,N2>7000,5999<N2<7000),
P2-0.5,P2-1,P2),IF(OR(N2<1000,N2>7000,5999<N2<7000),2-0.5,2-1,2)),"")
但一直顯示引數過多 可以幫我看一下嗎??
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.160.242.252
※ 文章網址: https://www.ptt.cc/bbs/Office/M.1474964621.A.289.html
→
09/27 16:48, , 1F
09/27 16:48, 1F
→
09/27 16:48, , 2F
09/27 16:48, 2F
→
09/27 16:55, , 3F
09/27 16:55, 3F
※ 編輯: Tampa (1.160.242.252), 09/27/2016 18:30:32
※ 編輯: Tampa (1.160.242.252), 09/27/2016 18:31:23
→
09/27 18:43, , 4F
09/27 18:43, 4F
→
09/27 18:45, , 5F
09/27 18:45, 5F
→
09/27 18:56, , 6F
09/27 18:56, 6F
→
09/27 18:56, , 7F
09/27 18:56, 7F
→
09/27 20:32, , 8F
09/27 20:32, 8F
→
09/27 20:34, , 9F
09/27 20:34, 9F
→
09/27 20:35, , 10F
09/27 20:35, 10F
→
09/28 11:42, , 11F
09/28 11:42, 11F
→
09/28 11:43, , 12F
09/28 11:43, 12F
→
09/28 11:44, , 13F
09/28 11:44, 13F
→
09/28 11:44, , 14F
09/28 11:44, 14F
→
09/28 11:47, , 15F
09/28 11:47, 15F
→
09/28 11:48, , 16F
09/28 11:48, 16F
→
09/28 11:48, , 17F
09/28 11:48, 17F
→
09/28 11:48, , 18F
09/28 11:48, 18F
→
09/28 11:54, , 19F
09/28 11:54, 19F
→
09/28 11:55, , 20F
09/28 11:55, 20F
→
09/28 11:55, , 21F
09/28 11:55, 21F
→
09/28 13:10, , 22F
09/28 13:10, 22F
→
09/28 13:10, , 23F
09/28 13:10, 23F
→
09/28 13:11, , 24F
09/28 13:11, 24F
→
09/28 13:11, , 25F
09/28 13:11, 25F
→
09/28 13:12, , 26F
09/28 13:12, 26F
→
09/28 13:12, , 27F
09/28 13:12, 27F
→
09/28 13:12, , 28F
09/28 13:12, 28F
→
09/28 13:13, , 29F
09/28 13:13, 29F
→
09/28 13:14, , 30F
09/28 13:14, 30F
→
09/28 13:16, , 31F
09/28 13:16, 31F
→
09/28 13:16, , 32F
09/28 13:16, 32F
→
09/28 13:16, , 33F
09/28 13:16, 33F
→
09/28 13:18, , 34F
09/28 13:18, 34F
→
09/28 13:19, , 35F
09/28 13:19, 35F
→
09/28 13:19, , 36F
09/28 13:19, 36F
→
09/28 13:20, , 37F
09/28 13:20, 37F
→
09/28 13:22, , 38F
09/28 13:22, 38F
還有 34 則推文
→
09/28 15:45, , 73F
09/28 15:45, 73F
→
09/28 15:46, , 74F
09/28 15:46, 74F
→
09/28 15:46, , 75F
09/28 15:46, 75F
→
09/28 15:46, , 76F
09/28 15:46, 76F
→
09/28 15:47, , 77F
09/28 15:47, 77F
→
09/28 15:48, , 78F
09/28 15:48, 78F
→
09/28 15:48, , 79F
09/28 15:48, 79F
→
09/28 16:00, , 80F
09/28 16:00, 80F
→
09/28 16:20, , 81F
09/28 16:20, 81F
→
09/28 16:20, , 82F
09/28 16:20, 82F
→
09/28 16:48, , 83F
09/28 16:48, 83F
→
09/28 17:03, , 84F
09/28 17:03, 84F
→
09/28 17:03, , 85F
09/28 17:03, 85F
→
09/28 17:03, , 86F
09/28 17:03, 86F
→
09/28 17:04, , 87F
09/28 17:04, 87F
→
09/28 17:04, , 88F
09/28 17:04, 88F
→
09/28 17:04, , 89F
09/28 17:04, 89F
→
09/28 17:10, , 90F
09/28 17:10, 90F
→
09/28 17:11, , 91F
09/28 17:11, 91F
→
09/28 17:12, , 92F
09/28 17:12, 92F
→
09/28 17:12, , 93F
09/28 17:12, 93F
→
09/28 17:13, , 94F
09/28 17:13, 94F
→
09/28 17:14, , 95F
09/28 17:14, 95F
→
09/28 17:14, , 96F
09/28 17:14, 96F
→
09/28 17:15, , 97F
09/28 17:15, 97F
→
09/28 17:16, , 98F
09/28 17:16, 98F
→
09/28 17:30, , 99F
09/28 17:30, 99F
→
09/28 17:30, , 100F
09/28 17:30, 100F
→
09/28 17:30, , 101F
09/28 17:30, 101F
→
09/28 21:11, , 102F
09/28 21:11, 102F
→
09/28 21:12, , 103F
09/28 21:12, 103F
→
09/28 21:31, , 104F
09/28 21:31, 104F
→
09/28 21:31, , 105F
09/28 21:31, 105F
→
09/28 21:35, , 106F
09/28 21:35, 106F
→
09/28 21:36, , 107F
09/28 21:36, 107F
→
09/28 21:36, , 108F
09/28 21:36, 108F
→
09/28 21:38, , 109F
09/28 21:38, 109F
→
09/28 22:06, , 110F
09/28 22:06, 110F
→
09/28 22:08, , 111F
09/28 22:08, 111F
→
09/28 22:09, , 112F
09/28 22:09, 112F
Office 近期熱門文章
PTT數位生活區 即時熱門文章