INDEX MATCH MATCH quesiton

Kurt

Well-known Member
Joined
Jul 23, 2002
Messages
1,664
I am trying to get the values of the New Tag Number, Size Range, and Revised Short Description to display when the PIPE SPEC number is selected.

NEW TAG NUMBER SIZE RANGE REVISED SHORT DESCRIPTION PIPE SPEC
V-T10001 1/2-2 CL 125, BRASS, THR'D, BOLTED BONNET, AWWA C500, NSF61 CERTIFIED 1CG1U5
V-A10000 1/2-2 CL 125, DI, THR'D, BOLTED BONNET, AWWA C500, NSF61 CERTIFIED 1CG1U5
V-A10001 1/2-2 CL 125, DI, THR'D, BOLETED BONNET, AWWA C500, NSF61 CERTIFIED 1CG1U5
V-A10203 2-16 CL 150, DI, FF, BOLTED BONNET, AWWA C509/C515, FM APPROVED, NSF61 CERTIFIED 1PD0P1
V-A10203 2-16 CL 150, DI, FF, BOLTED BONNET, AWWA C509/C515, FM APPROVED, NSF61 CERTIFIED 1CS1D1
V-A10203 2-16 CL 150, DI, FF, BOLTED BONNET, AWWA C509/C515, FM APPROVED, NSF61 CERTIFIED 1PD0P2
V-A10301 1/2-2 CL 125, DI, FF, BOLTED BONNET, AWWA C500, NSF61 CERTIFIED 1CG1U5
V-A10304 1/2-2 CL 125, DI, FF, BOLTED BONNET, AWWA C500, NSF61 CERTIFIED 1CG1U5
V-A10302 3-12 CL 125, BRASS, FF, BOLTED BONNET, AWWA C500, NSF61 CERTIFIED 1CG1U5
V-A10305 3-12 CL 125, DI, FF, BOLTED BONNET, AWWA C500, NSF61 CERTIFIED 1CG1U5
V-A10306 3-12 CL 125, DI, FF, BOLTED BONNET, AWWA C500, NSF61 CERTIFIED 1CG1U5
V-A10303 3-12 CL 125, DI, FF AWWA C515, POST INDICATOR VALVE, FM APPROVED, NSF61 CERTIFIED 1CG1U1
V-A10303 3-12 CL 125, DI, FF AWWA C515, POST INDICATOR VALVE, FM APPROVED, NSF61 CERTIFIED 1PD0P1
V-A10303 3-12 CL 125, DI, FF AWWA C515, POST INDICATOR VALVE, FM APPROVED, NSF61 CERTIFIED 1PV0W1
V-B10200 2-24 CL 150, ALLOY B, RF, BOLTED BONNET, API 603 1NH0G1
V-B10202 1/2-1 1/2 CL 150, ALLOY B, RF, BOLTED BONNET, API 603 1NH0G1
V-B10201 2-24 CL 150, ALLOY B, RF, BOLTED BONNET, API 603, LOW E 1SP9P1
V-B10203 1/2-1 1/2 CL 150, ALLOY B, RF, BOLTED BONNET, API 603, LOW E 1SP9P1
V-C00100 1/2-1 1/2 CL 1500, A105, SW, WELDED BONNET, API 602, LOW E 9CS1P1
V-C00100 1/2-1 1/2 CL 1500, A105, SW, WELDED BONNET, API 602, LOW E 9CS1P2

I have named this ValveTable and it starts in column A. Of course the actual table is a lot larger but I shortened it.

How do I get it to display these items using iNDEX(MATCH, MATCH) or is there a better way?

For this example we can display these starting in column H.

Is there a link for Excel Jeanie in English? Every time I click on a link in the forum it appears to be in German.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
I tried installing it even after I closed Excel. I looked in Add Ins and I don't see a thing.
 
Upvote 0
This is part of the Description.

Let Sheet1 house the data.

Let A1 of Sheet2 house 1CG1U5, the search value of interest.

In A2 just enter:

=COUNTIFS(PipeSpec,A1)

In A3:D3 enter the following: Idx, New Tag Number, Size Range, and Revised Short Description

In A4 control+shift+enter, not just enter, and copy down:

=IF(ROWS($A$4:A4)>$A$2,"",SMALL(IF(ISNUMBER(SEARCH($A$1,PipeSpec)),ROW(ValveTable)-ROW(INDEX(ValveTable,1,1))+1),ROWS($A$4:A4)))

In B4 just enter, copy across, and down:

=IF($A4="","",INDEX(ValveTable,$A4,MATCH(B$3,OFFSET(ValveTable,-1,0,1),0)))
 
Upvote 0
Let Sheet1 house the data.

Let A1 of Sheet2 house 1CG1U5, the search value of interest.

In A2 just enter:

=COUNTIFS(PipeSpec,A1)

In A3:D3 enter the following: Idx, New Tag Number, Size Range, and Revised Short Description

In A4 control+shift+enter, not just enter, and copy down:

=IF(ROWS($A$4:A4)>$A$2,"",SMALL(IF(ISNUMBER(SEARCH($A$1,PipeSpec)),ROW(ValveTable)-ROW(INDEX(ValveTable,1,1))+1),ROWS($A$4:A4)))

In B4 just enter, copy across, and down:

=IF($A4="","",INDEX(ValveTable,$A4,MATCH(B$3,OFFSET(ValveTable,-1,0,1),0)))

When I try to enter your formula in B4 I get a #REF error.

What should I check for now?

Thank you for your efforts so far.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,326
Members
452,635
Latest member
laura12345

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