Search word in cell from imported list with name manager

Gylle

New Member
Joined
Apr 10, 2022
Messages
44
Office Version
  1. 365
Platform
  1. Windows
Hi all

Need help to simplfy this:

Right now im importing a workbook into aother workbook and im using this string to search for words that migh be in a cell:

‎=IF(C32="";""; IFERROR(INDEX(findApr1; MATCH(TRUN; ISNUMBER(SEARCH(FindApr; C32));0));" V"))‎

The name manager contains this:
FindApr:
=OFFSET(April!$A$1;1;0;COUNTA(April!$A:$A)-1;1)

FindApr1:
=OFFSET(April!$A$1;1;1;COUNTA(April!$A:$A)-1;1)

Now all this works just fine.

But i would like it to search just for the word and then return just yes or no

Yes i can just put yes or no in the coloum next to the word but there must be an easier way to and skip stright to yes or no.
So i search the first coulmn and return if the word is found.

When i try to modify this it only search the first cell in April sheet

And MATCH is not excat it still returns true even if the word has one or two extra letters to it
excampel: cucumber returns true and cucumbers also returns true.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
I fixed it with this:

formular string:
=IF(C9="";"";IF(MAX(IFERROR(SEARCH(FindApr;$C9);0);0)>0;"P";"V"))

name manager string:
=OFFSET(April!$A$1;1;0;OFFSET(TRUE;INDEX(ISBLANK(April!$A:$A);0;0);0)-2)

Works :)
 
Upvote 0
Solution

Forum statistics

Threads
1,214,918
Messages
6,122,252
Members
449,075
Latest member
staticfluids

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