Lookup Matching Word Within A Sentence

zakmuh

New Member
Joined
Apr 24, 2014
Messages
31
Hi All,

I need help with a formula please. I want find the matching word within a sentence (within one cell).

For example:

From Column A (A4:A7) 'Ninja Electric Hob', I want to lookup the exact matching word (not partial match) 'Ninja' from Column C (C4:C7) and return the exact matching Title in Column E.

I've attached a screenshot from Excel.

Thanks

Zak
 

Attachments

  • 1.JPG
    1.JPG
    40.6 KB · Views: 63

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
My guess is that you have "special characters" in your Column A and/or C, are those values downloaded, copy/pasted from somewhere?
 
Upvote 0
My guess is that you have "special characters" in your Column A and/or C, are those values downloaded, copy/pasted from somewhere?
It works on Excel but not on google sheet.

Yes I copy pasted from another sheet. I'll try typing them and see if it works. Fingers crossed
 
Upvote 0
My guess is that you have "special characters" in your Column A and/or C, are those values downloaded, copy/pasted from somewhere?
It kinda works in sheet but, its not picking up 'Shark'. Please advise
 

Attachments

  • 1C.JPG
    1C.JPG
    40.4 KB · Views: 12
Upvote 0
Even if A6 and C7 is completely deleted, then manually typed over?
 
Upvote 0
Even if A6 and C7 is completely deleted, then manually typed over?
Yeah, even that didnt work

I tried this formula but this is with 'partial match'. Any suggestions?

=unique(if(isblank(A4:A7),"",(IFERROR(VLOOKUP("*"&C4&"*",A$4:A$7,1,FALSE),""))))
 

Attachments

  • 1d.JPG
    1d.JPG
    36.4 KB · Views: 8
Upvote 0
Even if A6 and C7 is completely deleted, then manually typed over?

Yeah, even that didnt work

I tried this formula but this is with 'partial match'. Any suggestions?

=unique(if(isblank(A4:A7),"",(IFERROR(VLOOKUP("*"&C4&"*",A$4:A$7,1,FALSE),""))))

That doesn't sound right, there's something in 1 or both of those cells that's preventing the match.

I don't have the UNIQUE function in 2016, so I can't help with that formula.
 
Upvote 0
Try jtakw's formula like this
Excel Formula:
=ARRAYFORMULA(IFERROR(LOOKUP(2,1/SEARCH(" "&C4&" "," "&A$4:A$7&" "),A$4:A$7),""))
 
Upvote 0
Solution
Try jtakw's formula like this
Excel Formula:
=ARRAYFORMULA(IFERROR(LOOKUP(2,1/SEARCH(" "&C4&" "," "&A$4:A$7&" "),A$4:A$7),""))
Nice one It works!

Thanks a lot Fluff and jktaw

I'll apply this to my work and get back to you

Cheers
 
Upvote 0

Forum statistics

Threads
1,223,601
Messages
6,173,293
Members
452,508
Latest member
SaltySquid

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