Home |
Search |
Today's Posts |
#12
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Ron Coderre wrote:
I'm sorry; I wasn't clear. The SUMPRODUCT structure you'll need will be dependent on the kind of data you are testing and the kind of test you want to do. Are we testing if each corresponding cell in Col_Z: . is a number? . is a specific number? . is text? . is specific text? . matches an item in a list? Example: Multiply each cell in X1:X100 by each corresponding cell in Y1:Y100 if the corresponding cell in Z1:Z100 does not equal "Canceled". or..are we testing if any of the above conditions exist anywhere in Col_Z? Example: Multiply each cell in X1:X100 by each corresponding cell in Y1:Y100 BUT only if "Canceled" does NOT exist anywhere in Z1:Z100 In the meantime, perhaps this kind of structu =SUMPRODUCT(--(Z1:Z100<"CANCELED"),--(X1:X100),--(Y1:Y100)) -------------------------- Regards, Ron Microsoft MVP (Excel) (XL2003, Win XP) "plb2862" wrote in message ... Ron Coderre wrote: Can you give some more details about the kind of test you want to perform on Col_Z? -------------------------- Regards, Ron Microsoft MVP (Excel) (XL2003, Win XP) "plb2862" wrote in message ... I've been trying to sum multiple columns where a condition does not exeist in one of the columns. Example: columns x, y & z where z doesn't contain "this condition". I can understand that these work: =SUMPRODUCT((condition1)*(condition2)*(condition3) ) and even =SUMPRODUCT(--(condition1),--(condition2),--(condition3)) but I can't understand how to get to my desired results. Would I write the formula like this? =SUMPRODUCT((condition1)*(condition2)-(condition3)) =SUMPRODUCT(--(condition1),--(condition2),-(condition3)) TIA Thanks for getting back to me. Yes, (condition 3) is not in column z. TIA Thanks again, (condition 3) would be specific text to exclude the record. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
is there a memory plus (like a calculator) fucntion in excel? | Excel Worksheet Functions | |||
understanding dash dash in a excel formula | Excel Worksheet Functions | |||
Recording incidences of results of a RAND() fucntion. | Excel Discussion (Misc queries) | |||
Sumif Fucntion | Excel Worksheet Functions | |||
Sumif Fucntion | Excel Worksheet Functions |