Using =COUNTIF Function in Sheet Summary returning #INVALID DATA TYPE
Hi,
I am trying to create a formula that will count the # of project that are ">90" days out and "<=90" days out, then also projects that are "<=-90" days past complete date and ">-90" days out but it is returning an error #INVALID DATA TYPE error for sheet summary field (see screenshot below).
I am using the "# of days to finish Date" column that is counting the days with the formula as follows: "=IF(Finish@row > TODAY(), NETWORKDAYS(TODAY(), Finish@row), -1 * NETWORKDAYS(Finish@row, TODAY()))"
Can anyone provide some insight as to why the sheet summary field is not counting the # of projects that meet the "=COUNTIF" criteria?
Best Answer
-
Hi Gabe,
It is because your rows that have no dates are showing #INVALID DATA TYPE. an easy fix is to change your Column Formula in "# of days to finish Date" to check if there is a value in the Duration Column.
=IF(Duration@row <> 0, IF(Finish@row > TODAY(), NETWORKDAYS(TODAY(), Finish@row), -1 * NETWORKDAYS(Finish@row, TODAY())))
Answers
-
Hi Gabe,
It is because your rows that have no dates are showing #INVALID DATA TYPE. an easy fix is to change your Column Formula in "# of days to finish Date" to check if there is a value in the Duration Column.
=IF(Duration@row <> 0, IF(Finish@row > TODAY(), NETWORKDAYS(TODAY(), Finish@row), -1 * NETWORKDAYS(Finish@row, TODAY())))
-
Thank you @Brett Smith , this fixed it for me!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!