I have a column (Completion Date) and a column (Approved Budget).
I am trying to find the Average Approved Budget for 2021.
This formula works for budgets after 2021.
=AVERAGEIF([Completion Date]:[Completion Date], >DATE(2021, 1, 1), [Approved Budget]:[Approved Budget])
But, I cannot figure out how to get the formula to work between 01/01/2021 and 12/31/2021.
This is what I was trying to use:
=AVERAGEIF([Completion Date]:[Completion Date], AND(>DATE(2021, 1, 1), (<DATE(2021, 12, 31))), [Approved Budget]:[Approved Budget])
But I get the #InvalidOperation Error
HELP!!!!!