Conditional Formatting 1 cell if another has any type of data there

weaselmcguff

Board Regular
Joined
Feb 24, 2006
Messages
246
Conditional formatting issue.

I want column M to be highlighted if there text in column P.

I have tried in Column M conditional formatting =ISBLANK<>"" and nothing changes with a fill of RED
I have tried in Column M conditional formatting =$P$13<>"" Fill of RED and ALL cells change to RED even those that are empty

What am i missing?

Thanks for your time
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi weaselmcguff,

For your conditional formatting in column M, select the range you want to conditionally format, create a new rule, then "Use a formula to...", and add the format changes (highlight, font, etc.). In the formula bar, add one or more of the following:
  • When the cell in column P of the same row is not blank, try; =NOT(ISBLANK(P1))
    • If you want to base the formatting on a specific cell in column P, make it an absolute reference, like $P$1
  • When the cell in column P of the same row has text in it, try; =CELL("type",P1)="l"
  • When the cell in column P of the same row has a number in it, try; =CELL("type",P1)="v"
I would not conditionally format the whole column, only what you need or are using. Adding extra cells only makes your file size larger and it will calculate slower.

I hope that helps,

Doug
 
Upvote 0
How about
Fluff.xlsm
MNOP
1
21a
31
41b
51
61
71c
81
91
101c
111
12
13
14
15
Main
Cells with Conditional Formatting
CellConditionCell FormatStop If True
M2:M15Expression=P2<>""textNO
 
Upvote 0

Forum statistics

Threads
1,214,915
Messages
6,122,214
Members
449,074
Latest member
cancansova

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