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
- 66.5K Get Help
- 434 Global Discussions
- 152 Industry Talk
- 494 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 506 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!