Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a table comparing current location to target location. I want to colour the cells where the current <> target in red. How do I do this?
Function | Current Location | Target |
---|---|---|
A | London | London |
B | Bangalore | Mumbai |
C | Glasgow | London |
D | Bangalore | Bangalore |
In this table, I would want to colour rows B and C in red.
Yes, it does. We have no idea what table you are referring to, and it works on all of mine. See attachment.
Follow Sunny's suggestion if you want a solution that works for you as well.
Best,
Peter
May be something like this for background color:
=If([Current Location] <> Target, Red(), Green())
I tried that, but it doesn't work on a table.
Would you be able to provide a sample?
Have you tried this on the expressions?
=if(not match([Current Location],[Target]),Red(),Green())
I've attached a sample table. I need to colour all rows where the location category <> Target.
Thanks!
Yes, it does. We have no idea what table you are referring to, and it works on all of mine. See attachment.
Follow Sunny's suggestion if you want a solution that works for you as well.
Best,
Peter
For some reason, this just isn't working on my actual table. Could there be some options in the presentation or style tabs that need to be checked/unchecked?
Like this?
!