Search Column for Specific Text

kalebsmith10

New Member
Joined
Mar 2, 2016
Messages
2
Hi,

I am looking for a formula that will be on sheet "1N - Rack 3 - Generic". I want it to search in sheet "1 South". I want it to search the entire M Column for a "Specific Text". There should only be 1 match. When it finds this match, I want to copy the text from Column A on Sheet "1 South" to the cell with the formula on Sheet "1N - Rack 3 - Generic".

I know this sounds really confusing so I attached screen shots of what I'm trying to do. Basically I'm looking for a formula that will auto fill the Rack page with the corresponding device. So, if the screenshots you can see the formula I am currently using to fill B4. It's looking for "R3-P6/01" and then returning the value of Column A. This does work, however, I have to specify the exact cell instead of it searching the entire row for that value.

attachment.php

attachment.php
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Try this:

=INDEX('1South'!$A$1:$M$10,MATCH("C",'1South'!$M$1:$M$10,0),1)

Where A1:M10 is your entire range in 1South, M1:M10 should be the same size vertically. Replace "C" with whatever text you're searching for, or alternatively replace it with an absolute reference to a cell containing the text you're after. Let me know if that works :)
 
Upvote 0
I just figured it out and basically used what you stated.

=INDEX('1 South'!A3:A500,MATCH("*R3-P6/02*",'1 South'!M3:M500,))

Thanks!
 
Upvote 0

Forum statistics

Threads
1,214,973
Messages
6,122,534
Members
449,088
Latest member
RandomExceller01

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