Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Copying text to new cell

I need to copy varying lenght text strings to new cells but I need to drop
the last 6 right most characters of each string.

Any ideas?

I am working in Excel 2003 SP3

Thanks in advance for any help


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 202
Default Copying text to new cell

if your text is in A1 and you want tyour result in B1, put this in Cell B1

=LEFT(A1,LEN(A1)-6)

"drob2528" wrote:

I need to copy varying lenght text strings to new cells but I need to drop
the last 6 right most characters of each string.

Any ideas?

I am working in Excel 2003 SP3

Thanks in advance for any help


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Copying text to new cell

For data in column A, in B1 enter:

=LEFT(A1,LEN(A1)-6)


--
Gary''s Student - gsnu200777


"drob2528" wrote:

I need to copy varying lenght text strings to new cells but I need to drop
the last 6 right most characters of each string.

Any ideas?

I am working in Excel 2003 SP3

Thanks in advance for any help


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Copying text to new cell

Thanks Dennis, that worked. I knew about LEFT, forgot abot the LEN command.

"Dennis" wrote:

if your text is in A1 and you want tyour result in B1, put this in Cell B1

=LEFT(A1,LEN(A1)-6)

"drob2528" wrote:

I need to copy varying lenght text strings to new cells but I need to drop
the last 6 right most characters of each string.

Any ideas?

I am working in Excel 2003 SP3

Thanks in advance for any help


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Copying text to new cell

Thanks "Gary's" Student, that worked. Knew about LEFT, forgot about the LEN
command.

"Gary''s Student" wrote:

For data in column A, in B1 enter:

=LEFT(A1,LEN(A1)-6)


--
Gary''s Student - gsnu200777


"drob2528" wrote:

I need to copy varying lenght text strings to new cells but I need to drop
the last 6 right most characters of each string.

Any ideas?

I am working in Excel 2003 SP3

Thanks in advance for any 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
Copying Hyperlink to a Cell with Text Kathleen_TX Excel Discussion (Misc queries) 0 March 11th 08 12:43 AM
Copying text to another cell Legallisa - switching from WordPerfect Excel Discussion (Misc queries) 2 March 4th 08 11:31 PM
Copying text from a cell Dave T Excel Worksheet Functions 0 November 12th 07 07:11 PM
copying a cell and changing the formating from number to text Mark Gloves Excel Discussion (Misc queries) 3 June 22nd 07 01:51 AM
Copying Text to another cell/worksheet Lisa Excel Worksheet Functions 3 April 12th 05 07:00 AM


All times are GMT +1. The time now is 09:01 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"