Solved

Make a drop-down arrow in a Data Validation List Box Visible

Posted on 2014-11-20
7
1,100 Views
Last Modified: 2014-12-16
Hello -

How do I make the drop-down arrow remain visible for a list of values using Data Validation?
0
Comment
Question by:angelfromabove
7 Comments
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40456365
Do you mean this?
????If so I don't think it's possible, but if your aim is to let your users know where they are you could color or outline the cell, etc.
0
 
LVL 47

Accepted Solution

by:
Wayne Taylor (webtubbs) earned 500 total points
ID: 40456407
Data Validation drop-downs will only show the arrow when the cell is selected. As Martin mentioned, you can highlight the cell another way.

However, if you want a drop down to remain visible at all times, you can add a ComboBox from the Forms controls, found under "Insert" on the Developer tab of the ribbon....

Forms Combobox
You can then resize the control to the desired size. To set it's properties, right-click the control and select "Format Control". On the "Control" tab, enter the range for the input range (items in the drop-down), and the linked cell, which is the cell that will contain index of the selected item from the drop-down. I generally like to set this to the cell beneath the ComboBox so it is hidden. You can then obtain the actual value using the INDEX function....

    =INDEX(A1:A10, B1)

...where A1:A10 is the input range and B1 is the linked cell.
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 40457117
Also, with Data Validation, the arrow only appears if the Data Validation option is set to List.
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:angelfromabove
ID: 40457427
Thanks all - It appears that this arrow won't remain visible unless I use a Combo Box as Wayne has suggested.

Wayne: Where should I place that Index formula?  I have my Data Validation List drop-down list set up to work with a Scorecard. The way it works is, when I select a value from the drop-down list, I have a series of V-lookups in the cells below referring to the value in the Data Validation Cell and pulling data from other sources based on that value. Will the combo box work in the same fashion if I refer to the linked cell in my Vlookup formulas? Where and how does the index formula fit in?

Thanks!
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40457495
You'll find that the text of the Forms combobox is very small.
0
 
LVL 81

Expert Comment

by:byundt
ID: 40460169
Instead of using a VLOOKUP with Wayne Taylor's combobox, I suggest using an INDEX formula. Let's suppose that A2 is the linked cell and that your lookup table is in AA2:AZ100. Your formula might be either of:
=IFERROR(INDEX($AA$2:$AZ$100,$A2, 3),"")           return information from column AC of lookup table
=IFERROR(INDEX(AC$2:AC$100,$A2),"")

Both of the formulas above are designed to be copied across to return data from successive columns.

Cheers!

Brad
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 40461932
Another option would be to instigate the Pick From list option that is in the right click menu for a cell.

This assumes that you are entering a value into a cell immediately after a previous list. The List generated shows all values in the cells above. Therefore, if you were to replicate all possible values (in hidden rows if required) above your table but in the same column, as you complete the list row by row, the list options can be selected.

This can be forced to appear whenever a cell in that column is selected using a simple VBA routine.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

If ActiveCell.Column = 1 And ActiveCell.Row < 20 Then SendKeys ("%{Down}")

End Sub

Open in new window

This will initiate the drop down list on any cell in column A and above row 20. If not in the cell immediately below the last entry, the dropdown list will be blank.

Thanks
Rob H
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now