Share via

Running Total using IF function

Anonymous
2010-07-06T22:20:12+00:00

Do i use an If function to display a running total: J2 (todays total yet to be calculated) will be equal to J1 (yesterdays total) plus I2 (todays new entry) but if I2 shows no entry, then J2 shows nothing as well. I only want J2 to show data when I2>0. This way I can set up my running total formula without all my J cells showing the same total as the day before until the I cells are populated with that days entry. Thank you. I kept getting a circular reference.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

10 answers

Sort by: Most helpful
  1. Ashish Mathur 101.9K Reputation points Volunteer Moderator
    2010-10-12T01:04:33+00:00

    You are welcome.

    Regards,

    Ashish Mathur

    Microsoft Excel MVP

    www.ashishmathur.com

    "2010ExcelUser" wrote in message news:a7461be7-e12d-40f3-bd46-198c7a094fb8...

    Thank you for taking the time to respond. When I saw your solution and implemented it, it worked perfectly. I apologize in the delay of my response but I just got back to tackling this again today. I really did spend HOURS trying to figure it out again today!. I think my error was partly due to entering a 0 or >0 or>-1. I studied what you did so I could try and figure out someting like this next time on my own. Thank you so much.


    Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2010-10-11T18:28:19+00:00

    @2010ExcelUser,

    You should mark one or more of the message you received that led you to solving your problem as the "Answer" so that others will know your problem has been resolved.


    NOTE: Please mark the message or messages (yes, you can mark more than one) that answer your question as the "Answer" so that others will know your question has been resolved.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-10-11T18:10:42+00:00

    Perfect! Thank you

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2010-10-11T18:09:21+00:00

    Ah, that makes sense. Thank you for your response - I have taken note of it!

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2010-10-11T18:06:13+00:00

    Thank you, ben's formula did work ( i was kinda chagrined when i saw what a simple fix it was) but I will make a note of yours in case I encoutner that in a spreadsheet going forward. Thanks again for your time. Appreciate it.

    Was this answer helpful?

    0 comments No comments