floridagunner
Board Regular
- Joined
- Jul 20, 2007
- Messages
- 60
Hello All,
I need help with an IF statement in my VBA code. I cannot use a regular IF formula as I have more than seven conditions. What I need the code to do is return a letter value in cell B2 based on the value in cell S2. So if the value in cell S2 is "M.00441" cell B2 should return A. If the value in cell S2 is "M.00442" cell B2 should return the letter "B". This need to be repeated all the way to "M.00449" in column B
Any help would be appreciated.
I need help with an IF statement in my VBA code. I cannot use a regular IF formula as I have more than seven conditions. What I need the code to do is return a letter value in cell B2 based on the value in cell S2. So if the value in cell S2 is "M.00441" cell B2 should return A. If the value in cell S2 is "M.00442" cell B2 should return the letter "B". This need to be repeated all the way to "M.00449" in column B
Any help would be appreciated.