HAS function - searching in more than one other sheet.
Hi there, I need some help please.
What I'm trying to do: I'd like a box to be checked in sheet 1 if the project name is found in either sheet 2 or sheet 3. I have an IF/HAS formula set up that checks a box if the project name is found in sheet 2. I'm not sure how to add in the search for sheet 3.
Here's my current formula. How can I also have it search in another sheet for the project name?
Thanks in advance!
Best Answer
-
Hi @Beth Fantozzi 1 -
As Paul recommended, I would try to incorporate an OR function into your formula. Therefore, the formula would look following (you will just need to plug in the actual sheet references and instead of "Project A" the actual project name in your row):
=IF(OR(HAS([Project Name Sheet 1]:[Project Name Sheet 1], "Project A"), HAS([Project Name Sheet 2]:[Project Name Sheet 2], "Project A")), true, false)
Linda
Answers
-
Have you tried an OR function to include a second HAS?
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Hi @Beth Fantozzi 1 -
As Paul recommended, I would try to incorporate an OR function into your formula. Therefore, the formula would look following (you will just need to plug in the actual sheet references and instead of "Project A" the actual project name in your row):
=IF(OR(HAS([Project Name Sheet 1]:[Project Name Sheet 1], "Project A"), HAS([Project Name Sheet 2]:[Project Name Sheet 2], "Project A")), true, false)
Linda
-
@Paul Newcome and @Linda Manduchova thank you both for taking the time to respond. And thank you Linda for spelling out the formula. This worked like a charm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!