+ Reply to Thread
Results 1 to 3 of 3

Summing a variable range of Columns

  1. #1
    Registered User
    Join Date
    02-24-2005
    Posts
    2

    Summing a variable range of Columns

    I have built a Sales Forecast Summary spreadsheet for a small business. One of the data column sets was each MONTH of sales. At the end (Column 13) I put a YTD with a sum across. I compared LastYTD with CurrentYTD. Last year was first year using it, so there was no "Last"Year when initially using it .

    So now, ALL of last year is filled in, so the "Year To Date, Last Year" is a total summary of all 12 months. Meaning . . . . YTDthis = SUM( Jan to -Feb) But comparing Last Year's to Date, it's YTDlast=Sum(Jan to Dec)

    So how do I make a function that Sum's a series of Columns that is variable, say to the Month. (I have a drop down to select which month I'm in)

    So it would be something like

    SUM(Column1 to ColumnX) Where X is the variable (which will change each month)

    Any thoughts????

  2. #2
    Registered User
    Join Date
    02-24-2005
    Posts
    2
    Does anyone have any thoughts on this one?

  3. #3
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256
    As I understand, you want something like this:

    YTD 2005: =SUMIF($B$2:$L$2,"<>0",B2:L2)
    YTD 2004: =SUMIF($B$2:$L$2,"<>0",B3:L3)

    Year...Jan...Feb...Mar...May...Jun...Jul...Aug...Sep...Okt...Nov...Dec...YTD...
    2005..12...23...................................................................................
    2004..11...22......33.....44....555...66..77.......88...99....1.0....112....

    Ola Sandström

+ 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