Conditional formatting for 2 cell value

argandoz

New Member
Joined
Mar 5, 2009
Messages
13
Hi! Guys,

I have an spreasheet where column "D" to column "Z" is formatted with currency and formulated. Column C is date formatted for "DATE RECEIVED". If d2...z2 AND c2 are blank, leave as ease. However, if c2 is filled with date and any of the cell from d2 to z2 contain a value, that cell (any from d2 to z2) will be highlighted with yellow, value will turn to red and font shall be bold. the rest of the cell will remain as ease.

Can anyone out there find me conditional ormtting solution for this.

Thanks.

Argandoz
 

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"
Place your cursor in Cell D2 First, then pull to Z2 to select the range:

Format | Conditional Formatting ... | Formula is

=And(Len($C2)>0,Len(D2)>0)

Set formatting and enter...this should apply to all the cells from D2 to Z2 properly. Then copy the formatting down the column.

Does that work?

Alex

------------
Edit: maybe this works for both your criteria #1 (some cell in D2 to Z2 must have a value) and criteria #2 (that cell will have formatting applied) -- since if the #2 is true, #1 must also be true.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,573
Messages
6,120,318
Members
448,956
Latest member
Adamsxl

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