Forum Discussion

AustinFindley's avatar
AustinFindley
Copper Contributor
Sep 16, 2021
Solved

Complicated formula, need some help!

I am trying to come up with a formula using conditional formatting that will highlight an individuals name green if the person has met certain requirements. I understand the logic of what I am trying ...
  • mathetes's avatar
    mathetes
    Sep 20, 2021

    AustinFindley 

     

    If I were you, I'd create what's called a "helper column" to do the testing, produce a TRUE or FALSE result, and use that as the basis for the conditional formatting, rather than building all of the logic into the formula in the conditional formatting dialog box. It is possible, as Sergei has demonstrated, to build it all into the Conditional Formatting rule, but those are tricky enough to begin with.

     

    In your case, you might even create two or more helper columns, one to test for current position qualification, another to test for sufficient points, and then a third that nets out the result and serves as the basis for the conditional format color.

     

    Using helper columns is a way of making the logic more visible, highlighting where the discrepancy might exist (or an error: somebody you know qualifies yet isn't turning up). It's a truism in computer history--spreadsheet history--that we can start trusting the results ("It's what the computer is telling us!") when in fact there's a subtle error embedded somewhere in a formula. So visibility of the variables, the assumptions, the tests, isn't a bad thing. Once you're confident, having truly tested it, you can hide the helper columns yet still have them there.

     

    So in the attached I created a single helper column to illustrate the process. I may have misunderstood your criteria, but it still can illustrate the process.

Resources