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.5K Get Help
- 430 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!