Results 1 to 3 of 3

Changing Source column for formula depending on month

Threaded View

john_london Changing Source column for... 09-30-2010, 04:26 PM
cmyers Re: Changing Source column... 09-30-2010, 07:33 PM
john_london Re: Changing Source column... 10-01-2010, 10:36 AM
  1. #1
    Registered User
    Join Date
    04-19-2010
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    86

    Changing Source column for formula depending on month

    Hi guys

    So I've nearly finished my document, this last bit is killing me. I've attached what i've done so far, and tried to highlight where my problem is.

    Basically, I have this formula in my summary page:

    =SUM(SUMIF(Attendance!$I:$I,{"Y","A"},Attendance!$D:$D))
    In the Attendance sheet in the formula, column $I:$I refers to October. In the summary page, it currently shows the data for October. What I want to be able to do, is for the user to use the picklist in the Summary page to change the month, which therefore changes the column that the formula references (for example, if they change the picklist to 'November' then the new formula should reference column J):

    =SUM(SUMIF(Attendance!$J:$J,{"Y","A"},Attendance!$D:$D))
    I've added a table in the PickLists sheet, and put the corresponding column in there, but can't figure out how to do this? Any help would be amazing and would result in my manager thinking I'm ace (or at least not crap).

    Cheers,
    John
    Attached Files Attached Files

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