Sign in to join the conversation:
I would like to set up conditional formatting to highlight tasks that have more than one predecessor.
This becomes useful in using reports that do not properly display the predecessors.
You would need a "helper" column. I would suggest a checkbox type. In that column you would enter a formula that would check the box if there is more than one predecessor for the row. You would then base your conditional formatting off of that.
Thanks - good idea.
I found a formula for the checkbox if my smartsheet contains less than 1000 rows:
IF(LEN(predecessor)>3 ,1)
Do you have another suggestion?
Thanks.
This should work as long as you also do not include fs, sf, ff, ss or any lag/lead time.
I would recommend using a FIND function to look for the comma that is used to separate multiple predecessors.
=IF(FIND(",", Predecessors@row) > 0, 1)
Thanks! I am not a coder ... so, this really helps.
I also rarely use fs, sf, ff, ss ...
I tried using the FIND but couldn't get it to work ... I did not know about the @row function and that was the problem.
Thanks for your help!
Happy to help!
The @row function basically replaces the row reference to tell the formula to look in the specified column on whatever row the formula is in.
It provides a lot more flexibility and efficiency. The only time you really need to specify a row number is if you are referencing a cell on a row other than the row the formula is on.
If you take my previous FIND formula and replace ONLY the column name itself with the appropriate column name, it should work for you.
But as you said...
If you rarely use sf, fs, etc, you don't use lag/lead time, and you don't exceed 1000 rows, there is no need for something like my formula.
Simply looking at the LEN will most certainly work. The only modification I would suggest is the @row reference. Assuming your column name is "predecessor" exactly (and not with the "s" on the end as in my previous example), the change would look like this...
IF(LEN(predecessor@row)>3 ,1)
.
Hopefully that helps explain the @row function.
Hello, I'm working through the writing formulas optional activity and in the 'Nested IF function - Progress Column' task it directs you to put in the following formula '=IF([% Complete]@row = 0, “Empty”)'. However, when I put this formula into the spreadsheet, '04a_Marketing Request Tracker - Formulas', I get an…
I have an automation that has a condition where I am looking at the column "LEA Interco Supporting Site(s)" and trying to find columns that have the value "Fort Loramie" in them. This works well when "Fort Loramie" is the first item listed in the cell, but it doesn't work when "Fort Loramie" is the second or third value in…
Have any of you created a Smartsheet that would show the savings for a project by the month? In other words, if I saved $1200 annually and the project ended in say March, then the savings would go $120 per month, Mar 2025-Feb 2026. I have done it on Excel sheets manually, but I think there should be a way to do it with…