ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   selective text (https://www.excelbanter.com/excel-discussion-misc-queries/240216-selective-text.html)

Graham

selective text
 
Hi i have a text string of 17 characters and I would like to only select the
the first six characters starting on the right hand side eg
MALAC53JJA1234567, i want to display 234567. Hope it can be done ,thanks
--
Eager to learn !

Jacob Skaria

selective text
 
With your text in cell A1 try the below formula

=RIGHT(A1,7)

to convert to a number
=--RIGHT(A1,7)


If this post helps click Yes
---------------
Jacob Skaria


"Graham" wrote:

Hi i have a text string of 17 characters and I would like to only select the
the first six characters starting on the right hand side eg
MALAC53JJA1234567, i want to display 234567. Hope it can be done ,thanks
--
Eager to learn !


Rick Rothstein

selective text
 
Small correction to Jacob's formulas.... the 7's should be a 6's.

--
Rick (MVP - Excel)


"Jacob Skaria" wrote in message
...
With your text in cell A1 try the below formula

=RIGHT(A1,7)

to convert to a number
=--RIGHT(A1,7)


If this post helps click Yes
---------------
Jacob Skaria


"Graham" wrote:

Hi i have a text string of 17 characters and I would like to only select
the
the first six characters starting on the right hand side eg
MALAC53JJA1234567, i want to display 234567. Hope it can be done ,thanks
--
Eager to learn !



Jacob Skaria

selective text
 
Thanks Rick..

"Rick Rothstein" wrote:

Small correction to Jacob's formulas.... the 7's should be a 6's.

--
Rick (MVP - Excel)


"Jacob Skaria" wrote in message
...
With your text in cell A1 try the below formula

=RIGHT(A1,7)

to convert to a number
=--RIGHT(A1,7)


If this post helps click Yes
---------------
Jacob Skaria


"Graham" wrote:

Hi i have a text string of 17 characters and I would like to only select
the
the first six characters starting on the right hand side eg
MALAC53JJA1234567, i want to display 234567. Hope it can be done ,thanks
--
Eager to learn !





All times are GMT +1. The time now is 02:14 PM.

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