Search a Row and return the column value

Shockwiz_rentals_UK

New Member
Joined
Jul 24, 2019
Messages
2
Hello

First post so here I go...

I have a customer who has a unique identifier (ACODE) and a list of serial numbers in separate columns.

I want to search for a serial number and then know which customer ACODE owns that serial number.



[TABLE="width: 383"]
<colgroup><col style="text-align: center;"><col style="text-align: center;"><col span="2" style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]ACODE
[/TD]
[TD="align: center"]Serial numbers[/TD]
[TD="align: center"]Serial numbers[/TD]
[TD="align: center"]Serial numbers[/TD]
[/TR]
[TR]
[TD="align: center"]A123160[/TD]
[TD="align: center"]436175[/TD]
[TD="align: center"]436145[/TD]
[TD="align: center"]271432[/TD]
[/TR]
[TR]
[TD="align: center"]A145906[/TD]
[TD="align: center"]699629[/TD]
[TD="align: center"]167777[/TD]
[TD="align: center"]698981[/TD]
[/TR]
[TR]
[TD="align: center"]A145537[/TD]
[TD="align: center"]170820[/TD]
[TD="align: center"]170819[/TD]
[TD="align: center"]168556[/TD]
[/TR]
</tbody>[/TABLE]


Thanks in advance
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
See if you can use this:

=INDEX($A$2:$A$4,AGGREGATE(15,6,(1/($B$2:$D$4=G1)*ROW($B$2:$D$4))-ROW($A$2)+1,1))

Table in A1:D4 and a serial number to search for in G1.
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

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