Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Parsing a alpha character out of a cell
I have a spreadsheet containing weather data - the cells containing windspeed and wind direction contain a data flag in addition to the numeric value, example 90S for wind direction and 2.1S for wind speed. I wish to get rid of the alpha character so I can work with the numeric values. How do I parse each cell to remove the alpha character(s)? -- Lram ------------------------------------------------------------------------ Lram's Profile: http://www.excelforum.com/member.php...nfo&userid=238 View this thread: http://www.excelforum.com/showthread...hreadid=476500 |
#2
|
|||
|
|||
Is it always one character? Is the one character always at the right (end) of the entry? -- Lilliabeth ------------------------------------------------------------------------ Lilliabeth's Profile: http://www.excelforum.com/member.php...o&userid=27741 View this thread: http://www.excelforum.com/showthread...hreadid=476500 |
#3
|
|||
|
|||
Yes, it is always a single alpha character (Caps), and always appended to the numeric value as 99X. -- Lram ------------------------------------------------------------------------ Lram's Profile: http://www.excelforum.com/member.php...nfo&userid=238 View this thread: http://www.excelforum.com/showthread...hreadid=476500 |
#4
|
|||
|
|||
=left(a1,len(a1)-1) -- Lilliabeth ------------------------------------------------------------------------ Lilliabeth's Profile: http://www.excelforum.com/member.php...o&userid=27741 View this thread: http://www.excelforum.com/showthread...hreadid=476500 |
#5
|
|||
|
|||
Lilllabeth, Thanks, that works great! Now I must read up on that function. -- Lram ------------------------------------------------------------------------ Lram's Profile: http://www.excelforum.com/member.php...nfo&userid=238 View this thread: http://www.excelforum.com/showthread...hreadid=476500 |
#6
|
|||
|
|||
Great! Read up on both functions - Left and Len. Look at the Right function, too. -- Lilliabeth ------------------------------------------------------------------------ Lilliabeth's Profile: http://www.excelforum.com/member.php...o&userid=27741 View this thread: http://www.excelforum.com/showthread...hreadid=476500 |
#7
|
|||
|
|||
On Sat, 15 Oct 2005 10:53:43 -0500, Lram
wrote: I have a spreadsheet containing weather data - the cells containing windspeed and wind direction contain a data flag in addition to the numeric value, example 90S for wind direction and 2.1S for wind speed. I wish to get rid of the alpha character so I can work with the numeric values. How do I parse each cell to remove the alpha character(s)? If the data flag is always there, and always a single character, then: =--LEFT(A1, LEN(A1)-1) --ron |
#8
|
|||
|
|||
Parsing a alpha character out of a cell
If the values need to be numeric, you may want to do this to convert back to
numbers. =LEFT(A1,LEN(A1)-1)*1 HTH Regards, Howard "Lram" wrote in message ... I have a spreadsheet containing weather data - the cells containing windspeed and wind direction contain a data flag in addition to the numeric value, example 90S for wind direction and 2.1S for wind speed. I wish to get rid of the alpha character so I can work with the numeric values. How do I parse each cell to remove the alpha character(s)? -- Lram ------------------------------------------------------------------------ Lram's Profile: http://www.excelforum.com/member.php...nfo&userid=238 View this thread: http://www.excelforum.com/showthread...hreadid=476500 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how to format only a specific character or number in each cell withina range of cells | Excel Worksheet Functions | |||
Character limit per cell | Excel Discussion (Misc queries) | |||
up to 7 functions? | Excel Worksheet Functions | |||
HOW to COUNT THE FREQUENCY of specific CHARACTER WITHIN a CELL? | Excel Discussion (Misc queries) | |||
Searching a cell for a certain character. | Excel Worksheet Functions |