Assign A Word To Specific Set Of Text

ExcelRaceRatings

New Member
Joined
Jan 9, 2016
Messages
25
Office Version
  1. 2016
Platform
  1. Windows
Hi there,

Hoping someone can help with the below issue:

I have a set of words in A1:A5

A1 - Apple
A2 - Bacon
A3 - Banana
A4 - Water
A5 - Museli Bar

I want to be able to assign specific words to the above text. For example in B1:B5 i'd like to automate to say:

B1 - Fruit
B2 - Meat
B3 - Fruit
B4 - Drink
B5 - Snack

Hoping someone may be able to assist?

Thanks in advance!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
You need to create a cross-reference table with the relationships you want. For example:

Excel 2010
ABCDE
1AppleFruitAppleFruit
2BaconMeatBananaFruit
3BananaFruitCherryFruit
4WaterDrinkOrangeFruit
5Muesli BarSnackBaconMeat
6HamburgerMeat
7TurkeyMeat
8WaterDrink
9MilkDrink
10GatoradeDrink
11PeanutsSnack
12Muesli BarSnack
13TwinkeeSnack
14

<colgroup><col style="width: 25pxpx"><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
End

Worksheet Formulas
CellFormula
B1=VLOOKUP(A1,$D$1:$E$13,2,FALSE)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



Hope this helps!
 
Upvote 0

Forum statistics

Threads
1,214,958
Messages
6,122,475
Members
449,087
Latest member
RExcelSearch

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