Look up and Sum

dkuyper

New Member
Joined
Jul 29, 2005
Messages
47
I have a matrix of data on which I need to do some look up and sum. I think I need a combination of three formulas and just wondered if there is a simple way of doing this. I need to look up the something in the first row of data to find the correct column (HLOOKUP), then a look up on the first column of data to find the correct row of rows and then sum the relevant rows (SUMIF, VLOOKUP). Hope this makes sense, any help would be greatly appreciated.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Any chance of some sample data and expected results?
 
Upvote 0
I've copied and pasted some data in. This is what the results would look like, so on the reference data in row 1 it would have the DR numbers and in column a would be the BS numbers the DR numbers would only have one instance in row 1 and the BS numbers may occur several times. I'd need to get a total for all instances of the BS numbers. So for DR01.01 BS680 could have four rows containing 25.00 so total 100.00


BS680 BS690 BS870 BS880
DR01.01 100.00 200.00
DR01.02 500.00 250.00 150.00
DR01.03
DR01.04
DR01.05
DR01.06
DR01.07
DR01.08
DR01.09
DR01.10
DR01.11
DR01.12
Hope this helps.
 
Upvote 0

Forum statistics

Threads
1,213,484
Messages
6,113,923
Members
448,533
Latest member
thietbibeboiwasaco

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