Look for a specific word in a cell, look at an array and return corresponding number

val4215

New Member
Joined
Aug 15, 2018
Messages
12
Lookine for a formula that would look at a text cell with many identifiers, look for a specific word then look at an array and give the corresponding number that is associated with the word.
Example:

Blue Ford F-150 V8 auto trans

The formula would look for a specific word like Blue then look at an array such as

Blue 1
Red 2
green 3

and return the value 1

I have been using the IF(ISNUMBER(SEARCH("BLUE", C7),1, IF(ISNUMNER(SEARCH.........

But I am going to have many identifiers and want people to be able to add to the list without having to write more formula.

Thanks for any help
 
I am sorry that I wasnt getting what you had instructed in post #9

I have never worked with setting up Name Ranges before and your instructions, to my uninformed eyes looked like as if you were restating what the example I had given in the previous post. After searching for tutorial on Name Ranges it all came together.


Thank you for the guidance and your patience.

You are welcome. Thanks for the update.
 
Upvote 0

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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