I use a scanner to enter DHL, FedEx, & UPS tracking numbers into a spread sheet, and unfortunately the scanner can not be reprogrammed. The scanner picks up DHL and UPS perfectly but FedEx scans an additional 22 numbers to the tracking. To clean it up I use the =Right(A1,LEN(A1)-22) formula, which works great.

Examples:
DHL:5525356833
UPS:1ZW1E4770329477584
FedEx: 1001901781540005309200762204514878

All shipments have a very similar number patterns.

I want to scan the tracking numbers from all 3 examples into the A column and get my intended tracking numbers in the B column. DHL and UPS data would stay the same and I would need to use the formula mentioned above to get the intended outcome for the FedEx trackings.

Is there a formula or certain conditional formatting that will work for what I am trying to accomplish?