Search text in range and return value in same row.

chrisb182

New Member
Joined
Mar 3, 2022
Messages
35
Office Version
  1. 2016
Platform
  1. Windows
Good Afternoon,

I've searched the forum to try and find the answer for a while but cannot seem to find one. I'm pretty sure there is a really easy solution for this.

Basically, I want to search a range for a specific text and for it to return the value in the corresponding row.

For example, as shown in the attached screenshot I would like:
- a formula in F4
- that would look up the text from E4
- in the range C4:C9
- and for it to return the relevant text in range B4:B9

I hope that makes sense.

Cheers,

Chris
 

Attachments

  • Mr Excel Question.png
    Mr Excel Question.png
    13.9 KB · Views: 16

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.
Try
Excel Formula:
=INDEX(B4:B9,,MATCH(E4&" *",C4:C9&" ",0))
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,750
Messages
6,126,665
Members
449,326
Latest member
asp123

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