Conditional Formatting Help

Laura
Laura ✭✭✭✭✭✭
edited 12/09/19 in Formulas and Functions

See Screenshot Example Please

Goal: to compare cells in 2 rows across columns.

All numbers in both these rows are based off formulas. 

I want the cell in row "needed machine hrs" (column 1) to turn RED,

IF the number is greater than the number in the cell directly below it, in row "Current Machine/Labor Hrs" (column 1).

 

Is this possible? 

 

Thanks in advance for any help or suggestions

comparisonsmartsheet.jpg

Comments

  • Can you rearrange the data so that the hours are in columns? If so, you can create an additional column with a formula like "=if([Needed Machine Hours]1>[Current Mechanical/Labor Hrs Incl Eff]1,"overloaded"," ") and then set up a conditional format to highlight the "Needed Machine Hours" column if the new column includes "overloaded". Hope that helps!

  • Laura
    Laura ✭✭✭✭✭✭

    That was my first thought as well but its not my sheet to rearrange, unfortunately.

    Any other suggestions, without rearranging the sheet? 

     

  • Matt Hagler
    edited 04/12/18

    I can't think of a way to get it to work with only the two rows that you show.  Maybe a row (Row 1 for this example) could be added in which a formula could be placed to evaluate the values in the column like the following:

    =IF([NEEDED MACHINE HRS] > [CURRENT MECH...], "YES", IF([NEEDED MACHINE HRS] = [CURRENT MECH...], "AT CAPACITY", ""))

    You could then add conditional formats for each column to highlight that cell in Row 1 like the following:

    "If Column 1 is equal to 'YES' then apply this format to the Column 1 column."

    You would have to clone this format and adjust it for each column and if you wanted to use the "at capacity" to highlight the cell a different color, more formats would have to be set up to do that.

    Capture.JPG

  • You could even set up a notification that would trip when the "Overloaded?" column is not blank by using the example below.

     

    Capture1.JPG

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!