TheKramer79
New Member
- Joined
- Jan 30, 2025
- Messages
- 2
- Office Version
- 365
- Platform
- Windows
Hello all,
I am trying to write a formula to count cells that fall within a date range that can change. I am setting the date range using the following: =CHOOSE(WEEKDAY(A1,1),A1-7,A1-8,A1-9,A1-10,A1-11,A1-12,A1-13) and =CHOOSE(WEEKDAY(A1,1),A1-1,A1-2,A1-3,A1-4,A1-5,A1-6,A1-7) where cell A1 is the user input cell. My problem is, in my COUNTIFS it will not recognize ANY reference to another cell for the date. I have even tried to type a date into another cell, ensuring that the cell is formatted the same as the report I am evaluating, and it still returns zero results. My COUNTIFS formula is =COUNTIFS('Outbound Log'!$C$2:$C$3000,">=1/19/2025",'Outbound Log'!$C$2:$C$3000,"<=1/25/2025",'Outbound Log'!$P$2:$P$3000,"=Shipped") where I need to replace the hard coded dates with cellular references.
I am trying to write a formula to count cells that fall within a date range that can change. I am setting the date range using the following: =CHOOSE(WEEKDAY(A1,1),A1-7,A1-8,A1-9,A1-10,A1-11,A1-12,A1-13) and =CHOOSE(WEEKDAY(A1,1),A1-1,A1-2,A1-3,A1-4,A1-5,A1-6,A1-7) where cell A1 is the user input cell. My problem is, in my COUNTIFS it will not recognize ANY reference to another cell for the date. I have even tried to type a date into another cell, ensuring that the cell is formatted the same as the report I am evaluating, and it still returns zero results. My COUNTIFS formula is =COUNTIFS('Outbound Log'!$C$2:$C$3000,">=1/19/2025",'Outbound Log'!$C$2:$C$3000,"<=1/25/2025",'Outbound Log'!$P$2:$P$3000,"=Shipped") where I need to replace the hard coded dates with cellular references.