Make drop-down list permanent - excel

I am an intern with limited VBA experience so please excuse any naivety.
There are two drop down list options (SHOWN IN THE ATTACHED LINK), the drop down list for state is permanently displayed regardless of the cell selected and is formatted in a way that makes it clear that their are options while the country drop down only appears when the cell itself is selected and an objective user would not know there is a list/choice. How do I replicate the state cell for the country cell. Is there a way to find what vba code was used for the state cell?
DROP-DOWN LIST IMAGE

Related

Hi, how to change the value in the dependent drop down list immediately after copying the drop down to another cell in excel

I have created a dependent dynamic drop-down list based on another drop-down. Please check the below image. However, when I am copying the drop-down to another cell, Although the drop-down list is getting updated based on the dynamic reference, the value that was selected earlier was not changing.
For example, as shown in the below image. I have copied the drop-down that has a value of 4.09 to another cell. As you can see although the drop-down list got updated the value 4.09 is not changing. I ideally expect it to change as 4.09 is not a part of this dropdown list values. could anyone help me how can I achieve this?
See my screenshots below - here are two options you can consider (once you've pasted the value corresponding to 4.09 into a cell, it will remain that way until it's changed by some mechanism other than validation lists - if I've interpreted/understood your Q properly - these lists are only designed to capture an input not change other cells)..
Option 1:
Use develeper tab 'combo box' option:
I've inserted this combo-box so that it aligns with cell D2 (hold 'alt' when dragging edges with mouse to align pefectly with neighbouring cell adjacencies).
Notice the two cells in F3:G3 - the former corresponds to your validation-list selection (which is what I understand you really want to achieve, the second is a simple lookupp to bring back the valee itself
Input range: B3:B7
Linked cell: G3
Customise according to your specific needs/set-up noting my example is purely demonstrative.
Now whenever I make a new selection (e.g. light build or q
Option 2 - use worksheet_change VB code:
shorcut keys: (alt + F11 to open VB; CTRL + R to view Project Explorer if (default) view not already showing; double click sheet in question (here Sheet1) to open VB editor pane, insert following code:

Magic Hidden Excel Mechanism

I have got a sheet of a customer with a Dropdown List.
By selecting an Item of the DD some magic happens:
a part of the sheet is filled with values and is color-formatted as a table.
But I cannot identify any VBA macro or any formula behind the DD-List action.
What magic automatism is going on here?
What I believe is happening is that they included some Conditional Formatting in the table. When you change the selection on the drop down list, there may be an INDEX statement that pulls the records for that newly selected drop down.
I would suggest checking by clicking Conditional Formatting in the ribbon and seeing if there any rules under Manage Rules.

creating a blank option on a drop down list option

Within Excel spreadsheet I would like to create a drop-down list with a blank space incase unknown information has to be inputted. I created a list for the most common information that is inputted but once in a blue moon rare information needs to be logged. Since the information is so rare and unknown it’s not possible to include it within the excel drop down box (since it’s unknown at the moment and will only be used once I therefore don’t want to add it within the drop-down list). I have created the list with a blank spot so I can type in the rare information in but when I click the blank information and try to type in the rare information a box pops up and says, this value doesn’t match the date validation restrictions defined for this cell. Is there a way to overcome this in Excel?
enter image description here
Also, once that problem is solved, I would also like to also have a drop list always present in the column (not just when the field is selected) and I did go to insert and symbols Wingdings 3: 128 but that didn’t work. Maybe it’s because I have included a blank slot in the drop-down list. What am I doing wrong? Thanks in advance.
I think a dropdown list can only have predefined values. If you need other potential values, you would need to add an additional column for that data. Maybe use an option of "Other" in the dropdown and have an extra column for unusual values.

ms excel - data validation for 2 drop down list

I'm looking for the solution in excel data validation for 2 drop down list.
When I choose 1st drop down list 2nd drop down list will auto populate the correct value from table. If user choose 2nd drop down list 1st drop down list will auto populate the value also.
Can someone help me on this issue ?
I attach the sample file for my problem.
enter image description here
enter image description here
thanks!
Sample File
Trying to do a two way I don't think is going to work in the way you are trying so I am not surprised the examples you found were for one-way. I am open to being corrected.
You could hack around it for example using two form control listboxes linked to the same cell so a selection in one updates the other.
Then because an item might be out of view listbox underneath have two cells which use the linked cell to index back into the source lists.
In the example above, there are two list boxes from form controls in developer tab (customize ribbon > add developer tab.
Developer tab form control - 2nd from the right
You add two of these in to the sheet.
Right click format control on each one
Set the input range to the range containing your list of values for that listbox and set the linked cell e.g. G1
Ensure that whilst you select different input ranges for each list box, they should have the same linked cell e.g. G1.
Underneath the listboxes put a formula which uses the linked cell G1 to index back into the source lists for each listbox so you can retrieve the selected value and have it visible, in case not visible within listbox.
Example testing:

Excel "true-false" to checked boxes

I have an Excel spreadsheet that I'm generating from a SharePoint dashboard. It's turning my checkboxes in the SharePoint table to "true" or "false" values in the Excel spreadsheet. I wanted to know if it is possible to turn those "true" or "false" values back into checked boxes, with the appropriate check or uncheck option selected.
Any help at all is appreciated!
I strongly advise against using check boxes in Excel if you already have the data as TRUE/FALSE in a cell. Check box controls are meant to be for user forms, and even though they can be placed in the spreadsheet grid, they live in a layer on top of the spreadsheet. Yes, they can be linked to a spreadsheet cell, but this is cumbersome.
Instead of using a macro that inserts a check box for each data row you could use a helper column with a formula along the lines of
=IF([#checkBoxField],"a","r")
Then format the helper column with the Marlett font, which will show the letter "a" as a tick and the letter "r" as a cross.
Applying a formula like this will be much faster than inserting check box controls into each row and linking them to the field cells.
You can add a checkbox over a given cell, then edit its properties (Format Control --> Control Tab) and set its Cell Link property to the address of the cell; i.e. "B2". If you have too many such boolean cells, the task is tedious so you might need to automate it with VBA.
p.s. I agree with #teylyn that this shouldn't be a good choice if you have a huge column of boolean data; it adds too many shapes which is cumbersome. You should use it if the number of boolean cells is rather limited.

Resources