Workaround for indenting in a cell
Hi Everyone,
I'm trying to write a formula that will indent the items in my Activity Name column based on the value in my Project Plan / WBS Hierarchy column.
For example, if the Project Plan / WBS Hierarchy column has a value of Milestone, indent the Activity Name cell two spaces.
I can get the formula to work if I use dashes or other characters, but not with spaces, does anyone have any suggestions?
Here is the formula I am using, without characters...just spaces...
=IF([Project Plan / WBS Hierarchy]@row = "Workstream", "" + [Activity Name]@row,
IF([Project Plan / WBS Hierarchy]@row = "Subfunction", " " + [Activity Name]@row,
IF([Project Plan / WBS Hierarchy]@row = "Milestone", " " + [Activity Name]@row,
IF([Project Plan / WBS Hierarchy]@row = "Task", " " + [Activity Name]@row,
IF([Project Plan / WBS Hierarchy]@row = "Sub Task", " " + [Activity Name]@row)))))
thanks!
Monica
Answers
-
I hope you're well and safe!
Try something like this. (and continue the pattern to match what you need)
=IF([Project Plan / WBS Hierarchy]@row = "Workstream", UNICHAR(20) + UNICHAR(20) + UNICHAR(20) + [Activity Name]@row)
Did 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å - almost but not quite, I get boxes instead of spaces
-
Strange! It looks ok on my side.
Can you share the exact formula you tested?
✅Remember! 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å Here it is: =IF([Project Plan / WBS Hierarchy]@row = "Workstream", UNICHAR(20) + UNICHAR(20) + UNICHAR(20) + [Activity Name]@row)
Activity Name column type is Text/Num
thanks!
Monica
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 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
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!