I have two sheets. On the current month's data (#2 below), I am trying to pull in previous treatments from the Historical Patient Treatments (#1 below)
- Historical Patient Treatments
- Treatment - Name of Treatment - {Treatment}
- Acct - Customer Account {Acct}
- MRN - Patient Medical Record Number {MRN}
- Newest - A checkbox indicating that this row contains the MAX Treatment-Date for the patient. {Newest}
- Treatment Date {Treatment-Date}
- Current Month Patient Treatments
- Account
- MRN
- TreatDate
The formula that I am trying to build should provide me (from Historical Patient Treatments
- {Treatment}
- matching {Acct} = Account@row
- matching {MRN} = MRN@row
- {Newest} is checked (1)
- {Treatment-Date} is +/- 14 days of the TreatDate@row
I have tried 25 different versions of this formula and keep getting UNPARSEABLE
Thanks in advance