Lookup with Duplicate Values

Options

I am trying to cross reference another sheet and return all the values within a column that are state one. In this example, I am trying to get the Jessica Jones, Boba Fett, Mickey Mouse, Bob Saget, Betty White and Meatloaf values returned onto a separate sheet (in separate rows- I do not want these values condensed into the same cell).


Any help would be appreciated! Thanks.


Answers

  • Genevieve P.
    Options

    Hi @AudreyPeiffer

    What about creating a Report and Filtering by the State column? This will ensure your values are on separate rows.

    If a Report won't work for you, is there anything else on this Source Sheet that you could reference so that each row/name has its own unique value to match?

    As a final option, you could set up a column in your destination sheet that lists the number of rows you want to bring back (ex. if you wanted the top 10, you would list the numbers 1 - 10 in individual cells). Then you can use this helper "Number" column as a reference point in an INDEX(COLLECT to identify what match you want to bring back (the first, the second, etc).

    Something like this:

    =INDEX(COLLECT({Name Column}, {State Column}, 1), Number@row)

    Let me know if any of these options will work for you!

    Cheers,

    Genevieve

    Join us at Smartsheet ENGAGE 2024 🎉
    October 8 - 10, Seattle, WA | Register now

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!