Conditional Formatting: If, then

tthebert

New Member
Joined
Oct 24, 2012
Messages
31
Hi all,

Thanks for all you help on previous posts. I'm a young professional who uses excel often at work and its been very helpful to my development.

I am currently struggling with the shortest way to tackle a project in excel.

There is a set of data I have filtered based on select criteria - consequentially there are rows hidden from the filter. If I were to copy down, it will copy into the hidden rows.

So I'm trying to use conditional formatting to say if there is text (just not blank) in the cell next to it, then make this cell red.

I think I'm on the right track by creating a new formatting rule and then applying the formula, but I'm not sure what the formula would be. Lets call the cell I want to be highlighted x and the cell that must have text in order for x to be highlighted, y.

I want something like =IF(y=NotBlank, x Fill Red, No fill)

I might not be clear here so happy to answer any questions to clear things up if necessary.

Thanks again.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,215,425
Messages
6,124,824
Members
449,190
Latest member
rscraig11

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