COUNTIFS Formula with Multiple Criteria
I have a formula that counts the 3 test results from another sheet and says that if their Overall Grade is Mastery (Pass) then mark them as Mastery on this sheet. This functions as designed. I now need to take into account a 4th test attempt which is on the same sheet as this formula and I can't figure out how. Basically if their Overall Grade on the other sheet is "Mastery" (pass) then their would not be a 4th attempt and my current formula is correct, but if their Overall Grade on the other sheet is "Development" (fail) then they would have a 4th attempt and then the outcome of the 4th attempt needs to overwrite what the outcome of the other 3 attempt were. Any thoughts?
Best Answer
-
I would suggest setting up a helper column on the source sheet with a formula that will output either Pass or Fail (or whichever text you prefer to use) based on the data within that row.
Somethign along the lines of
=IF([Attempt #4 Outcome]@row <> "", [Attempt #4 Outcome]@row, [Overall Grade]@row)
Then I would use an INDEX/MATCH to pull this helper column based on the UserID (with an IFERROR for ones that don't have a match on the UserID).
=IFERROR(INDEX({Helper Column}, MATCH(UserID@row, {User ID Column}, 0)), "")
Answers
-
I would suggest setting up a helper column on the source sheet with a formula that will output either Pass or Fail (or whichever text you prefer to use) based on the data within that row.
Somethign along the lines of
=IF([Attempt #4 Outcome]@row <> "", [Attempt #4 Outcome]@row, [Overall Grade]@row)
Then I would use an INDEX/MATCH to pull this helper column based on the UserID (with an IFERROR for ones that don't have a match on the UserID).
=IFERROR(INDEX({Helper Column}, MATCH(UserID@row, {User ID Column}, 0)), "")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 348 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 282 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!