Data validation list shows what's at the bottom and not the

dee101

Active Member
Joined
Aug 21, 2004
Messages
270
I am using a name range as a list for the data validation, name range is
=OFFSET(Names!$C$2,0,0,COUNTA(Names!$C:$C),1) , this works to give me the names in the range, but when I click on the drop down arrow the list shows up form the bottom to the top, if I want to pick a name from the top of the list I have to scroll up to it, is there any way to make the data validation list show what is in the top of the list?

Say I have
1
2
3
4
5
6
7
8
9
10
When I click on the drop down arrow I see
4
5
6
7
8
9
10
And a blank cell, I want to see it as it is listed in the named range
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

rs2k

Well-known Member
Joined
Aug 15, 2004
Messages
1,413
Dee,
If the blank is to add a new entry, try this for your range, then your list will pick up all entries made.

=OFFSET(YOURNAME!$A$1,0,0,COUNTA(YOURNAME!$A:$A),1)

Colin
 

dee101

Active Member
Joined
Aug 21, 2004
Messages
270
Re: Data validation list shows what's at the bottom and not

Colin, the blank just shows up in the valadation list, it is not at the bottom of the range. I changed it to
=OFFSET(Names!$C$1,0,0,COUNTA(Names!$C:$C),1)
and the list shows from top to bottom, but it also shows whats in my header row, looks like I will have to delete it for this to work
 

Forum statistics

Threads
1,147,675
Messages
5,742,546
Members
423,737
Latest member
tom_xls

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
Top