Help to adjust a formula

Alejandro Rodriguez

New Member
Joined
Jul 19, 2005
Messages
40
.
Hello,

I have the below table.
I need to adjust the formula of column F (BALANCE) in order to give me the results required.

I tried with:
HTML:
F6 = IF(E6>0,SUM(F5)+IF(B6>0,(A6*B6),0)-IF(C6>0,(F5/D5)*C6,0),0)
but doesnt work.

Any suggestion how to adjust the formula?
No problem if there is another way to do it. Better not using Conditional Formatting and an Auxiliar Column.

Thank you in advance for your help.



Excel 2003
ABCDEFGHIJ
1
2
3
42,2501,6106406401,100.0011,597.24152,147.12
5PRICEINOUTQ'TYON HANDBALANCERESULT REQUIREDBAL
615.0010010000.000.001,500.00
7505000.000.00750.00
820.0020025000.000.004,750.00
92005000.000.00950.00
10302000.000.00380.00
1110.001,0001,02000.000.0010,380.00
1218.002001,22000.000.0013,980.00
13701,15000.000.0013,177.87
141501,00000.000.0011,459.02
1530.004001,40000.000.0023,459.02
162001,20000.000.0020,107.73
1750070000.000.0011,729.51
1835035000.000.005,864.75
1919.0030065000.000.0011,564.75
206059000.000.0010,497.24
2122.00506406401,100.0011,597.2411,597.24
22
INV
Cell Formulas
RangeFormula
B4=SUM(B6:B65536)
C4=SUM(C6:C65536)
D4=B4-C4
D6=SUM(B$6:B6)-SUM(C$6:C6)
E4=SUM(E6:E65536)
E6=IF(COUNT(B7:C7)>0,0,SUM(B$6:B6)-SUM(C$6:C6))
F4=SUM(F6:F65536)
F6=IF(E6>0,SUM(F5)+IF(B6>0,(A6*B6),0)-IF(C6>0,(F5/D5)*C6,0),0)
H4=SUM(H6:H65536)
J4=SUM(J6:J65536)
J6=SUM(J5)+IF(B6>0,(A6*B6),0)-IF(C6>0,(J5/D5)*C6,0)
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
.
is 0

Column F depends of column E
If column E is 0 then column F is 0
If column E > 0 then column F is SUM(F5)+IF(B6>0,(A6*B6),0)-IF(C6>0,(F5/D5)*C6,0)

thank you for your help.

PS. My results required are shown in column H
.
 
Upvote 0

Forum statistics

Threads
1,215,455
Messages
6,124,935
Members
449,195
Latest member
Stevenciu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top