Multiple IF's the way to go ??
Hi all,
I have a column named "Site Name" this column is a drop-down single select with all our site names (approx 20 different options) for the sake of this post I will call them
Rome, London, Paris, Tokyo, New York, Milan
The user selects the site name via a form and this is reflected in the cell in the appropriate row.
I would like to add a column named "Region" and in this column have a formula that looks to the "Site Name" and returns a value.
So for example, if the user selected "Rome" then the formula would return "Europe" in the region column if however the user selected "New York" the region would change to US and so on and so forth.
What would be the most elegant and economic way to achieve this?
Thanks
Dan
Answers
-
I hope you're well and safe!
You can either use a multi IF formula or an INDEX/MATCH structure.
Make sense?
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 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.
-
Can you show me a short working example of how I would use that in the example in my question ?
Thanks
Dan
-
I would suggest going the INDEX/MATCH route if you have a lot of different options.
First you would need to build a table in another sheet that has each option and the corresponding value listed out.
Rome, London, Paris, Tokyo, New York, Milan
"Rome" then the formula would return "Europe" in the region column if however the user selected "New York" the region would change to US
Rome..........Europe
London.......UK
Paris...........Europe
New York...US
Then in your working sheet where you pull the data to, you would (using the appropriate steps for creating cross sheet references) use a formula such as this:
=INDEX({Table Sheet Region Column}, MATCH([Dropdown Column]@row, {Table Sheet City Column}, 0))
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!
-
Great thanks for your replies both.
Paul, I used your suggestion of another sheet and it worked like a charm.
Thanks again for your help and all the best
Dan
-
Happy to help. ποΈ
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!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.7K Get Help
- 371 Global Discussions
- 203 Industry Talk
- 436 Announcements
- 4.5K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 129 Community Job Board
- 448 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 282 Events
- 32 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!