How to get Workday Function to work with Countifs and Cross-Sheet Reference
I'm attempting to count number of blank values that appear in the sheet 7 reference column, where there is a match on the manager, and the next business day from the Sheet 3 reference column is prior to today.
This is the formula I'm using:
=COUNTIFS({Sheet 7}, "", {Sheet 2}, [Manager]@row, WORKDAY({Sheet 3}, 1) <TODAY())
For instance, if the value in the date column in the Sheet 3 reference is 4/14/23, the Workday +1 value would be 4/17/23 and the WORKDAY({Sheet 3}, 1) <TODAY()) would be true.
The Sheet 3 reference is defined as a Date column.
I get Invalid Data Type as the error. Is what I'm trying to do achievable?
Thanks in advance.
Best Answer
-
Try this:
=COUNTIFS({Sheet 7}, "", {Sheet 2}, [Manager]@row, {Sheet 3}, WORKDAY(@cell, 1) <TODAY())
Answers
-
Try this:
=COUNTIFS({Sheet 7}, "", {Sheet 2}, [Manager]@row, {Sheet 3}, WORKDAY(@cell, 1) <TODAY())
-
Hi Paul. That worked! Thank you so much for the quick reply. Have a great day!
Thanks
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!