Countifs formula

Hello,
to this formula how would i add another sheet to get the match from?
this formula says: match employee name, and if the column (sheet 1) has this document title return green, if it doesn't return red (sheet 2). Now i would like it to do the same thing but from a different sheet and return to the same sheet?
=IF(COUNTIFS({Employee name}, [Contact List]@row, {FOR902A Test 1 Doc.Ttile}, HAS(@ )) > 0, "Green", "Red")
thanks!
Best Answer
-
Hello @Vuckecucke! I see what you are trying to do. Can you explain what you want to pull in from the second sheet? What the IF statement would be. Also - How is the HAS formula working for you in this equation? I believe it what you are saying is:
IF(COUNTIFS({Employee Name}, [Contact List]@row, {Document Title}, HAS(@cell, [Document Name]@row)) >0, "Green", "Red")
So to add a second sheet with the same criteria, the new formula would look like this:
IF(COUNTIFS({Employee Name - Sheet 1}, [Contact List]@row, {Document Title - Sheet 1}, HAS(@cell, [Document Name]@row)) >0, "Green", IF(COUNTIFS({Employee Name - Sheet 2}, [Contact List]@row, {Document Title - Sheet 2}, HAS(@cell, [Document Name]@row)) >0, "Green", "Red"))
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
Answers
-
Hello @Vuckecucke! I see what you are trying to do. Can you explain what you want to pull in from the second sheet? What the IF statement would be. Also - How is the HAS formula working for you in this equation? I believe it what you are saying is:
IF(COUNTIFS({Employee Name}, [Contact List]@row, {Document Title}, HAS(@cell, [Document Name]@row)) >0, "Green", "Red")
So to add a second sheet with the same criteria, the new formula would look like this:
IF(COUNTIFS({Employee Name - Sheet 1}, [Contact List]@row, {Document Title - Sheet 1}, HAS(@cell, [Document Name]@row)) >0, "Green", IF(COUNTIFS({Employee Name - Sheet 2}, [Contact List]@row, {Document Title - Sheet 2}, HAS(@cell, [Document Name]@row)) >0, "Green", "Red"))
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
-
working excellent! Many thanks.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!