Help -how would I highlight rows based on column value

crag8119

New Member
Joined
Mar 25, 2014
Messages
38
Hi,

I have different values in column D, if a row in column C or F contains a value from column D I want to highlight the entire row. How do I write a formula for this or Marco?

Many thanks
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
conditional formatting should do that

Is
this the same row -
ie
column D3 has 20 in
column C3 has 20 in
then highlight row 3
or
ie
column D8 has "fred" in
column F8 has "fred" in
then highlight row 8

or does it matter where it is
ie
column D8 has "fred" in
column F212 has "fred" in
then highlight row 8

With conditional formatting
you can use a formula
=select the range - say A1 to Z2000
use a formula
=AND( $D1 <> "" , OR( $D1 = $C1, $D1 = $F1 ) )

will check each row

different if the value can be anywhere, would use a countif() formula - but let us know
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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