Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default remove unwanted text after the 7th position

I have a range of cells, all consistent with the first 7 positions. I want
to remove everything to the right of the 7th position. I've tried various
special characters in 'edit/replace' to no avail.

thanks for your help!


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 903
Default remove unwanted text after the 7th position

Hi George,
If all in a column you can use
Data, Test to columns, fixed length,
throw everything after the 7th position away.

test on a copy of the worksheet.
---
HTH,
David McRitchie, Microsoft MVP - Excel
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"George P" wrote in message ...
I have a range of cells, all consistent with the first 7 positions. I want
to remove everything to the right of the 7th position. I've tried various
special characters in 'edit/replace' to no avail.

thanks for your help!




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default remove unwanted text after the 7th position

=left(cell,7)

use a helper column, maybe copying the results back afterwards

Steve


On Wed, 24 Jan 2007 23:07:12 -0000, George P
wrote:

I have a range of cells, all consistent with the first 7 positions. I
want
to remove everything to the right of the 7th position. I've tried
various
special characters in 'edit/replace' to no avail.

thanks for your help!

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 do I remove a space infront of text in a cell? GAC Excel Discussion (Misc queries) 7 October 10th 06 01:41 AM
find number position in excel text cell Don Excel Discussion (Misc queries) 5 April 7th 06 09:34 PM
XL97: Position text boxes (or data labels) w/out VBA LeAnne Charts and Charting in Excel 1 December 1st 05 09:07 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
Unwanted blank line in cell with wrapped text bbl Excel Discussion (Misc queries) 2 February 11th 05 09:29 PM


All times are GMT +1. The time now is 07:30 PM.

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"