Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Columns A & B = Jan 2008 - Mgmt. and Jan 2008 Non-Mgmt., respectively.
Columns C & D = Feb 2008 - Mgmt. and Feb 2008 Non-Mgmt., respectively. Columns E & F = Mar 2008 - Mgmt. and Mar 2008 Non-Mgmt., respectively. etc. Based on a pull-down box I created where a user selects an ending period (month-year), I'm trying to use the SUMIF function whereby it should add up only the "Mgmt." columns, and only up through the selcted ending period. So even though the worksheet contains data for all the months through the end of 2010, if a user selects Apr 2009 as the ending period, for example, I need SUMIF to add only the "Mgmt." columns from Jan 2008 up to (and including) Apr 2009. FYI - I rigged it so that the month-year labels beyond the selected month-year are automatically shown as being blank, thinking that I could somehow use SUMIF to look for and stop adding every other column when it encountered the first blank month-year label. But no such luck. BTW, I need to solve the aforementioned problem using a worksheet function. I cannot use a macro (for a variety of reasons). Any help would be greatly appreciated. Thanks, Bob |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" | Excel Worksheet Functions | |||
SumIf | Excel Worksheet Functions | |||
Embedding a Sumif in a sumif | Excel Worksheet Functions | |||
nested sumif or sumif with two criteria | Excel Worksheet Functions | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |