Cross-sheet COUNTIFS Formula Not Working as Intended

I am using a helper sheet to calculate projects that are Past Due, Due this Week, and Pending Review per Requestor Email (this email comes via a form).
The formula I am having issues with is the the one I am trying to create to count the number of projects that are due this week. I need to formula to count the rows that match the requestor email, the task is "Project Complete," and the due date is in the next 7 days.
The gist of the formula I have written is: =COUNTIFS({source sheet requestor email}, Email@row, {source sheet task column}, "Project Complete", {source sheet task due column}, < =TODAY(7), {source sheet task due column}, >= Today())
However, this is not bringing back accurate data. See screenshots below:
Helper sheet overview:
Screenshot of the formula:
Brochure Source Sheet:
Can someone please advise what may be going wrong with my formula? Thank you in advance
Best Answer
-
Hello @kelceyg ,
If you're using the "Task Due" column on your source sheet to determine the "next 7 days" criteria, try using the AND function instead.
Try this:
=COUNTIFS({source sheet requestor email}, Email@row, {source sheet task column}, "Project Complete", {source sheet task due column}, AND(@cell< =TODAY(7), @cell >= Today()))
Melissa Yamada
melissa@insightfulsheets.com
Data made simple, spreadsheets reimagined
Answers
-
Hello @kelceyg ,
If you're using the "Task Due" column on your source sheet to determine the "next 7 days" criteria, try using the AND function instead.
Try this:
=COUNTIFS({source sheet requestor email}, Email@row, {source sheet task column}, "Project Complete", {source sheet task due column}, AND(@cell< =TODAY(7), @cell >= Today()))
Melissa Yamada
melissa@insightfulsheets.com
Data made simple, spreadsheets reimagined
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.5K Get Help
- 466 Global Discussions
- 156 Industry Talk
- 510 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 520 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 307 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!