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

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,357
Office Version
  1. 365
Platform
  1. Windows
Any chance of some sample data and expected results?
 

dkuyper

New Member
Joined
Jul 29, 2005
Messages
47
Sorry I'm not sure how to get copies of the spreadsheet on to the site.[/img]
 

dkuyper

New Member
Joined
Jul 29, 2005
Messages
47
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.
 

Forum statistics

Threads
1,181,647
Messages
5,931,208
Members
436,784
Latest member
amuljono

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