+ Reply to Thread
Results 1 to 8 of 8

Running Total problem

  1. #1
    Registered User
    Join Date
    11-21-2008
    Location
    Chicago
    Posts
    4

    Running Total problem

    I have a spreadsheet with 2 cells (C8 and E8). I want to add the dollar amounts in both of them together and get a running total (year to date) in E8. Would this be done in a VBA and if so what would it be? Any help would be appreciated

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You can't get the result of a formula in a cell that is part of the formula - this creates a circular reference.

    Attach an example worksheet
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    11-21-2008
    Location
    Chicago
    Posts
    4
    Here is an example of the spreadsheet
    C8 E8
    44.00 54.00

    I want E8 to add the 2 amounts and give me a total.
    Is this possible?

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    No, it would be a circular reference. Here's some example YTD formulas

  5. #5
    Registered User
    Join Date
    11-21-2008
    Location
    Chicago
    Posts
    4
    Thanks for the link to the YTD. I copied it and will have to change around my spreadsheet I guess, even though I really don't want to.
    Thanks for your help, I really appreciate it.

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You can attach the workbook but I can't see why you want to overwrite the total cell.

  7. #7
    Registered User
    Join Date
    11-21-2008
    Location
    Chicago
    Posts
    4
    I've attached part of the spreadsheet for you. See if that helps you see what I'm trying to do.
    Thanks,
    Attached Files Attached Files

  8. #8
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Surely it's best to keep the monthly data for reference as the example I gave you does.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1