If Formula
Hello. I have a column name Section and a column name District. I have the Section numbers in the column and I need it to calculate the District number.
So if my Section Column has any of these Sections 001, 002, 003, 004, 011, 013, 015, 035, 031, 032, 033, or 034, I need it to mark the District column as District 1. And if my Section Column has any of these Sections 005, 006, 007, 008, 014, 019, 040, 041, 042, 043, 044, 045, or 046, I need it to mark the District column as District 2. And if my Section Column has any of these Sections 009, 010, 012, 016, 017, 181, 182, or 183, I need it to mark the District column as District 3.
Another possible formula would use conditional formatting. Say I have all the rows for Sections 005, 006, 007, 008, 014, 019, 040, 041, 042, 043, 044, 045, or 046, yellow, Can I set up a formula to put District 1 in the District column based on the row color?
Thanks in advance
Best Answer
-
I hope you're well and safe!
I'd probably recommend using a table with the options combined with a VLOOKUP or IDEX/MATCH formula structure.
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 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 @Chevon Brownell
Hope you are fine, hope you are fine to try to use the following sample formula and configure it by adding all your criteria. and convert it to column formula
=IF(OR(Section@row = "001", Section@row = "002"), "District 1", IF(OR(Section@row = "003", Section@row = "004"), "District 2", IF(OR(Section@row = "009", Section@row = "010"), "District 3", "")))
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"
-
I hope you're well and safe!
I'd probably recommend using a table with the options combined with a VLOOKUP or IDEX/MATCH formula structure.
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 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.
-
@Andrée Starå andree@workbold.com So the first picture is my district list and the second picture shows the sheet I need to populate. Can you help with a formula? I have tried on my own and I tried Bassam's suggestion. I keep getting unparseable or incorrect argument, So I am obviously doing something wrong.
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
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!