Using COUNTIFS to reference another sheet
I am using a count if formular to get a project count by status and incoming year. Not sure what I am doing wrong but here is my formular. Label@row references project status - in this case "Not Started". I get an output of zero but there are 10 projects with this status.
=COUNTIFS({Project plan status}, Label@row, {Projects incoming year}, AND(@cell = "2023"))
Best Answer
-
Remove the @cell and this will work:
=COUNTIFS({Project plan status}, Label@row, {Projects incoming year}, "2023")
-Dave
Answers
-
Hi @JoanH
The syntax of your formula is a bit off, try this (untested):
=COUNTIFS({Project plan status}, Label@row, {Projects incoming year}, @cell=DATE(2023,1,1))
Hope this helps.
Dave
-
Hi @DKazatsky ,
Thank you!
I just realized the cell i am refencing for the year is a text field. So i tried this formular and still getting zero. i was sure it was going to work.
=COUNTIFS({Project plan status}, Label@row, {Projects incoming year}, @cell = "2023")
-
Remove the @cell and this will work:
=COUNTIFS({Project plan status}, Label@row, {Projects incoming year}, "2023")
-Dave
-
thanks. that worked for me
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!