I have a spreadsheet that is counting due dates by specific date. In column E, I have the original "Due Date". Column F could contain a "Revised Due Date" only if I have to revise the due date. I'm keeping them in separate columns because we don't want to lose track of what the original due date was, and we do want data that shows if we had to revise the due date.
I'm trying to come up with a formula that looks at both cells on the same row in Column E and Column F, and if either one contains a specific date, it would count it.
For example, if I'm trying to count the number of instances I have a due date of January 4, 2021, and the date of January 4, 2021 exists in Column E/line 11, and no date exists in Column F/line 11, it should be counted. However, if a different date exists in Column E/line 11 but the January 4, 2021 date exists in Column F/line 11, it should still be counted.
Right now, the formula I have is:
=COUNTIFS(Sheet1!F11,"",Sheet1!E11,DATE(2021,1,4))
In this scenario, it's counting 1 if Cell E11 has a date of January 4, 2021 and Cell F11 is empty. The logical thought I had was that where I have the criteria for empty (""), I replace it with the 1/4/2021 date instead. But then it's only yielding a count if BOTH cells contain that date, and I want it to count if EITHER cell contains that date. There will not be an instance where both cells contain the same date. So it should yield a count of 1 if either the value in column E or the value in column F is the specified date.
I cannot figure out how to write that formula. I can't figure a way to do a COUNTIFS(OR formula. Anyone know what will work?
Thanks in advance!
Bookmarks