Thread: SumIf Formula
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernie Deitrick Bernie Deitrick is offline
external usenet poster
 
Posts: 5,441
Default SumIf Formula


=SUMIF(1:1,"TX",2:2)
=SUMIF(1:1,"NV",2:2)
=SUMIF(1:1,"CA",2:2)

HTH,
Bernie
MS Excel MVP


"Storm" wrote in message
...
Hello there.

I am trying to add a sum range whose headers are equal to a specific one.

Row 1 will have the headers (Texas, NV, CA). Row 2 will have the
corresponding sales for either TX, NV or CA.

How can I say add the values in row 2 only if row 1's header = TX and NV?

Your help is appreciated. Thank you.