empty cells in the drop down list

N

NirOrtal

Hi

I’m working with Excel 2007

I have a list of 5 items from A2:A6.
I highlighted A2:A11 and named it in the Name Box as “Servers†(I need the
empty cells for future items)
In F1 created drop down list and its data validation is “=serversâ€
When I pressing on the drop down box, the 5 items appear but also appears
the space of the 5 empty cells (A7:A11)
How can I eliminating the empty cell to be appear in the dropdown box? I
don’t want every time that I’m adding new items, to modify the Name Box

Thanx
 
A

Arceedee

In the validation criteria dialogue window - allow - select 'list' - click
'ignore blank' - ok

Please don't forget to click if this was useful
 
T

T. Valko

Use a dynamic range formula...

Create the named range...
Formulas tab>Defined Names>Name Manager>New
Name: Servers
Refers to:

=Sheet1!$A$2:INDEX(Sheet1!$A$2:$A$11,COUNTA(Sheet1!$A$2:$A$11))

Use the appropriate sheet name.

OK>Close

Then, as the source for the drop down use =Servers
 
N

NirOrtal

where i put
"=Sheet1!$A$2:INDEX(Sheet1!$A$2:$A$11,COUNTA(Sheet1!$A$2:$A$11))"? in the
cell of the drop down list?
 
T

T. Valko

No, you put it here:
Create the named range...
Formulas tab>Defined Names>Name Manager>New
Name: Servers
Refers to:

Enter the formula in the little box to the right of where it says: Refers
to.

That box looks too small but it'll fit!

Tip: write the formula in a worksheet cell then just copy it and paste it
into that little box.
 
N

NirOrtal

THANX!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

T. Valko said:
No, you put it here:


Enter the formula in the little box to the right of where it says: Refers
to.

That box looks too small but it'll fit!

Tip: write the formula in a worksheet cell then just copy it and paste it
into that little box.
 

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

Top