Auto fill Dept column based on selection in Category column
Hi - I'm very new to smartsheet and formulas so I apologize if this is a really basic question. I have been researching how to have my DEPT column autofill the correct department depending on what is filled in the Category column but not having any success. The Category is selected by the end user that is reporting an issue on a form (drop down field). This category column is automatically filled on the sheet when the form is submitted. I'd like the Dept column to fill in the appropriate department that matches the category when submitted. This is the sheet that the form feeds into:
This is my list of categories and associated departments which is on a different sheet, as a reference.
thanks
Best Answers
-
Hi @Stacy Maplesden
Hope you are fine, you can do that in a very simple way by using the Vloockup function
=VLOOKUP(Dept@row, Category:Dept, 2) when the end user submits his entry the Vloockup automatically will search for you in the helper table and get the correct dept for you.
create a helper table contain the Category and related Dept for each category and you can expand if you have a new entry in the future.
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
To add to Bassam's excellent advice/answer.
Here's the formula when the information is on another sheet, and I'd also recommend that you convert the formula so it's a Column Formula. Then it will always auto-fill for each form submission.
=VLOOKUP(CATEGORY@row, {Dept. Reference Sheet, 2, 0)
More information about Column Formulas.
Did that work?
I hope that helps!
Have a fantastic day & Happy New Year!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. 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.
Answers
-
Hi @Stacy Maplesden
Hope you are fine, you can do that in a very simple way by using the Vloockup function
=VLOOKUP(Dept@row, Category:Dept, 2) when the end user submits his entry the Vloockup automatically will search for you in the helper table and get the correct dept for you.
create a helper table contain the Category and related Dept for each category and you can expand if you have a new entry in the future.
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
To add to Bassam's excellent advice/answer.
Here's the formula when the information is on another sheet, and I'd also recommend that you convert the formula so it's a Column Formula. Then it will always auto-fill for each form submission.
=VLOOKUP(CATEGORY@row, {Dept. Reference Sheet, 2, 0)
More information about Column Formulas.
Did that work?
I hope that helps!
Have a fantastic day & Happy New Year!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. 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.
-
Thank you both. This worked perfectly and I made it a column formula which now makes sense. :) Much appreciated!
-
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.
-
At your service any time @Stacy Maplesden
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!