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 !
 

Some videos you may like

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
7,994
Welcome to the board!

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

gravedodger

New Member
Joined
Feb 7, 2005
Messages
3
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:
 

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
7,994
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...
 

gravedodger

New Member
Joined
Feb 7, 2005
Messages
3

ADVERTISEMENT

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
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
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...
 

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
7,994
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:
 

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
There's an extra parenthesis in there, try this one:

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

Watch MrExcel Video

Forum statistics

Threads
1,123,329
Messages
5,600,988
Members
414,418
Latest member
mightyMagnus

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
Top