View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Katie Katie is offline
external usenet poster
 
Posts: 130
Default Sumif want to sum a range bigger than one column

act 1 2
act 3 4
hr 5 6
act 7 8

I want to sum all the numbers in both columns B and C if the office code is
"hr"
in otherwords, sumif(a1:a4,"hr",b1:c4) to produce 11 (or 5 + 6).
Excel returns just the first column, or 5.
Do not want to break into two "sumif" statements...too much data. Array??