What should be the formula for this?
Need to know the formula for the above challenge
You can try this validation rule :
AND( NOT (ISBLANK( Account.Id ) ), MailingPostalCode <> Account.ShippingPostalCode )
Kindly mark as best answer if it will help you.
I am glad that it helped you.