View Single Post
  #2   Report Post  
Don Guillett
 
Posts: n/a
Default

try
=sumproduct((rngb={1,2,3})*rngA)

--
Don Guillett
SalesAid Software

"Dale" wrote in message
...
I have a worksheet with two columns of data, (Earnings, and Category). I
need help in using the SUMIF function or SUMPRODUCT to calculate the
total from column A for a group of specific catergories. (i.e. category
1 or 2 or 3). I need to be able to total the earnings for all records
that are in category 1, 2 or 3 and not in catergory 4 or 6. Using the
below example, I would expect the result to be $48.

Column B Column C
Earnings Category
$10
1
$11 2
$12 1
$15 3
$9
4
$10 6


Thanks for the help