ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Split or cut a value reverse trunc()??? (https://www.excelbanter.com/excel-discussion-misc-queries/78601-split-cut-value-reverse-trunc.html)

Bobby

Split or cut a value reverse trunc()???
 
Hello,

I have a list of numbers in one column that look like this 06-6102-00-5969 I
want to write a formula in a separate column that will capture only the last
4 digits, 5969. I want to disregard, the first part of the number and only
save the last 4, possible?

JMB

Split or cut a value reverse trunc()???
 
if your column of numbers begin w/cell A1, then in an empty column

=RIGHT(A1, 4)

Then copy down as far as necessary. If you need the values hardcoded so
that you can delete the original data, select this new column and Copy, then
click Edit/Paste Special, select Values.


"Bobby" wrote:

Hello,

I have a list of numbers in one column that look like this 06-6102-00-5969 I
want to write a formula in a separate column that will capture only the last
4 digits, 5969. I want to disregard, the first part of the number and only
save the last 4, possible?



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

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