Formula needed to extract numbers from the right, varying lengths

Caleigh

New Member
Joined
Sep 29, 2021
Messages
2
Office Version
  1. 2013
Platform
  1. Windows
Hi Everyone, I've searched for different versions of a formula that can assist with this, but cannot seem to find anything that will work.
I have varying lengths of numbers in a column, and I need to move them to a new column in a specific format. The problem I'm running into is because the lengths of the data will change, so the only format I can rely on is if I begin the extraction from the right and not the left.

The last 7 numbers will be consistent with what I need (and then the first number should be whatever is leftover) but since the lengths of the original numbers can change (there can be as many as 12 or 15), I'm not having any luck with a MID formula. Flash fill works, but only after entering a few manually, and I'm trying to automate this as much as possible.

I appreciate any help with a formula that will pull from the right instead of the left, because I'm at a loss.

thank you,

1632949100645.png
 

Attachments

  • 1632949056939.png
    1632949056939.png
    9.1 KB · Views: 13

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,224,823
Messages
6,181,179
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top