conditional formatting row based on value

lezawang

Well-known Member
Joined
Mar 27, 2016
Messages
1,805
Office Version
  1. 2016
Platform
  1. Windows
Hi
I want to highlight all rows which has TRUE in column F. So I highlighted the who table except labels and then Conditional Formatting-->Rules and type this

=$F2="true"
Color Green

But did not work? any idea why? Thank you

[TABLE="class: grid, width: 591"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Date[/TD]
[TD]city1[/TD]
[TD]city2[/TD]
[TD]price[/TD]
[TD]whole sale price[/TD]
[TD]crit[/TD]
[/TR]
[TR]
[TD="align: right"]7\02\2018[/TD]
[TD="align: right"]32.22[/TD]
[TD="align: right"]26.91[/TD]
[TD="align: right"]49.92[/TD]
[TD="align: right"]69.88[/TD]
[TD="align: center"]TRUE[/TD]
[/TR]
[TR]
[TD="align: right"]7\03\2018[/TD]
[TD="align: right"]32.85[/TD]
[TD="align: right"]28.51[/TD]
[TD="align: right"]48.81[/TD]
[TD="align: right"]54.3[/TD]
[TD="align: center"]TRUE[/TD]
[/TR]
[TR]
[TD="align: right"]7\05\2018[/TD]
[TD="align: right"]30.69[/TD]
[TD="align: right"]24.58[/TD]
[TD="align: right"]53.43[/TD]
[TD="align: right"]43.77[/TD]
[TD="align: center"]TRUE[/TD]
[/TR]
[TR]
[TD="align: right"]7\06\2018[/TD]
[TD="align: right"]28.92[/TD]
[TD="align: right"]23.16[/TD]
[TD="align: right"]30.02[/TD]
[TD="align: right"]35.19[/TD]
[TD="align: center"]FALSE[/TD]
[/TR]
[TR]
[TD="align: right"]7\09\2018[/TD]
[TD="align: right"]27.74[/TD]
[TD="align: right"]25.52[/TD]
[TD="align: right"]40.59[/TD]
[TD="align: right"]34.6[/TD]
[TD="align: center"]FALSE[/TD]
[/TR]
[TR]
[TD="align: right"]7\10\2018[/TD]
[TD="align: right"]32.22[/TD]
[TD="align: right"]26.98[/TD]
[TD="align: right"]44.87[/TD]
[TD="align: right"]42.53[/TD]
[TD="align: center"]TRUE[/TD]
[/TR]
[TR]
[TD="align: right"]7\11\2018[/TD]
[TD="align: right"]31.08[/TD]
[TD="align: right"]24.13[/TD]
[TD="align: right"]42.01[/TD]
[TD="align: right"]38.76[/TD]
[TD="align: center"]TRUE[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Just use:

=$F2

since your cells appear to already have TRUE/FALSE values in them, not text.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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