Countif (with two criteria from another sheet)
I'm try to count only if rows from another sheet match two criteria in two columns.
The sheet is Findings list, and the columns are below.
What am I doing wrong?
=COUNTIFS({Findings List Range 2}:{Findings List Range 2}, <>"Complete" , [{Findings List Range 1}]:[{Findings List Range 1}], <Today())
Best Answer
-
OOOOH. And the cross sheet formulas shouldn't be in a range themselves.
=COUNTIFS({Findings List Range 2}, <>"Complete" , {Findings List Range 1}, <Today())
I don't use them often enough to notice but your final result should look like that.
Answers
-
Are you getting an error message?
-
Unparseable
-
=COUNTIFS({Findings List Range 2}:{Findings List Range 2}, <>"Complete" , {Findings List Range 1}:{Findings List Range 1}, <Today())
Try this one. You had some unnecessary brackets in there [ ]
-
Hmmm, still unparseable
-
So the row I'm trying to count is "findings list range 2", but only if the due date is greater than today. I have an example of it.
Hence for the above, I should only count 1 row as overdue for today. This of course is being called in a different "metrics" sheet to be used on a dashboard.
-
When you do your countifs ranges in the cross-sheet selection are you selecting one column at a time?
You should create each range separately and only select the one column that you are checking against. Then create the second range with only one column that you are working with. Try recreating those cross-sheet formulas and let me know if that worked.
-
OOOOH. And the cross sheet formulas shouldn't be in a range themselves.
=COUNTIFS({Findings List Range 2}, <>"Complete" , {Findings List Range 1}, <Today())
I don't use them often enough to notice but your final result should look like that.
-
That is probably the issue.
-
Ok I'm trying to figure this out. Thank you for assisting!
I'm trying to understand what you mean by "selecting one column at at time" and "should not be in a range by themselves". I assumed if I plug in the formula about it'll work.
Let me do the play by play:
- Go to "metrics" sheet
- Type in "=countifs"
- This brings up the prompt. After that I go to "reference sheet" and then select the column (not sure if you mean a range is the same as the column) I just select the top row of the column and it gives me the "Findings list Range 2".
-
Nevermind! The formula worked! (
-
Thank you so much!
-
Awesome. Glad i could help out.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!