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?
-
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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!