Conditional Formatting based on the status of Predecessors / Dependencies
Hi,
I'm looking to use Smartsheet to track the overall status of our software development team's progress. I'd like to be able to quickly identify any tasks in a list that are blocking other tasks from being completed.
For example, a task on say row 11 is dependent on row 2. Row 11 has a status of 'blocked' because of some outstanding work required to complete row 2. I'd like to highlight row 2 in a different colour in order to draw attention to the fact that it is blocking other work.
How might I achieve this?
Thanks! Glen
Best Answer
-
Here's one way to do it:
- Add a helper column n with the value 1 in each cell
- Add a helper column Row with the formula: =SUM(n@row:n$1) and copy it down to all cells this is your row number
- Create a Checkbox column called Blocker and put this formula in it: =IF(COUNTIFS(Predecessors:Predecessors, Row@row, Status:Status, "Blocked") > 0, true)
- Lastly do conditional formatting on the Blocker column.
I hope this helps.
Cheers,
Ramzi
Ramzi Khuri - Principal Consultant @ Cedar Tree Consulting (www.cedartreeconsulting.com)
Feel free to email me: ramzi@cedartreeconsulting.com
💡 If this post helped you out, please help the Community by marking it as the accepted answer/helpful.
Answers
-
Ramzi Khuri - Principal Consultant @ Cedar Tree Consulting (www.cedartreeconsulting.com)
Feel free to email me: ramzi@cedartreeconsulting.com
💡 If this post helped you out, please help the Community by marking it as the accepted answer/helpful.
-
Hi Ramzi,
Yes, this is a question as to whether conditional formatting can achieve what I'm trying to do. With the standard rules you can choose from, it appears that you cannot (i.e. formatting a row based on values in a different row)
Cheers, Glen
-
Here's one way to do it:
- Add a helper column n with the value 1 in each cell
- Add a helper column Row with the formula: =SUM(n@row:n$1) and copy it down to all cells this is your row number
- Create a Checkbox column called Blocker and put this formula in it: =IF(COUNTIFS(Predecessors:Predecessors, Row@row, Status:Status, "Blocked") > 0, true)
- Lastly do conditional formatting on the Blocker column.
I hope this helps.
Cheers,
Ramzi
Ramzi Khuri - Principal Consultant @ Cedar Tree Consulting (www.cedartreeconsulting.com)
Feel free to email me: ramzi@cedartreeconsulting.com
💡 If this post helped you out, please help the Community by marking it as the accepted answer/helpful.
-
Neat! Didn't realise you could embed formulae in checkboxes.
Thanks very much, I'll try this shortly :)
-
Ramzi Khuri - Principal Consultant @ Cedar Tree Consulting (www.cedartreeconsulting.com)
Feel free to email me: ramzi@cedartreeconsulting.com
💡 If this post helped you out, please help the Community by marking it as the accepted answer/helpful.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives