Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If I have data in a column, in alpha form, is there any way to automatically
convert that data to numeric values in another column? For example, if cell A1 contains B, A2 contains B, A3 contains A, A4 contains C, how can I get B1 to show 3, B2 to show 3, B3 to show 4, B4 to show 2, etc? (A should =4, B should =3, C should=2). |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In B1, place something like this and paste down the column as needed.
=IF(A1="A",4,IF(A1="B",3,IF(A1="C",2,"Not A, B, or C"))) sherrye123 wrote: If I have data in a column, in alpha form, is there any way to automatically convert that data to numeric values in another column? For example, if cell A1 contains B, A2 contains B, A3 contains A, A4 contains C, how can I get B1 to show 3, B2 to show 3, B3 to show 4, B4 to show 2, etc? (A should =4, B should =3, C should=2). |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Put this in B1
=69-CODE(A1) copy down to B4 -- Regards, Peo Sjoblom "sherrye123" wrote in message ... If I have data in a column, in alpha form, is there any way to automatically convert that data to numeric values in another column? For example, if cell A1 contains B, A2 contains B, A3 contains A, A4 contains C, how can I get B1 to show 3, B2 to show 3, B3 to show 4, B4 to show 2, etc? (A should =4, B should =3, C should=2). |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you - this worked perfectly!
"JW" wrote: In B1, place something like this and paste down the column as needed. =IF(A1="A",4,IF(A1="B",3,IF(A1="C",2,"Not A, B, or C"))) sherrye123 wrote: If I have data in a column, in alpha form, is there any way to automatically convert that data to numeric values in another column? For example, if cell A1 contains B, A2 contains B, A3 contains A, A4 contains C, how can I get B1 to show 3, B2 to show 3, B3 to show 4, B4 to show 2, etc? (A should =4, B should =3, C should=2). |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Converting Letter to Numeric Value | Excel Worksheet Functions | |||
Vlookup using letter and numeric codes | Excel Discussion (Misc queries) | |||
Numeric in Text to convert back to the form of Numeric for VLookup Purposes | Excel Discussion (Misc queries) | |||
How do I assign a numeric value to a text letter | Excel Discussion (Misc queries) | |||
Converting Letter Grades to Numeric | Excel Worksheet Functions |