Conditional formatting random text

mrkasten

New Member
Joined
Jul 20, 2011
Messages
32
I need to have an entire row highlight red when text has been entered into column 'AB'. The problem I am running into is that the text will never be the same because it is an address. I can get the cell to turn red by using the unigue conditional formatting. I already have a macro running on this page so if that is the only way i will need help adding the new code to my exciting code.

Thanks for any future help
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
How about just checking the length of the entry in AB to see if it is greater than zero?, i.e.:
Code:
=LEN($AB1)>0
 
Upvote 0
That works perfectly minus the fact that it also fills the column headers. For the selected data i have to select the entire table because large chunks of new data gets added each month and i never know how far down it will go
 
Upvote 0
Never mind i just figured it out by switching the $AB1 to $AB2(something simple i should of caught the first time).

Thank you so much for the help and quick response
 
Upvote 0
That works perfectly minus the fact that it also fills the column headers. For the selected data i have to select the entire table because large chunks of new data gets added each month and i never know how far down it will go
If there is some way to differentiate the file headers from the data (i.e. they always start a certain way, etc), you can incorporate that into the Conditional Formatting Logic. For example, let's say the header always says "Header". Then you could use:
Code:
=AND(LEN($AB1>0),$AB1<>"Header")
 
Upvote 0
If there is some way to differentiate the file headers from the data (i.e. they always start a certain way, etc), you can incorporate that into the Conditional Formatting Logic. For example, let's say the header always says "Header". Then you could use:
Code:
=AND(LEN($AB1>0),$AB1<>"Header")

this filled everything
 
Upvote 0
this filled everything
Please post the exact formula you are trying, a small sample of what might be in column AB and indicate which ones should be highlighted and which ones shouldn't. Then I can try to re-create your exact layout.
 
Upvote 0
You said that it filled everything though.
What are some examples of entries in AB that you do not want highlighted?
Is there a common thread to these entries you don't want highlighted (how can we identify them from the data you do want highlighted)?
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,702
Members
452,938
Latest member
babeneker

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