countif multiplication problem

gravedodger

New Member
Joined
Feb 7, 2005
Messages
3
Hi there ... I'm new and just found this forum :p and I've already found some answers to other formula problems but this one still alludes me :x

I need some sort of a CountIf formula to count the number of products in a given column multiplied by the quantity needed of that product.

excuse the next bit of gibberish :LOL:

So cell A:1 reports =COUNTIF(D3:D600,"product") multiplied by the adjacent cell that has the quantity required by the customer. :confused:

clear as mud eh !
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Welcome to the board!

Try = sumproduct(--(D3:D600="product"),E3:E600)
 
Upvote 0
Thanks for the superfast reply Oaktree but no joy .... but maybe I should have added the in the 2 columns there are rows of different products and different quantities for each.

:cry:
 
Upvote 0
This sounds like a job for a pivot table. Can you use a PT to group your items by customer and product and sum by quantity? Or is that not what you're after...
 
Upvote 0
Hold on Sir .... my apologies ... your solution works perfectly Oaktree :LOL: it was my hack-handed typing was the problem. :oops: :unsure:

Cheers buddy :p
 
Upvote 0
Oaktree said:
Welcome to the board!

Try = sumproduct(--(D3:D600="product"),E3:E600)

Why get unnecessarily expensive when

=SUMIF(D3:D600,"product",E3:E600)

will do?

Addendum. Superfluous paren removed...
 
Upvote 0
Aladin Akyurek said:
Oaktree said:
Welcome to the board!

Try = sumproduct(--(D3:D600="product"),E3:E600)

Why get unnecessarily expensive when

=SUMIF(D3:D600,"product"),E3:E600)

will do?

Yeah, yeah. Old habits. :oops:
 
Upvote 0
There's an extra parenthesis in there, try this one:

=SUMIF(D3:D600,"product",E3:E600)
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,385
Members
448,956
Latest member
JPav

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top