Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Lram
 
Posts: n/a
Default 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   Report Post  
Lilliabeth
 
Posts: n/a
Default


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   Report Post  
Lram
 
Posts: n/a
Default


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   Report Post  
Lilliabeth
 
Posts: n/a
Default


=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   Report Post  
Lram
 
Posts: n/a
Default


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   Report Post  
Lilliabeth
 
Posts: n/a
Default


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   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

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   Report Post  
L. Howard Kittle
 
Posts: n/a
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to format only a specific character or number in each cell withina range of cells Colleen Excel Worksheet Functions 1 September 12th 05 05:44 PM
Character limit per cell BrianR Excel Discussion (Misc queries) 3 May 19th 05 04:50 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
HOW to COUNT THE FREQUENCY of specific CHARACTER WITHIN a CELL? Shooting Star Excel Discussion (Misc queries) 1 February 22nd 05 10:15 PM
Searching a cell for a certain character. Matt Excel Worksheet Functions 3 January 3rd 05 09:14 PM


All times are GMT +1. The time now is 10:49 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"