you haven't specified anything for the ELSE section of your if statement
If(VendorData.Selected.Result = "Apple", Right(varSerialNumber, Len(varSerialNumber) - 1), Else)
What do you display if VendorData.Selected.Result = "Apple" is not true?
If(VendorData.Selected.Result = "Apple", Right(varSerialNumber, Len(varSerialNumber) - 1), varSerialNumber)
--------------------------------------------------------------------
Please Accept as Solution if this post answered your question so other members can find it. If you found this post helpful consider giving my post a Thumbs Up!