Cell Formula That Evaluates The Formatting Of Another Cell?

CaliKidd

Board Regular
Joined
Feb 16, 2011
Messages
173
Assume cell A1 has a conditional format rule that changes the font color to red if the value is negative. Otherwise, it leaves the font color black.

Is it possible to put a formula in a different cell that determines if the font color of cell A1 is red and, if so, returns a True, else returns a False? What would that Excel formula be?
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Well, my main intent is to see if a formula can detect the formatting of a different cell. It's not the value I am trying to test, but rather the cell format.
 
Upvote 0
And then you'd need to parse the format conditions. I've seen it done, but it was some serious code.

There's a script I once saw poseted on this forum somewhere that converts condtional formatting to static formatting - I'd imagine there would be some clues in there to help you achieve what you're after.
 
Upvote 0
VBA is ok, if that is what it takes.

I am hoping it could be a formula so that if the value of cell A1 was changed to a non-negative number, which would then cause the conditional format rule to change the font color back to black, rhen the formula would evaluate real-time (i.e., return a False value).

I hope I am being clear.

Any ideas how to do this?
 
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,470
Members
452,915
Latest member
hannnahheileen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top