Finding Distinct Values from two different Sheets

Jake Gustafson
Jake Gustafson ✭✭✭✭✭✭
edited 11/21/22 in Formulas and Functions

Hello, I have a scenario where I'd been successful in summarizing the distinct users names who'd created entries in my sheet and done some calculations from that. Below is my formula:

=IFERROR(INDEX(DISTINCT({NCP Originator}), Index@row), "")

Now, my records have gotten to a point where I needed to archive older records, but now I have two source sheets that I'd like to summarize the Distinct list of users who originated the records from both sheets. Is that possible to combine into what I have with the formula above?

{NCP Originator} is from my live sheet

{NCP Originator ARCHIVE} is from my archive sheet

I want to be able to get a unique/distinct list of names across both those columns.

Help me Smartsheet Community, you're my only hope.

Tags:

Best Answer

  • Genevieve P.
    Genevieve P. Employee
    edited 11/21/22 Answer ✓

    Ah thank you for clarifying, @Jake Gustafson!

    Ok, my next thought is to have two separate columns: one for each sheet. Then in a third column you can reference both columns as one range to do a third Index(Distinct, like so:

    I've highlighted the two names that are repeats in the two sheets, so we can make sure they don't repeat in the combined column.

    =IFERROR(INDEX(DISTINCT([First Sheet]:[Second Sheet]), [Row Reference]@row), "")

    You could then hide the two helper columns if needed, or use them for other calculations (e.g. to see if they appear in the current sheet or in the archive sheet).

    Let me know if this works 🙂

    Cheers,

    Genevieve

    Need more help? 👀 | Help and Learning Center

    こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!