Conditional Formatting Value_if_false

Fountain

New Member
Joined
Sep 29, 2017
Messages
2
Hello!

I'm sorry if this question has been answered elsewhere, though I couldn't find it if it had.

I'm using a logical formula that returns a number value based on whether the condition is true or not. The formula is like this: =IF(A1>A2,A2/A1,A1/A2) and works fine for me.

I want to use conditional formatting to highlight the cells which are false and subsequently use the part of the formula I have underlined to generate the number value.

Most of the guides I have found only tell me how to do this if the logical formula returns some text (i.e. "False").

Any help would be greatly appreciated.
If I have haven't been clear with anything, please let me know and I'll try to explain in more depth.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Welcome to the board.

Assuming you mean what formula should the conditional formatting be to apply to cells where the FALSE part of your cell formula is evaluated, the CF formula is
Code:
=A1 < A2
That will evaluate as TRUE for the CF to then be applied to that cell
 
Upvote 0
Welcome to the board.

Assuming you mean what formula should the conditional formatting be to apply to cells where the FALSE part of your cell formula is evaluated, the CF formula is
Code:
=A1 < A2
That will evaluate as TRUE for the CF to then be applied to that cell
Jack,
Wouldn't that be =A1<=A2?
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,257
Members
449,075
Latest member
staticfluids

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