This formula =COUNTIF(Data!A:A,E1-1) is correct if the day of week is Tuesday, Wednesday, Thursday., or Friday, but I need another condition to bring back the counts if it is Monday then the count should be the prior three days counts (Sunday, Saturday, and Friday).
I have created this IF statement below for both conditions, but it is not working correctly:
=IF(F1="Monday",(COUNTIF(Datal!A:A,E1-3)-COUNTIF(Data!A:A,E1-1)),COUNTIF(Data!A:A,E1-1))
It only brought back Sunday count
02/23/15 Monday
Daily Count Daily Amt
4 $217.827.84
I have attach an excel spreadsheet with the data to help.
Thanks
Bookmarks