Excel Identifier

geoffsmile

New Member
Joined
Apr 24, 2014
Messages
7
Hello Everyone,

I want to learn if there is a formula that can search and provides a result, according to the set result that involves nesting. As seen on the table, I have a list of Merchant Tracking Numbers. All distinct on each way. UPS always starts its tracking number as "1Z" and USPS as "940". Please help me correct the formula which will help identify the tracking numbers on column "A". Let me know what am I doing wrong. :(


Merchant Tracking NumbersTrue CourierFormula For IndentifiyingFormula Result
1ZWF00980394816384UPS=IF(SEARCH("1Z",A2),"UPS",IF(FIND("940",A2),"USPS","FedEx Ground"))
UPS
9400115901195256406673USPS=IF(SEARCH("1Z",A3),"UPS",IF(FIND("940",A3),"USPS","FedEx Ground"))
#VALUE!
604209703070FedEx=IF(SEARCH("1Z",A4),"UPS",IF(FIND("940",A4),"USPS","FedEx Ground"))
#VALUE!

<tbody>
</tbody>

Appreciate the Help! Cheers! :biggrin:
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
As long as those will be the only three carriers, and as long as the shipment is not one of those hybrids where the UPS or FedEx starts the package and the US Post Office completes the delivery, then this formula should work...

=IF(LEFT(A1,2)="1Z","UPS",IF(LEFT(A1,3)="940","USPS","FedEx"))
 
Upvote 0

Excel 2012
AB
1Merchant Tracking NumbersFormula Result
21ZWF00980394816384UPS
39400115901195256406673USPS
4604209703070FedEx
Sheet1
Cell Formulas
RangeFormula
B2=IF(LEFT(A2,2)="1Z","UPS",IF(LEFT(A2,3)="940","USPS","FedEx"))
 
Upvote 0
Worksheet Formulas
CellFormula
B2=IF(LEFT(A2,2)="1Z","UPS",IF(LEFT(A2,3)="940","USPS","FedEx"))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
Something is wrong with your formula (see where I highlighted it in red). It looks like you were going for what I posted in Message #2.
 
Upvote 0
Actually, I'm not seeing any difference in our formulas. It might be poor eye-sight, or encroaching old-age on my part, bUT anyway .. Happy 4th!! Jim
 
Upvote 0

Forum statistics

Threads
1,215,024
Messages
6,122,729
Members
449,093
Latest member
Mnur

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