ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Deleting a consistant portion of all cells in a given column (https://www.excelbanter.com/excel-worksheet-functions/149274-deleting-consistant-portion-all-cells-given-column.html)

clock

Deleting a consistant portion of all cells in a given column
 
I need to remove only the first 10 characters of 40 character cells in a
given column.
What is the formula to produce this result? All cells are currently 40
characters in length.
--
clock

Rick Rothstein \(MVP - VB\)

Deleting a consistant portion of all cells in a given column
 
I need to remove only the first 10 characters of 40 character cells in a
given column.
What is the formula to produce this result? All cells are currently 40
characters in length.


=MID(A2,11,999)

Rick

Rick Rothstein \(MVP - VB\)

Deleting a consistant portion of all cells in a given column
 
I need to remove only the first 10 characters of 40 character cells in a
given column.
What is the formula to produce this result? All cells are currently 40
characters in length.


=MID(A2,11,999)


I realize you said all of your text is 40 characters in length which means
you could have used this instead...

=MID(A2,11,30)

but if your text ever got longer, the extra characters from character
position 41 onward would be truncated away. Using a number larger than you
need will protect against your text ever becoming longer. Another
possibility, which automatically protects against longer text being
introduced later on is this formula...

=REPLACE(A4,1,10,"")

Rick


Naraine Ramkirath

Deleting a consistant portion of all cells in a given column
 
=mid(a2,11,len(a2))

"clock" wrote in message
...
I need to remove only the first 10 characters of 40 character cells in a
given column.
What is the formula to produce this result? All cells are currently 40
characters in length.
--
clock




bj

Deleting a consistant portion of all cells in a given column
 
=right(a1,30)

"clock" wrote:

I need to remove only the first 10 characters of 40 character cells in a
given column.
What is the formula to produce this result? All cells are currently 40
characters in length.
--
clock



All times are GMT +1. The time now is 07:50 AM.

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