Formating cells

  • Thread starter Thread starter Adrian
  • Start date Start date
A

Adrian

Is there a way to utomatically remove boarder if there is no value in the
cell and place a boarder i there is?
 
Hi,

yes put a border round the cell as normal then use conditional formatting -
cell value is 0 (or use a formula to test if the cell isblank) & set the
conditional format to no border
 
Select the cell or cells you want this functionality on (if you select more
than one cell, note which one is the active cell) and click
Format/Conditional Formatting in Excel's menu bar. On the dialog box that
appears, select "Formula Is" from the first drop down and put this formula
in the second field...

=LEN(A1)>0

NOTE: Change the A1 reference to the address of the cell (or, in the case of
multiply selected cells, the address for the active cell).

Next, click the Format button and then select the Border tab on the next
dialog box that appears. Select the type of outlining you want (you can also
select other format options from the other tabs if you wish) and then OK
your way back to the worksheet. Whenever you enter something into that cell
(or one of the cells from the multiple selection), the border option you
picked will appear.

Rick
 
Format>Conditional Formatting>Formula is:

=NOT(ISBLANK(cellref))

Format>Border


Gord Dibben MS Excel MVP
 
Thanks DazzData, did not get what you said. i figured it out eventually, so
thanks for your help.
 
Thanks for your response Gord. I figured it out by a combination of all the
replies. All of them as a single comment where confusing but put together
they made sense, thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top