COUNTIF referencing another sheet
I am needing to count the number of rows that are classified as rolling deadlines. The data I am trying to reference is in a separate sheet. This is the formula I currently have that is giving me the #UNPARSEABLE error.
=COUNTIF({Proposal Tracker Range 1}[Deadline Type]:[Deadline Type], "Rolling Deadline")
Please help me understand the errors I am making.
Thank you
Best Answer
-
When using a cross sheet reference, you create the reference to look at the range you want it to cover. This means you do not have to separately spell out which column you want it to look at.
=COUNTIF({Proposal Tracker Range 1}, "Rolling Deadline")
Answers
-
When using a cross sheet reference, you create the reference to look at the range you want it to cover. This means you do not have to separately spell out which column you want it to look at.
=COUNTIF({Proposal Tracker Range 1}, "Rolling Deadline")
-
@Paul Newcome Thank you. That worked.
-
Happy to help. 👍️
-
@Paul Newcome I now need to count the number of rows that have "Research and Development" and "Pre-Award" for the Review Type. This is the formula I have currently that is not working.
=COUNTIFS({Proposal Tracker Range 5}, "Research and Development", [{Proposal Tracker Range 5}, "Pre-Award"])
I need this formula to work so that it will count the number of cells without being dependent on the order of wording. Some cells have Research and Development, then Pre-Award; while others have Pre-Award then Research Development.
I appreciate your help.
-
@Shannon E. You would need to remove the square brackets from the formula.
I don't think though that the formula would still get what you want. What you actually need is a combination of OR and CONTAINS.
=COUNTIFS({Range}, OR(CONTAINS("ABC", @cell), CONTAINS("DEF", @cell)))
-
=COUNTIFS({{Proposal Tracker Range 5}, OR(CONTAINS("Research and Development", @cell), CONTAINS("Pre-Award", @cell)))
Gives me a count of 33, but it should be 11
-
Found it. It should be an AND statement instead of OR.
=COUNTIFS({Proposal Tracker Range 5}, AND(CONTAINS("Research and Development", @cell), CONTAINS("Pre-Award", @cell)))
-
My apologies. I misunderstood what you were looking for. Glad you got it figured out.
-
@Paul Newcome No worries. I appreciate your continuous feedback and guidance.
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!