I'm attempting to mark whether a sale is valid based on the following criteria:
- Clinic must have had an AHHI-1 or AHNN-1 tracking code and
- Invoiced Date on the sale must be between the Start and End Date of the event.
I've tried this multiple different ways but keep getting errors. Here is what I have:
=IF(AND([Clinic ID]@row = {Clinic ID}, [Invoiced Date]@row >= {Start Date}, [Invoiced Date]@row <= {End Date}, OR({Code} = "AHHI-1", {Code} = "AHNN-1"), 1, 0))
Validation Sheet
Event Tracking Sheet