conditional formatting for cell A1 based on value in cell A3

rosefin01

New Member
Joined
Feb 13, 2013
Messages
18
Hello! Requesting help for Conditional Formatting. Example in table below shows desired results. CAPITAL ONE is paid off in bottom table. When excel sees the a value higher than zero in the PAYOFF AMOUNT column I want the CREDITOR and PAYOFF AMOUNT cells to display with a red font.

[TABLE="width: 370"]
<tbody>[TR]
[TD="colspan: 5"]Current Looks like this[/TD]
[/TR]
[TR]
[TD]Creditor[/TD]
[TD]Present Balance[/TD]
[TD]Present Payment[/TD]
[TD]Payoff Amount[/TD]
[TD]Future Payment[/TD]
[/TR]
[TR]
[TD]Capital One[/TD]
[TD="align: right"]1000[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]1000[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Capital One[/TD]
[TD="align: right"]1000[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]15[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 5"]Want this to happen with conditional formatting[/TD]
[/TR]
[TR]
[TD]Creditor[/TD]
[TD]Present Balance[/TD]
[TD]Present Payment[/TD]
[TD]Payoff Amount[/TD]
[TD]Future Payment[/TD]
[/TR]
[TR]
[TD]Capital One[/TD]
[TD="align: right"]1000[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]1000[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Capital One[/TD]
[TD="align: right"]1000[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]15[/TD]
[/TR]
</tbody>[/TABLE]

Thank you!

 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Enter this formula in Conditional Formatting;
=IF(($B2=$D2),TRUE,FALSE)
Change Range to suit
Then in the "Applies to", the following;
=$A$2:$B$2,$D$2
Change Range to suit
Once done, select the first row of cells where this format applies to and drag it down as far as required.
 
Last edited:
Upvote 0
Enter this formula in Conditional Formatting;
=IF(($B2=$D2),TRUE,FALSE)
Just to note: In Conditional Formatting you don't need the IF(...,TRUE,FALSE) as the logical test where I have ... is either TRUE OR FALSE. So this should do just as well

Code:
=$B2=$D2
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,164
Members
453,021
Latest member
Justyna P

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