View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Luke M[_4_] Luke M[_4_] is offline
external usenet poster
 
Posts: 457
Default adding figures that match 2 true and 1 false if statement conditio

Perhaps something like this:

=SUMPRODUCT((A2:A10="sid")*(B2:B10="car")*(E2:E10< "Rejected")*(C2:C10))
explained:
=SUMPRODUCT(LogicCheck1 * LogicCheck2 * LogicCheck3 * ValuesToSum)

You're example was a little unclear, as it doesn't clearly say how the 80 is
calculated, and column B has values, not text. Hopefully you can adapt this
formula's pattern to suit.

--
Best Regards,

Luke M
"UKMAN" wrote in message
...
As ever many thanks in advance for any help.

I am struggling to understand how I can say not equal in an if statement
in
excel:(

I need to consildate a table which layout is basically:

Col A Col b Col c Col d Col e
(name Car basic Bonus status)

sid 50 100 10 On hold
mary 20 50 5 approved
sid 40 90 10 rejected
sid 30 35 10 review

As this is to do with a budget the consolidation will use the same
headings
but the status I want to exclude from the calc for each col is
"rejected".

therefore the summary field need to say if Col a = sid, if col b = Car, if
col e not equal "Rejected" then the total car costs for sid is 80. (hope
that makes sence :)

As i mentioned this is a cutdown version of a large sheet.
Cheers UKMAN