Muthukrishnan V
Active Member
- Joined
- May 29, 2008
- Messages
- 276
- Office Version
- 365
- Platform
- Windows
Office 365
Average for Month
Cell G9 contains Jun-2020 in MMM-YYYY
Column A contains dates in DD-MM-YYYY
Column B contains amount in whole number
To find out average for the month, I use the formula in H9:
=Averageifs(B:B,A:A,">="&G9,A:A,"<="&G9,0))
The result is #DIV/! since Jun-2020 onwards are future months.
Kindly advise me formula to show the average as blank for future months
Thanking you
Average for Month
Cell G9 contains Jun-2020 in MMM-YYYY
Column A contains dates in DD-MM-YYYY
Column B contains amount in whole number
To find out average for the month, I use the formula in H9:
=Averageifs(B:B,A:A,">="&G9,A:A,"<="&G9,0))
The result is #DIV/! since Jun-2020 onwards are future months.
Kindly advise me formula to show the average as blank for future months
Thanking you