ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I get the last 7 characters of a no. to another column? (https://www.excelbanter.com/excel-worksheet-functions/250258-how-do-i-get-last-7-characters-no-another-column.html)

Jennifer

How do I get the last 7 characters of a no. to another column?
 
I need to get the last 7 characters of a number in one column to another
column so I can sort them. The number is in the format 00-1234-12.

David Biddulph[_2_]

How do I get the last 7 characters of a no. to another column?
 
Is it a number, or is it a text string?
If the latter, try =RIGHT(A2,7)
--
David Biddulph

"Jennifer" <Jennifer @discussions.microsoft.com wrote in message
...
I need to get the last 7 characters of a number in one column to another
column so I can sort them. The number is in the format 00-1234-12.




Jacob Skaria

How do I get the last 7 characters of a no. to another column?
 
Hope your data is in text format and not formatted to display as 00-0000-00
format. If you mean to extract 1234-12 from 00-1234-12; try..

=RIGHT(A1,7)

--
Jacob


"Jennifer" wrote:

I need to get the last 7 characters of a number in one column to another
column so I can sort them. The number is in the format 00-1234-12.



All times are GMT +1. The time now is 05:12 AM.

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