View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
jerrymcm jerrymcm is offline
external usenet poster
 
Posts: 5
Default Nesting a sumproduct formula within a sumif formula.

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?