sum/sumiif on transposed range

Gabie1411

New Member
Joined
Dec 22, 2011
Messages
20
I have a set of data in rows but on the next sheet i need to sum the info depending on the options i have chosen what formula should be used?

example below
Sheet 1

Option price
A 5
B 10
C 20
D 17
E 30

Sheet 2

Option option

A D


i need a formula to show it would be 22 (i.e 5+17)

Thanks
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Excel 2010
AB
1OptionPrice
2A5
3B10
4C20
5D17
6E30
7
8
9
10OptionOption2
11AD
12
1322
Sheet4
Cell Formulas
RangeFormula
A13=SUMPRODUCT(SUMIF($A$2:$A$6,$A$11:$B$11,$B$2:$B$6))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,226,112
Messages
6,189,039
Members
453,520
Latest member
packrat68

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