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
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!