#1   Report Post  
jeremy via OfficeKB.com
 
Posts: n/a
Default Delete all letters?

I have project numbers that also have letters. How would I assign all
project numbers less than 4000 the leter "S"--here's a sample of the
column. The numbers great than 4000 get one of four letter categories...

4110
1022
SK00
KR00
WS00
4093
4120
4121
4116
4093I
4093HB
0918
1035

--
Message posted via http://www.officekb.com
  #2   Report Post  
bigwheel
 
Posts: n/a
Default

In a spare column enter the code =IF(A1<4000,A1&"S",A1) and copy it down as
far as you need.

"jeremy via OfficeKB.com" wrote:

I have project numbers that also have letters. How would I assign all
project numbers less than 4000 the leter "S"--here's a sample of the
column. The numbers great than 4000 get one of four letter categories...

4110
1022
SK00
KR00
WS00
4093
4120
4121
4116
4093I
4093HB
0918
1035

--
Message posted via http://www.officekb.com

  #4   Report Post  
CLR
 
Posts: n/a
Default

Maybe put this in B1 and copy down..........

=IF(ISERR((RIGHT(A1,4)*1)),A1,IF((RIGHT(A1,4)*1)<4 000,A1&"S",A1))

It will turn 0918 into 0918S
It will turn 1022 and 1035 into 1022S ad 1035S
It will leave everything else in the sample column as-is.....

Vaya con Dios,
Chuck, CABGx3



"jeremy via OfficeKB.com" wrote in message
...
I have project numbers that also have letters. How would I assign all
project numbers less than 4000 the leter "S"--here's a sample of the
column. The numbers great than 4000 get one of four letter categories...

4110
1022
SK00
KR00
WS00
4093
4120
4121
4116
4093I
4093HB
0918
1035

--
Message posted via http://www.officekb.com



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
Counting the number of letters in a cell beefycj5 Excel Discussion (Misc queries) 2 June 1st 05 08:28 PM
How do I sort letters before numbers in Excel? RiverGirl Excel Discussion (Misc queries) 4 May 27th 05 04:09 PM
How to delete rows when List toolbar's "delete" isnt highlighted? Linda Excel Worksheet Functions 1 May 26th 05 08:39 PM
How to delete blank rows John Mansfield Excel Discussion (Misc queries) 3 April 27th 05 11:48 PM
Delete space Mohamed Excel Discussion (Misc queries) 3 March 8th 05 03:32 PM


All times are GMT +1. The time now is 09:10 AM.

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

About Us

"It's about Microsoft Excel"