Home |
Search |
Today's Posts |
#11
![]()
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi, AF Jr
If you're not getting a #NAME! error, then Excel 97 has the SUMPRODUCT function. There are 2 variations of the structure. If this one doesn't work: =SUMPRODUCT(($B$21:$B$62="C")*$Q$21:$S$62) Try this one: =SUMPRODUCT(--($B$21:$B$62="C"),$Q$21:$S$62) Does that help? Post back if you have more questions. Oh, and thanks for the feedback on the explanation. Much appreciated. -------------------------- Regards, Ron Microsoft MVP (Excel) (XL2003, Win XP) "AFJr" wrote in message ... Hi Ron, I wanted to thank you for your GREAT explanation: ********************************** We'll exploit that feature in SUMPRODUCT..... In this formula: =SUMPRODUCT((A2:A10="Joel")*B2:C10) This expression: (A2:A10="Joel")....returns a series of TRUE/FALSE values depending on whether the cell equals "Joel" or not. and B2:C10 contains NUMBERS! SO.. Each TRUE when multiplied by its associated NUMBER returns that number. Each FALSE when multiplied by its associated NUMBER returns converts to a zero...0 x number = 0. SUMPRODUCT returns the sum of all those results which is the sum of all combinations where Col_A="Joel" My question is this, I'm using Excel97, does this function work in this version? My formula =SUMPRODUCT(($B$21:$B$62="C")*$Q$21:$S$62) is not working. I thought I understood exactly what you were saying, maybe not..... -- TIA AFJr |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sumif with multiple columns in sum_range | Excel Discussion (Misc queries) | |||
Sum if -- Sum_range across multiple columns | Excel Discussion (Misc queries) | |||
SUMIF - Sum_Range is misleading | Excel Worksheet Functions | |||
SUMIF with the Sum_range across several colums | Excel Worksheet Functions | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |