Count with distinct problems

I am trying to count the number of unique numbers referencing a column in a separate Smartsheet. It returns the number '1' which I know is incorrect.

The formula I used is:

=COUNT(DISTINCT({Study number}))

The column referenced does have nested values, could that be part of the problem? Or is there a row limit? The Smartsheet that I am referencing does have 1600+ rows. I have used other formulas with this Smartsheet and never run into any issues.

I would like to expand on this to include other criteria, but the COUNTIFS function does not work with DISTINCT as I have read in other columns. Not sure how to go about expanding this formula to work.

My ultimate goal would be to get:

Number of unique study numbers that also match the following criteria:

COUNTIFS:

Specific Supervisor - {Supervisor}, FIND("XXX", @cell) > 0

Review number is not blank - {Review Number}, <>""

Fall within a specific review date range - {Review Date}, AND(@cell >= DATE(2021,1,1), @cell <= DATE(2030,1,1))


Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!