How to extract the data from the another sheet?
I am trying to find out the formula that help me to list out how many trading partners that we are currently working on it.
The list should not be duplicated and it will be Renault, Titan X, Volvo. Can someone please help me?
Best Answers
-
Hey @Peter Vo
If you're using COLLECT to filter down your range, you'll actually want to add DISTINCT before COLLECT, like so:
=JOIN(DISTINCT(COLLECT({TrueAuto ALL Teams Range 19}, {TrueAuto ALL Teams Rnage4}, "Cabarrus")), ", ")
Make sure the end of your formula closes like this:
)), ", ")
Since you don't close off the DISTINCT( and COLLECT( until the very end. Let me know if that works!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
hi Genevieve P.
Awesome! You are the best!
Answers
-
Hi @Peter Vo
I hope you're well and safe!
Have you explored using a report instead?
Would that work/help?
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, Awesome, 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.
-
hi @Andrée Starå ,
Yes, i know how to use report but i want to make it on Sheet also. is there any way to do it? Thanks!
-
Hi @Peter Vo
You can use the DISTINCT function to identify how many distinct values are in a column.
=COUNT(DISTINCT([Column Name]:[Column Name]))
So in your case:
=COUNT(DISTINCT([Trading Partner]:[Trading Partner]))
If you need to know what those distinct values are, you can use a JOIN(DISTINCT combination, like so:
=JOIN(DISTINCT([Trading Partner]:[Trading Partner]), ", ")
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
hi @Genevieve P.,
Excellent! That's working. Now, i would like to add Collect with JOIN. But, it is not working again. Can you please advise? I want to extract the value with condition for Cabarrus division only. Thanks!
-
Hey @Peter Vo
If you're using COLLECT to filter down your range, you'll actually want to add DISTINCT before COLLECT, like so:
=JOIN(DISTINCT(COLLECT({TrueAuto ALL Teams Range 19}, {TrueAuto ALL Teams Rnage4}, "Cabarrus")), ", ")
Make sure the end of your formula closes like this:
)), ", ")
Since you don't close off the DISTINCT( and COLLECT( until the very end. Let me know if that works!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
hi Genevieve P.
Awesome! You are the best!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!