If, Then, Lookup? Excel 2010

ddw23

New Member
Joined
Aug 23, 2010
Messages
1
Hello I have a large worksheet and I need to input category codes in one column based on certain description words in another column. Example: If column D contains "cleaning" then enter "12345" in column B of the same row.
I'll need to change this frequently for the different category codes that need to be input and descriptions I need to search. I would do this in Access but the Administrator and the Assitant Administrator do not like Access. And because this is a large worksheet (and project), they are assisting in putting the proper category code with its associated description. Is there an easy way to do this in Excel? Maybe I should just ask what would be the best way to do this in Excel? :confused:

Thank you all in advance for any help you can provide!
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
make a lookup table

cleaning 12345
dusting 23456
polishing 44444

D1= cleaning in B1 =vlookup (D1, mytable,2)

lookup table must have column 1 in ascending order
 
Upvote 0

Forum statistics

Threads
1,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

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