ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Copying text to new cell (https://www.excelbanter.com/excel-worksheet-functions/182558-copying-text-new-cell.html)

drob2528

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



dennis

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



Gary''s Student

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



drob2528

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



drob2528

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




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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com