Hello everybody.
I'm seeking some assistance with a macro I need for a daily report. I need the value of each cell in column A to be compared to a given set of values. If the cell value matches a certain predefined value a specified text value is placed in the corresponding cell in column B. Let me give an example if my description kinds of stinks.
Lets say these are my predefined values and corresponding text
1 dog
2 cat
3 rabbit
4 frop
5 snake
If cell A1 contains the value "3" I would like the text "rabbit" to be entered into cell B1. If cell A6 contains the value "5" I would like the text "snake" to be entered into B6. If cell A8 contains the value "1" I would like the text "dog" to be entered into cell B8. Since I have more than 3 conditions I can't use the conditional formatting option. I need the conditions to be applied to all cells in column A that contain a value.
Thanks for your help!!!! Y'all rock!!!
NORC
I'm seeking some assistance with a macro I need for a daily report. I need the value of each cell in column A to be compared to a given set of values. If the cell value matches a certain predefined value a specified text value is placed in the corresponding cell in column B. Let me give an example if my description kinds of stinks.
Lets say these are my predefined values and corresponding text
1 dog
2 cat
3 rabbit
4 frop
5 snake
If cell A1 contains the value "3" I would like the text "rabbit" to be entered into cell B1. If cell A6 contains the value "5" I would like the text "snake" to be entered into B6. If cell A8 contains the value "1" I would like the text "dog" to be entered into cell B8. Since I have more than 3 conditions I can't use the conditional formatting option. I need the conditions to be applied to all cells in column A that contain a value.
Thanks for your help!!!! Y'all rock!!!
NORC