+ Reply to Thread
Results 1 to 5 of 5

Year to Date sum in one cell depending on the Month

  1. #1
    Forum Contributor
    Join Date
    08-03-2005
    Posts
    269

    Year to Date sum in one cell depending on the Month

    Hi, I need a formula that gives me the sum of the months for one cell depending on the month. So in column A I would have a month selector, for B-M I would have January - December values. In column N I need a formula that looks at A and sums the months from January to and including the Month that is shown in A. For example if A shows July, I want it to sum Jan through July, but if the user changes A to September I want it now to sum Jan to Sept. Only get 7 if's per formula so I was wonding if there was a clever trick to do this.

    Thanks for the help.

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    There are a number of ways to handle this. I attached one variation in a workbook below:
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    10-14-2004
    Location
    San Diego, CA
    Posts
    213
    You can sum columns per month, type the month number in cell D1 and the formula in cell F1 will sum everything from Jan to that month.

    Matt
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    08-03-2005
    Posts
    269
    Thanks both of you, I can't view these at work so I will have to view from home.

  5. #5
    Forum Contributor
    Join Date
    08-03-2005
    Posts
    269
    WOW, thanks guys, I can probably use both of those!!!

+ 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