Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Can you use Distinct() with Countifs()?

Overachievers Alumni

I'm trying to create formula that counts the unique objects in a workspace (I upload the "Access" sheet from User Admin into a Smartsheet).

My formula:

=COUNTIFS(DISTINCT({WS1 Key}, <>"", {WS1 Workspace}, Workspace@row))

It's coming back as incorrect argument. I've tried moving the close parenthesis around like this:

=COUNTIFS(DISTINCT({WS1 Key}), <>"", {WS1 Workspace}, Workspace@row), but it's still not working.

The source sheet is the Access sheet. The formula is housed in a sheet that lists every workspace on my account (workspace@row) along with the owner of each workspace (and whether or not I have it scheduled for backup, but that's not relevant)

I'm guessing I might be able to come up with some kind of combination of collect and count, but haven't figured it out yet....

Any suggestions?

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions