+ Reply to Thread
Results 1 to 4 of 4

Formula for running cumulative numbers with conditions to populate cells

  1. #1
    Registered User
    Join Date
    01-23-2011
    Location
    Ontario
    MS-Off Ver
    Offie &, Excel
    Posts
    3

    Formula for running cumulative numbers with conditions to populate cells

    I am currently working a spreadsheet where are would like to run comparisons of numbers this year vs last year. I have the monthly numbers for last year and obviously not yet for this year. How do I get the spreadsheet to populate last year's numbers only when I enter a number into the same month for this year.For example, if the Total for the year is $120,000 and each month has a revenue of $10 but this year, I am only inputting for January (soon). When the cummulative number compares to last year, by the end of February I may have $35,000 in revenue and want to only show a comparison to the $20,000 that I had last year but instead am showing the year total of $120,000. Thx

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,535

    Re: Formula for running cummulative numbers with conditions to populate cells

    It would be a great deal easier if you could provide some range information - ie where the data for each fiscal is being stored.

    In principle what you're trying to do is relatively straightforward - if we assume current year values will be stored in B2:B13 and prior year is in say D2:D13 then we can get a YTD comparison using:

    Please Login or Register  to view this content.
    the above assumes you would always enter a value for a prior month even if 0 and that future months (current fiscal) are blank.

  3. #3
    Registered User
    Join Date
    01-23-2011
    Location
    Ontario
    MS-Off Ver
    Offie &, Excel
    Posts
    3

    Re: Formula for running cumulative numbers with conditions to populate cells

    Thank you for your info. I think that we are close. I didn't explain myself quite clearly. The numbers aren't TY vs LY actually, they are TY vs Budget. I have attached the rows as I see it in my spreadsheet.
    The headings would start with the Total and then the second column would be January and so on. The top row is last year and the bottom row is this year.
    Attached Images Attached Images

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,535

    Re: Formula for running cumulative numbers with conditions to populate cells

    As I said without ranges it's very difficult to provide anything meaningful.

    From your image it's hard to decipher what you're doing given all values appear complete, however, if you're dealing with Horizontal Vectors as opposed to Vertical simply adjust the references in the example accordingly
    (ie from B2:B13 to B2:M2 etc...)

    If you need help with an Excel file it's best to post an Excel file - images are of limited use (unless you need help with an image of course)

+ 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