Forum Discussion

rjparkerjr's avatar
rjparkerjr
Copper Contributor
Oct 09, 2021
Solved

Help with conditional formula using color (watch video)

Hello. I'm in need of assistance with a conditional formula using colors please. Here is a brief video showing what I'm wanting to do. [url]https://screencast-o-matic.com/watch/cr6QD9VXr2u[/url] ...
  • Yea_So's avatar
    Yea_So
    Oct 10, 2021

    rjparkerjr 

     

    excel cannot return a color value using formulas other than conditional formulas.

    i.e If this cell is grey then put grey here. It can only do if this value in this cell is greater than x then color it grey (it has to be true, but there is no formula in excel that can evaluate color except text color and only red to indicate if the number is negative or not.

     

    see: CELL() function

    https://exceljet.net/excel-functions/excel-cell-function#:~:text=The%20Excel%20CELL%20function%20returns%20information%20about%20a,info%20about%20the%20formatting%20used%20in%20the%20cell.

    That is the only formula function that can evaluate text color to indicate if a number is positive or negative.

     

    What you want can only be done in vba macro

     

    tag your post with vba.

Resources