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!
-
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!
-
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
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 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!