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
- 65.5K Get Help
- 448 Global Discussions
- 145 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!