ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   mark just cells containing data in a range (https://www.excelbanter.com/excel-programming/356548-mark-just-cells-containing-data-range.html)

Ctech[_114_]

mark just cells containing data in a range
 

I have a named range "myCells" (one column)

I know there is a function to mark jsut blank cells in Excel, however
haven't found any function to mark all cells containing some kind o
data.


how can I do this

--
Ctec

-----------------------------------------------------------------------
Ctech's Profile: http://www.excelforum.com/member.php...fo&userid=2774
View this thread: http://www.excelforum.com/showthread.php?threadid=52447


Carim

mark just cells containing data in a range
 
Hi Ctech,

You could use Conditional Formatting ...
Cell Value Is equal to =""
and pick a format you want .....

HTH
Cheers
Carim


Mark Lincoln

mark just cells containing data in a range
 
In Conditional Formatting, use

=(NOT(ISBLANK(A1)))

changing A1 to whichever cell begins your range, and apply your desired
format. Then use the Format Painter to copy the formatting to the rest
of the cells in your range "myCells".


Mark Lincoln

mark just cells containing data in a range
 
I seem to have used a couple of extra parentheses. This CF formula
works just as well:

=NOT(ISBLANK(A1))



All times are GMT +1. The time now is 11:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com