Hello. I am trying to write a formula that cross-references a sheet to calculate the sum of a column if the rows in the date column fall within a date range.
Here's a snapshot of the sheet I'm cross-referencing. I am trying to get the sum of "enrollment 1" if the "first visit" is within a certain date range or month (e.g. 4/1/2022 - 4/30/2022). I've tried a few different formulas including the one below, but I keep getting #unparseable.
=SUMIFS({ENROLLMENT 1}:{ENROLLMENT 1}, {FIRST VISIT}:{FIRST VISIT}, AND(@cell>=DATE(2022, 4, 1), @cell<=DATE(2022, 4, 30)