Solved

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

Posted on 2014-11-20
7
957 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 45

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 31

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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

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 45

Expert Comment

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

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 31

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

762 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

21 Experts available now in Live!

Get 1:1 Help Now