Word within a Column

austinandreikurt

Board Regular
Joined
Aug 25, 2020
Messages
91
Office Version
  1. 2016
Platform
  1. Windows
Hi, I would like to have a search formula (not vba or query) that searches a word or string of words not only within a cell but within a range of cells or columns. Like I have the word "apple" in A1, I want it to be search if there's a matching search value in Column D and give me the row number as a result. Say it is in D88, then the formula result will be 88. I need it to get the closest match of names due to misspelling or incomplete names. If you have other suggestion, then it is very welcome. But I only need a formula or CSE formula. Thanks in advance!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Something lie this:

varios 17sep2020.xlsm
ABCDE
1apple
25
3
4
5red apple
6
7
Sheet2
Cell Formulas
RangeFormula
A2A2=MATCH("*"&A1&"*",D:D,0)
 
Upvote 0
Ah yes, that works! I also noticed that the reason why my searches were not working properly is due to non-printable characters which are not either CHAR(160) and CHAR(32). Now I put the TRIM(CLEAN()) formula inside the MATCH. Thanks!
 
Upvote 0
I'm glad to help you. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,945
Messages
6,122,397
Members
449,081
Latest member
JAMES KECULAH

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