Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Is this possible?
I want to write a formula that adds the values in column C, if the contents of the corresponding cells in column A are less than a given value AND the contents of the corresponding cells in column B contain a given text string. Eg - Add up column C, if the cell in column A <20072 AND the cell in column B contains "outlet". Yesterday I got some great answers as to how to add up cells based on cells containing a text string rather than equalling it, but now I need to nest that within a sum if argument. The formula I was given yesterday was.... =-SUMPRODUCT(ISNUMBER(SEARCH("outlet",B2:B100))*C2:C 100) Is it possible to nest this within a sum if argument, or should I go about this in a totally different way? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=SUMPRODUCT(--(A2:A100<20072),--(ISNUMBER(SEARCH("outlet",B2:B100))),C2:C100)
-- Regards, Peo Sjoblom "jerrymcm" wrote in message ... Is this possible? I want to write a formula that adds the values in column C, if the contents of the corresponding cells in column A are less than a given value AND the contents of the corresponding cells in column B contain a given text string. Eg - Add up column C, if the cell in column A <20072 AND the cell in column B contains "outlet". Yesterday I got some great answers as to how to add up cells based on cells containing a text string rather than equalling it, but now I need to nest that within a sum if argument. The formula I was given yesterday was.... =-SUMPRODUCT(ISNUMBER(SEARCH("outlet",B2:B100))*C2:C 100) Is it possible to nest this within a sum if argument, or should I go about this in a totally different way? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
WOW.
Thanks. "Peo Sjoblom" wrote: =SUMPRODUCT(--(A2:A100<20072),--(ISNUMBER(SEARCH("outlet",B2:B100))),C2:C100) -- Regards, Peo Sjoblom "jerrymcm" wrote in message ... Is this possible? I want to write a formula that adds the values in column C, if the contents of the corresponding cells in column A are less than a given value AND the contents of the corresponding cells in column B contain a given text string. Eg - Add up column C, if the cell in column A <20072 AND the cell in column B contains "outlet". Yesterday I got some great answers as to how to add up cells based on cells containing a text string rather than equalling it, but now I need to nest that within a sum if argument. The formula I was given yesterday was.... =-SUMPRODUCT(ISNUMBER(SEARCH("outlet",B2:B100))*C2:C 100) Is it possible to nest this within a sum if argument, or should I go about this in a totally different way? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sumif/sumproduct formula help | Excel Worksheet Functions | |||
sumproduct or sumif formula help | Excel Discussion (Misc queries) | |||
Excel : Nesting of functions such as sumproduct and sumif | Excel Worksheet Functions | |||
Nesting of sumif formula. | Excel Worksheet Functions | |||
SumIf/SumProduct Formula Help | Excel Worksheet Functions |