View Single Post
  #2   Report Post  
Old April 4th 05, 10:01 PM
Duke Carey
 
Posts: n/a
Default

Try


=sumproduct(--(A2:A100="Bob"),--(B2:B100="Red"),C2:C100)


"dshigley" wrote:

Say for example I have three columns; the first is a name column, second is
color and third is cost. I am trying to create a formula that will sum all
cells in the third column (cost) that matches the criteria of the name "Bob"
in column A AND "Red" in column B. I know I am close and I know I can use
the "*" somehow but I can't figure out the syntax. Any help is appreciated.