|
本帖最后由 oxfan 于 2018-1-25 10:12 编辑
求一个判断类的公式
大家好,我的公式是要放在I:T(就是从WEEK1到WEEK12)目的是这个样子的,E列是欠款,F列是每周给的款项,G列是周数。然后我需要的公式是判断我还的钱多不多过E,小于的话,就按每周付钱,就是F列,如果大于对话,就为0不显示。然后每行最后一个是E与之前还款的差值(比如第4行:9472.69-(2000+2000+2000+2000)=1472.69
请问这样的公式怎么写?谢谢各位!请看图片附件。
[tr] [td=88]Balance[/td] [td=95]Weekly Pay[/td] [td=42]Weeks[/td] [td=88]Week1[/td] [td=88]Week2[/td] [td=88]Week3[/td] [td=88]Week4[/td] [td=88]Week5[/td] [td=88]Week6[/td] [td=88]Week7[/td] [td=81]Week8[/td] [td=81]Week9[/td] [td=81]Week10[/td] [td=81]Week11[/td] [td=88]Week12[/td] [td=84]Total[/td] [/tr]
[tr] [td] $ 53,256.06 [/td] [td] $ 4,438.01 [/td] [td]12 [/td] [td] $ 4,438.01 [/td] [td] $ 4,438.01 [/td] [td] $ 4,438.01 [/td] [td] $ 4,438.01 [/td] [td] $ 4,438.01 [/td] [td] $ 4,438.01 [/td] [td] $ 4,438.01 [/td] [td] $ 4,438.01 [/td] [td] $ 4,438.01 [/td] [td] $ 4,438.01 [/td] [td] $ 4,438.01 [/td] [td] $ 4,438.01 [/td] [td]53256.06 [/td] [/tr]
[tr] [td] $ 9,472.69 [/td] [td] $ 2,000.00 [/td] [td]2 [/td] [td] $ 2,000.00 [/td] [td] $ 2,000.00 [/td] [td] $ 2,000.00 [/td] [td] $ 2,000.00 [/td] [td] $ 1,472.69 [/td] [td][/td] [td][/td] [td][/td] [td][/td] [td][/td] [td][/td] [td][/td] [td]9472.69 [/td] [/tr]
|
|