fingermouse
Board Regular
- Joined
- Dec 13, 2013
- Messages
- 117
Hi,
I have a problem which I cant solve, will do my best to explain. I think I need something called an index match formula? but I cant get it to work.
I have two excel spreadsheet tabs. Tab 1 contains the data I want to extract, tab 2 will contain the formula
The table below is an extract of tab 1. There are multiple rows for each ref no, of which I have approx 40.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Ref no[/TD]
[TD][TABLE="width: 129"]
<tbody>[TR]
[TD]EHO[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD]HGBI[/TD]
[TD]LF[/TD]
[/TR]
[TR]
[TD]NIRHI00004365[/TD]
[TD]76,130[/TD]
[TD]77,060[/TD]
[TD]35.64[/TD]
[/TR]
[TR]
[TD]NIRHI00004365[/TD]
[TD]50,236[/TD]
[TD]51,430[/TD]
[TD]24.05[/TD]
[/TR]
[TR]
[TD]NIRHI00004365[/TD]
[TD]50,247[/TD]
[TD]79,180[/TD]
[TD]36.22[/TD]
[/TR]
</tbody>[/TABLE]
Tab 2 is where I want to have my formula.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Ref no[/TD]
[TD]EHO[/TD]
[TD]Lookup for HGBI in this column cells[/TD]
[TD]Lookup for LF in this column cells[/TD]
[/TR]
[TR]
[TD]NIRHI00004365[/TD]
[TD]76,130[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]NIRHI00004365[/TD]
[TD]50,236[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]NIRHI00004365[/TD]
[TD]50,247[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
What I essentially want to do is pull through both the 'HGBI' and 'LF' values from tab 1 where there is a corresponding 'Ref no' AND 'Eligible Heat Output' value in tab 2. Does that make sense? I tried a VLOOKUP but it only pulls out the first value it finds. I have tried reading tutorials on this but find it confusing. If anyone can provide the formula that would be much appreciated. Thanks, Cal.
I have a problem which I cant solve, will do my best to explain. I think I need something called an index match formula? but I cant get it to work.
I have two excel spreadsheet tabs. Tab 1 contains the data I want to extract, tab 2 will contain the formula
The table below is an extract of tab 1. There are multiple rows for each ref no, of which I have approx 40.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Ref no[/TD]
[TD][TABLE="width: 129"]
<tbody>[TR]
[TD]EHO[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[TD]HGBI[/TD]
[TD]LF[/TD]
[/TR]
[TR]
[TD]NIRHI00004365[/TD]
[TD]76,130[/TD]
[TD]77,060[/TD]
[TD]35.64[/TD]
[/TR]
[TR]
[TD]NIRHI00004365[/TD]
[TD]50,236[/TD]
[TD]51,430[/TD]
[TD]24.05[/TD]
[/TR]
[TR]
[TD]NIRHI00004365[/TD]
[TD]50,247[/TD]
[TD]79,180[/TD]
[TD]36.22[/TD]
[/TR]
</tbody>[/TABLE]
Tab 2 is where I want to have my formula.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Ref no[/TD]
[TD]EHO[/TD]
[TD]Lookup for HGBI in this column cells[/TD]
[TD]Lookup for LF in this column cells[/TD]
[/TR]
[TR]
[TD]NIRHI00004365[/TD]
[TD]76,130[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]NIRHI00004365[/TD]
[TD]50,236[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]NIRHI00004365[/TD]
[TD]50,247[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
What I essentially want to do is pull through both the 'HGBI' and 'LF' values from tab 1 where there is a corresponding 'Ref no' AND 'Eligible Heat Output' value in tab 2. Does that make sense? I tried a VLOOKUP but it only pulls out the first value it finds. I have tried reading tutorials on this but find it confusing. If anyone can provide the formula that would be much appreciated. Thanks, Cal.