Dear Ashley Albright,
Good day! Thank you for posting to Microsoft Community. We are happy to help you.
As per your description, it seems that you are trying to use column validation to ensure the column starts with "XX" or "YY" in SharePoint list.
If the understanding above is right, please refer to below formula and hope it can help.
=OR(LEFT(ExampleColumn,2)="XX",LEFT(ExampleColumn,2)="YY")
And below attached are the screenshot of our test for your reference:
If the understanding above is not consistent with yours, please feel free to post back and point that.
Your understanding and patience will be highly appreciated. We hope that you are keeping safe and well!
Thanks for your cooperation.
Sincerely,
Rhoda | Microsoft Community Moderator