How to perform "IF(ISNA(VLOOKUP.." or "IF(ISERROR(MATCH.." when there are multiple items in cell

The sheets I have:

  1. Hospital Notification Survey Form - where Regional Directors attest that they have notified one or more hospitals of the upcoming change (for simplicity, I'll say there's 10 total hospitals)
  2. Hospital Notification Tracking Sheet - will track submissions from the above survey form's sheet, which ultimately rolls up to a third sheet that summarizes all regions/division total

What I need:

  • To be able to perform a "IF(ISNA(VLOOKUP.." or "IF(ISERROR(MATCH.." function to return a "Yes" or "No" when Regional Directors submit new survey form for respective Hospital Names

Where I'm currently stumped:

  • When a Regional Director selects Hospitals 1 through 5, I'm unable to return a "Yes" or "No" for a IF(ISERROR(MATCH function, or a "1" for a COUTNIFS(HAS function in order to automatically tell me and my team if this is done.
  • Currently just getting "No Match" or "Invalid Column Formula" from what I've tried

What my tracking sheet looks like

What submissions look like (for this scenario I've used my name and generic Hospitals 1-5)

What my survey looks like on the back-end (top 2 items are hidden ie auto-populate to sheet)

Best Answers

  • KPH
    KPH ✭✭✭✭✭✭
    Answer ✓

    Hi @Zach C

    If your submission sheet contains a multi-select drop down of hospital names, like this:

    Then in your tracker sheet you can count the number of times the hospital name appears in the notified column (using a COUNTIF function with a cross sheet reference).

    If this number is more than 0, you can check the box or return "yes" or "no" in the Hospital Notified column (using an IF function).

    Like this:

    Or this:

    In both examples:

    {Submission Region 1 Notified}

    refers to the "Region 1 hospitals you have notified" column in the other sheet.

    Let me know how you get on.

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer ✓

    @Zach C It looks like your first screenshot has "Hospital 1" but your second screenshot has "Hospital Name 1". Make sure the text you are searching for is actually a match for a selection made in the source sheet.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!