Sum of data of a row with criteria of 2 other rows. Excel 2003

htevents

New Member
Joined
Sep 14, 2017
Messages
5
I have a sheet that looks something like this:

A B C D
1 Brand Dealer Type Amount

2 Lesli HD Cake 2

3 Rubro PL Cake 1

4 Zena PL SS 3

5 Zena HD Cake 2

6 Rubro PL SS 12


Totall Cakes HD: 4
Totall Cakes PL: 1
Totall SS HD: 0
Totall SS PL: 15



This is not a Pivot Table

What I want is to know the total amount of a specific type of a specific dealer. So in this example: the totall amount of cakes from dealer "HD" is 4. What formula can I use for this?
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
one way maybe...

Unknown
ABCD
1BrandDealerTypeAmount
2LesliHDCake2
3RubroPLCake1
4ZenaPLSS3
5ZenaHDCake2
6RubroPLSS12
7
8HDPL
9Cake41
10SS015

<tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
B9=SUMPRODUCT(($B$2:$B$6=B$8)*($C$2:$C$6=$A9),$D$2:$D$6)

<tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
Thanks for the try, but it gives me an error when I paste your formula in the cell editor and then press CTRL+SHIFT+ENTER or with a normal ENTER
 
Upvote 0
what specifically is the error you are getting?

the formula wouldn't require control shift enter
 
Upvote 0
I got it:)
This is the formula I needed: =SUMPRODUCT((B2:B6="HD")*(C2:C6="Cake")*D2:D6)

Almost the same as your formula, but I think my version of Excel needed the * instead of the , to multiply by the data in D.
 
Upvote 0

Forum statistics

Threads
1,215,483
Messages
6,125,063
Members
449,206
Latest member
Healthydogs

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