Need to extract Non-duplicate values

Hi, I'm in the need of extracting the Non-duplicate values in a range. I could able to achieve same in the excel (Formula =UNIQUE(A2:A16)). See the attached excel schreenshot. I knew Distinct function is a replacement of unique in smartsheet but it can be used within the other function and not working propery. Kindly suggest same to achieve in the smartsheet.


Tags:

Best Answers

  • Genevieve P.
    Genevieve P. Employee
    Answer ✓

    Hi @Gajapathi Muniyappa

    Can you explain what your end-goal is with the list?

    The easiest way to do this would be to create a Row Report and then Group the Report by the country column. This will automatically organize your data into one unique list, with duplicate rows grouped beneath each heading. See: Configure grouping to organize results in report builder


    Another quick way to list all values would be to use a JOIN formula to bring all unique values into one multi-select cell. This wouldn't be a list down multiple rows, but instead a list in one cell.

    =JOIN([Column Name]:[Column Name], CHAR(10))


    If you need the values down one column, you'll need a helper column with numbers to indicate which of the distinct values to bring back. Then you can use an INDEX(DISTINCT combination to bring back only distinct countries, like so:

    =IFERROR(INDEX(DISTINCT([Countries with Duplicates]:[Countries with Duplicates]), [Row Number]@row), "")


    You can set this up in a separate sheet, if you'd like. In this instance you'd use a {cross sheet reference} to highlight the country column, like so:

    =IFERROR(INDEX(DISTINCT({Countries with Duplicates}), [Row Number]@row), "")


    See: Create cross sheet references to work with data in another sheet

    Cheers!

    Genevieve

    Join us for Jumpstart 2025 with Community on 23 January (in two time zones)! 🎉 Register here.

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

    @Gajapathi Muniyappa Try an

    =IFERROR(INDEX(DISTINCT(COLLECT({Status}, {Sponsor}, @cell = Sponsor@row)), Number@row), "")

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!