Thread: SumIf
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sal
 
Posts: n/a
Default SumIf

Hi and thank you for such a quick response.
What if I need 2 products in the column B, and sometimes 2 products from 2
different companys in Column A?
S

"Duke Carey" wrote:

If col A has the company names, col B has the products, and col C has the
sales volumes, then

=SUMPRODUCT(--(A1:A1000="Swingline"),--(B1:B1000= "Staples"),C1:C1000)

"Sal" wrote:

Can anybody please tell me how I extract data that matches the following:
Need to extract the sum of sales that are in a column that matches certain
criteria.
I have a column with products that are sold by certain companys. Some sell
pens, inks, staples etc. Different companys sell the same products.
I need all the pens and all the staples that are sold by a certain company.
Or maybe two companys that sell pens and paper.
Perhaps ifsum(d2:d150 need pens and paper (maybe from 2 different companys)
if match add the total values from them.
I hope I have made myself clear!!!
Thank you all.
Regards.
S