If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Removing the last 4 characters from each column

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-27-07, 10:39
FarrukhZ FarrukhZ is offline
Registered User
 
Join Date: Jun 2007
Posts: 10
Removing the last 4 characters from each column

Hey,

I have 3000 rows excel spreadsheet that looks something like

12345.dwg
23456.dwg
34567.dwg
45678.dwg... (continues on)

What I want to do is somehow remove the last 4 characters from each entry. Therefore remove the ".dwg" part from each entry. Any ideas?

Thanks
Reply With Quote
  #2 (permalink)  
Old 06-27-07, 10:45
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
How's this?
Code:
=Left(<Value>, Len(<Value>) - 4)
__________________
George
Twitter | Blog
Reply With Quote
  #3 (permalink)  
Old 06-27-07, 11:09
FarrukhZ FarrukhZ is offline
Registered User
 
Join Date: Jun 2007
Posts: 10
How and where do I input that though?
Reply With Quote
  #4 (permalink)  
Old 06-27-07, 11:14
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
In a new column?
See attachment
Attached Files
File Type: zip left.zip (1.9 KB, 259 views)
__________________
George
Twitter | Blog
Reply With Quote
  #5 (permalink)  
Old 06-27-07, 16:06
FarrukhZ FarrukhZ is offline
Registered User
 
Join Date: Jun 2007
Posts: 10
I got it to work... thnx
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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