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
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!