Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dave Bailey
 
Posts: n/a
Default How do I search for text within text?

How do you search for text within text and then when you find a match, return
the information in the next column?

I usually use the functions index(match) to do the above. Unfortunately,
the function only works when there is a identical match.

So, I need to find 765849 in 111765849111 and then return the next column.

Thanks, I really appreciate the help!

Best regards,

Dave
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

If the values were really text, you could use wildcards
with either Vlookup or Match. However, neither seems to
work with numeric numbers. So, try this array formula
entered with the key combo of CTRL,SHIFT,ENTER:

With the lookup value in C1: 765849

=INDEX(B1:B10,MATCH(TRUE,ISNUMBER(SEARCH(C1,A1:A10 )),0))

Biff

-----Original Message-----
How do you search for text within text and then when you

find a match, return
the information in the next column?

I usually use the functions index(match) to do the

above. Unfortunately,
the function only works when there is a identical match.

So, I need to find 765849 in 111765849111 and then return

the next column.

Thanks, I really appreciate the help!

Best regards,

Dave
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort or Filter option? Mcobra41 Excel Worksheet Functions 3 February 23rd 05 07:22 PM
search for same text LinzNac Excel Worksheet Functions 2 February 9th 05 07:54 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
search multiple worksheets name with common text and process using mango Excel Worksheet Functions 1 December 22nd 04 02:11 PM
Newbie: How to search a text string from right Frank Krogh Excel Worksheet Functions 5 November 26th 04 07:16 PM


All times are GMT +1. The time now is 02:57 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"