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

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
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,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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