How would I go about writing a macro can for a number like 950 put in the cell next to it HR and for 970 put in Accounting and so on so forth. I need it to fill in Dept name based on what is in column A.
How the spread sheet is set up
Column A Column B
Dept # Dept Name
950 HR
980
960
970 Accounting
999
Bookmarks