作者SeaNMiz (尚蜜汁)
看板ask
標題[請問] excel函數設定
時間Thu Feb 13 00:07:12 2014
最近想用簡單的excel來幫忙計算東西 簡單的乘法 除法 求商 求餘數 我會 可是... 我想要讓求商數的欄位 當 求餘數的欄位 數值是2或3時 求商數的欄位自動加2 這函數要怎麼寫阿??? 求商數我是設=floor(欄位/4,1) 有人可以解救我嗎~ 感謝 --
※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.194.166.136
→ wxtab019:if(or(餘數=2,餘數=3),餘數+2,餘數) 可以去看看if的用法 02/13 00:19
→ SeaNMiz:我是想跟求商數那欄設在一起 這樣有辦法嗎? 02/13 00:20
→ wxtab019:喔喔 看錯 那就是把後面兩個改掉 02/13 00:23
→ wxtab019:第一個那邊是判斷式 第一個逗點後是判斷正確的時候 02/13 00:24
→ soyoso:=FLOOR(A1/4,1)+(SUM(--(MOD(A1,4)={2;3})))*2 試試 02/13 00:27
This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.
留言列表