Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
For example cell A1 could contain values of 1 through 50.
If the Value is 1, 4, 7, 10 I want to return the value of A in cell A2 If the Value is 2, 5, 8, 11 I want to return the value of B in cell A2 If the Value is 3, 6,9, 12 I want to return the value of C in cell A2 Thanks for your help! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=CHOOSE(A1,"A","B","C","A","B","C","A","B","C","A" ,"B","C")
-- Gary''s Student - gsnu200772 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=CHAR(MOD(A1-1,3)+65)
or if you want to validate between 1-50 =IF(AND(A1=1,A1<=50),CHAR(MOD(A1-1,3)+65),"x") Regards, Peter T "sherlockgr" wrote in message ... For example cell A1 could contain values of 1 through 50. If the Value is 1, 4, 7, 10 I want to return the value of A in cell A2 If the Value is 2, 5, 8, 11 I want to return the value of B in cell A2 If the Value is 3, 6,9, 12 I want to return the value of C in cell A2 Thanks for your help! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to return mulitple corresponding values | Excel Worksheet Functions | |||
How to return mulitple values based on the contents of another cel | Excel Discussion (Misc queries) | |||
Lookup mulitple values and return one | Excel Worksheet Functions | |||
Return entries from one named range based on the contents of another | Excel Worksheet Functions | |||
return mulitple values Help!!! Excel 2003 | Excel Discussion (Misc queries) |