Countifs with distinct on four column from another worksheet
Hello Everone,
I tried to post this before, but it was probably the wrong way.
I am new on the community, though I have been using Smartsheet for few years, (I am French, maybe my English will be different than yours sorry about that).
I came here to look for an answer to my problem. I am trying to use the Distinct function combine with countifs, but I can't get it to work
.Here is what I am trying to do.
I collect a report of my workers days from a form on a sheet with the names, date and all other type of info I need from the job site.
I am trying to extract from that sheet how many differents days the man have worked on a month, knowing that I can have 2 or 3 input for a same day (morning on one job and afternoon on another one)
=COUNTIFS({Repports JOBSITE 2021 Names}; =Name@row; {Repports JOBSITE 2021 Month}; =Month@row; {Repports JOBSITE 2021 Year}; =Year@row)
This formula give me the count of input by worker but it doesn't give the exact number of workday.
I am not sure were to use the DISTINCT function
I can provide you with more info if you need to understand better my problem.
I would very much appreciate any input that can help me go forward with this.
I could use this type of function for many of my Smartsheet tables.
Thank you for taking the time to read.
Olivier
ABC Construction
Best Answer
-
I would suggest something along the lines of...
=COUNT(DISTINCT(COLLECT({Repports JOBSITE 2021 Date Column}; {Repports JOBSITE 2021 Names}; =Name@row; {Repports JOBSITE 2021 Month}; =Month@row; {Repports JOBSITE 2021 Year}; =Year@row)))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
I hope you're well and safe!
Welcome to the Community and the wonderful world of Smartsheet!
Can you describe your process in more detail and maybe share the sheet(s)/copies of the sheet(s) or some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@workbold.com)
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
I would suggest something along the lines of...
=COUNT(DISTINCT(COLLECT({Repports JOBSITE 2021 Date Column}; {Repports JOBSITE 2021 Names}; =Name@row; {Repports JOBSITE 2021 Month}; =Month@row; {Repports JOBSITE 2021 Year}; =Year@row)))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Thank you it work perfect, I had tried something like that but I had the wrong order of things.
Best regards France
Olivier
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 304 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!