MAtch Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to match a word in a cell with other words? Example A1 = Ford Probe, B1 = Ford Escort, C1 = VW Bug A4 match the word probe.
 
Hi
not really sure what you're trying to do. What is your expected result
in cell A4?

--
Regards
Frank Kabel
Frankfurt, Germany

Lee said:
Is there a way to match a word in a cell with other words? Example
A1 = Ford Probe, B1 = Ford Escort, C1 = VW Bug A4 match the word probe.
 
What i would like to see is Ford Probe in cell A4. I need a way to match one word in a cell with multiple words in it.
 
Hi
try the following array formula (entered with CTRL+SHIFT+ENTER):
=INDEX(A1:C1,MATCH(TRUE,ISNUMBER(SEARCH("probe",A1:C1)),0))

This is NOT case sensitive. If you need a case sensitive formula
replace 'SEARCH' with 'FIND'

--
Regards
Frank Kabel
Frankfurt, Germany

Lee said:
What i would like to see is Ford Probe in cell A4. I need a way to
match one word in a cell with multiple words in it.
 
I could not get the formula to work. In my program will have one or two words in the look up area A1 = Ford Probe B1 = Ford Escort C1 VW Bug D1 = Geo. What I would like to happen is A4 to = whats in B4 so if i hade Probe in B4 Then A4 = Ford Probe, Or if B4 = VW then A4 = Vw Bug or if B4 = Geo then A4 = Geo.
 
Hi
try
=INDEX(A1:C1,MATCH(TRUE,ISNUMBER(SEARCH(B4,A1:C1)),0))

entered with CTRL+SHIFT+ENTER as array formula

--
Regards
Frank Kabel
Frankfurt, Germany

Lee said:
I could not get the formula to work. In my program will have one or
two words in the look up area A1 = Ford Probe B1 = Ford Escort C1 VW
Bug D1 = Geo. What I would like to happen is A4 to = whats in B4 so if
i hade Probe in B4 Then A4 = Ford Probe, Or if B4 = VW then A4 = Vw Bug
or if B4 = Geo then A4 = Geo.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top