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
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!