Can you use the HAS function in a COUNTIFS formula?
Based on what I read about HAS Function in the Formula Basics (HAS Function | Smartsheet Learning Center) I should be able to use HAS with COUNTIFS. When I try to use it in a sheet, I receive the error message: The formula cannot be generated because the HAS function is not supported in COUNTIFS.
The formula I tried is: =COUNTIFS({PM Name}:{PM Name}, HAS(@cell, “XXXX YYYYYY”)).
Answers
-
So I just tried it now, and it worked just fine for me, but what I did was make a column in the formula sheet that was a contact column with single drop downs. and then used COUNTIF({PM Name Reference from other sheet}, HAS(@Cell, [Contact Column]@row))
Michelle Choate
michelle.choate@outlook.com
Always happy to walk through any project you need help with! Book time with me here: https://calendly.com/michelle-choate
-
The reason you are likely getting an error is because contact columns are not based on names, but emails, and that is different than text to Smartsheet.
Michelle Choate
michelle.choate@outlook.com
Always happy to walk through any project you need help with! Book time with me here: https://calendly.com/michelle-choate
-
I would like to connect with you, Michelle. It is my understanding the HAS function is to be used with multiple select dropdowns. I wouldn't need to use it if the columns were Single select. I am trying to use the function with a contact column. I am interested in learning more about the name versus email address and what options there are to use HAS and COUNTIFS with contact columns. How can I get in contact with you?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!