COUNTIFS with reference another sheet
Hello,
I'm looking for the right sentence to count the lines from a second sheet how meets my criteria.
This one doesn't work: #UNPARSEABLE
=COUNTIFS({Inventory Asset - Africa & Middle East Range 1}, ([TYPE]1:[TYPE]56,"Physical",[WARRANTY EXPIRATION]1:[WARRANTY EXPIRATION]56, "EXPIRE IN 24 MONTHS"))
I just want to count the lines where the column [TYPE] is "Physical" and the [WARRANTY EXPIRATION] is "EXPIRE IN 24 MONTHS"
Thank you for your help
Olivier
Comments
-
Hello Olivier,
I'd recommend removing the extra parenthesis around your other cell references in your formula. Example:
=COUNTIFS({Inventory Asset - Africa & Middle East Range 1}, [TYPE]1:[TYPE]56,"Physical",[WARRANTY EXPIRATION]1:[WARRANTY EXPIRATION]56, "EXPIRE IN 24 MONTHS")
-
thank you Shaine but the problem still exist.
-
Hi Olivier,
Apologies—I initially misunderstood what you're wanting to do with your function in my prior response. COUNTIFS syntax is as follows:
COUNTIFS(range1, criterion1, range2, criterion2)
If both of the ranges you're wanting to count exist on another sheet, you'll want to remove the cross sheet reference that you have, and create two cross-sheet references—one for your TYPE column range and another for your WARRANTY EXPIRATION range. Example:
COUNTIFS({TYPE}, "Physical", {WARRANTY EXPIRATION}, "EXPIRE IN 24 MONTHS")
More on COUNTIFS in the help center: https://help.smartsheet.com/function/countifs
Let me know if that's not what you're looking for and I can advise further.
-
Thank you so much Shaine !!!
It works fine now.
;-)
-
Thank you all. very useful thread.
Thank you Shane - your answer helped a lot. I did reference the column in the reference sheet twice and it worked perfectly
=COUNTIFS({ Tracker Range 1}, "New", { Tracker Range 2}, "Medium")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!