Need help in my Cell formula

agonysWeeper

Board Regular
Joined
Feb 4, 2011
Messages
146
C1 = 1,500
A2 = 0
C2 = IF(A2=0,0,C1+A2) which is total of 1,500 because the A2 is 0 but the cell show a 0.
A3 = 300
C3 = IF(A3=0,0,C2+A3) which is 300 but I am looking for 1,800

I want this set up.
C1 = 1,500
A2 = 0
C2 = -
A3 = 300
C3 = 1,800


Anyone help?
 
There is something wrong because.



when it comes to C4 like for example I put a 300 again in A4 then C4 will show (2,400) but I am looking for (900) Please help again. :)

(2,400) and (900) are not easily identifiable as negative values, (maybe clear to you, but most people use the format of -2400 and -900) it's so much easier to understand if you make your data clearer.

In addition, it saves you having to keep asking more questions and wait for more answers if you read all of the replies in the thread and try all of the suggestions given to you. That way you would have found the solution that was given to you nearly 3 hours ago which does what you're asking for.
 
Upvote 0

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,224,598
Messages
6,179,822
Members
452,946
Latest member
JoseDavid

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