COUNTIF referencing another sheet and include a greater than/less than
I'm trying to include a greater than/less than in formula:
=COUNTIFS({SourceInquiryUrgency}, "U1", {SourceInquiryUrgencyTable}, "Yes", {SourceAge}, >=31, {SourceAge}, < = 62)
I already have a similar formula returning a count of the urgency category:
=COUNTIFS({SourceInquiryUrgency}, "U1", {SourceInclude}, "Yes", {SourceClosed}, "No")
I want to include a column that counts the age in days and return a count of how many are between 31 and 62 days old in the formula. Currently I'm getting incorrect argument.
Best Answer
-
Your formula is correct. The space between the symbols < and = in the last part is causing the error. This will work
=COUNTIFS({SourceInquiryUrgency}, "U1", {SourceInquiryUrgencyTable}, "Yes", {SourceAge}, >=31, {SourceAge}, <= 62)
Thanks,
Aravind GP| Principal Consultant
Atturra Data & Integration
M: +61493337445
E:Aravind.GP@atturra.com
W: www.atturra.com
Answers
-
Your formula is correct. The space between the symbols < and = in the last part is causing the error. This will work
=COUNTIFS({SourceInquiryUrgency}, "U1", {SourceInquiryUrgencyTable}, "Yes", {SourceAge}, >=31, {SourceAge}, <= 62)
Thanks,
Aravind GP| Principal Consultant
Atturra Data & Integration
M: +61493337445
E:Aravind.GP@atturra.com
W: www.atturra.com
-
Thank you, I completely missed that. The formula works now.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 422 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!