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
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!