+ Reply to Thread
Results 1 to 4 of 4

Summing a range of numbers in a list of numbers

  1. #1
    Registered User
    Join Date
    01-13-2006
    Location
    Australia
    Posts
    8

    Summing a range of numbers in a list of numbers

    I have a spreadsheet that I use for simple budget totals.
    Range a1:a12 are a month counter ie Jan = 1 June =6 Dec=12
    Range b1:b12 are the months of the year (Jan-Dec)
    Range c1:c12 are the monthly budget (Different figure each month)
    Range d1:d12 are the actual income for that month

    I use a vlookup formula to select by number the month I am reviewing.

    So if I enter month 7 the formula returns July

    What formula do I use, based on the month entered ie 7, to do a sum of the budget column, column C, but only down to line 7 and not the full range c1:c12 ?

    I have looked at offset and sumif functions but have not been sure how these work and if tey are correct formulas for waht I want to achieve.

    Any suggestions and help would be appreciated.

    Thanks

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    I think this should work for you, assuming the 7 in your example is in cell E1:

    SUM(INDIRECT("C1:C"&E1))

    HTH

    Jason

  3. #3
    Registered User
    Join Date
    01-13-2006
    Location
    Australia
    Posts
    8
    Thanks Jason,

    Your formula worked perfectly

    Much appreciated

  4. #4
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Glad it helped.

    Jason

+ 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