hi i want to create a macro but im not too sure how for i am quite new in Excel.
i want this macro to read a value from a cell and from there return a value that i have set to.
say,
if A2 = LX1
return 6;
else if A2 = UG2,
return 12;
.....
i have arnd 30 values here that return either a 3, 6, 9 or 12.
any ideas how to start?
is a switch table more accomodating?
and furthermore LX1 may have 2 more possibilities that its either a 9 or 12.
so like
if A2 = LX1,
it can either return a 9 or 12.
how? help!
Bookmarks