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.



ACODE
Serial numbersSerial numbersSerial numbers
A123160436175436145271432
A145906699629167777698981
A145537170820170819168556

<colgroup><col style="text-align: center;"><col style="text-align: center;"><col span="2" style="text-align: center;"></colgroup><tbody>
</tbody>


Thanks in advance
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
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,214,788
Messages
6,121,575
Members
449,039
Latest member
Arbind kumar

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