Let's say in Sheet1 I have a list of codes ("AA", "QF", etc).
In Sheet2, I want a particular column to have cells that, when you click them, have a dropdown that consists of values from the code-list on Sheet1. (so you could fill the value of the cell with AA, QF, etc).
Is this doable?
As cardern has said list will do the job.
Here is how you can use a named range.
Select your range and enter a new name:
Select your cell that you want a drop down to be in and goto data tab -> data validation.
Select 'List' from the 'Allow' Drop down menu.
Enter your named range like this:
Now you have a drop down linked to your range. If you insert new rows in your range everything will update automatically.
Yes it is. Use Data Validation from the Data panel. Select Allow: List and pick those cells on the other sheet as your source.
That cannot be done in excel 2007. The list must be in the same sheet as your data.
It might work in later versions though.
I was able to make this work by creating a named range in the current sheet that referred to the table I wanted to reference in the other sheet.
Excel has a very powerful feature providing for a dropdown select list in a cell, reflecting data from a named region. It'a a very easy configuration, once you have done it before. Two steps are to follow:
Create a named region,
Setup the dropdown in a cell.
There is a detailed explanation of the process HERE.
Related
Is it possible somehow to do the following in Microsoft Excel?
Every list has a single table with its own Header:
Table may be of any size, and number of such lists is unknown in advance.
I need to gather all those tables in the very first list which is called "Main" so that each table just followed by another like this:
I need it only for printing, so sorting and another stuff like this is unnecessary.
Microsoft Excel - 2019.
I think you can achieve what you are after using named ranges per this video.
The ranges are then accessible from the dropdown to the left of the formula bar.
I find it easy to select area of tables first, then define a named range based on currently selected area, rather than entering it in the prompt per the video.
1. Insert -> Name -> Define Name
If you have a workbook with multiple sheets you can define names on any sheet, So lets's say table1 was in sheet1, and table2 in sheet2. If sheet1 was the active sheet, you could still select the named range of table2, and Excel will automatically flip sheets for you and select that area as if you had just highlighted the region.
Later when it comes to printing, select the named area, and the say
2. File -> Print Area -> Set Print Area
Then do:
3. Print and instead of selecting Active Sheet use Selection
(I am talking about doing it on a Mac V16.22 - but should be similar on Windows too)
EDIT:
There is IMPORTRANGE in Google Sheets.
Not sure if something similar in Excel was what you were after.
So take a look at this too.
How to change Excel sheet source dynamically depending on particular values?
I am developing an Excel sheet. Depending on one dropdown value, fields of other dropdown should change dynamically.
Suppose I choose one value from dropdown1, dropdown2 should get certain column from "Sheet2" and if I choose another value from dropdown1, dropdown2 should get certain column from suppose "Sheet".
How can I achieve this?
This should be related to Excel formulas I guess.
Just follow this tutorial
Create lists
Give lists a name
Use data validation to create dropdown
Use indirect when creating new data validation
One can create a list using the data validation tool. However is it possible to do the same using only a formula (not VBA)?
If I have a named range consisting of several cells (Names), I can reference this in another cell (=Names). However only the contents of the first of these cells will appear, and no drop-down menu presenting all options will be created.
Is there a way to do so without VBA and without data validation?
Thanks
As I know it is not possible to create a drop down list with formula instead of data validation but below method may be used to achieve your goal (Method already also mentioned by #PermaNoob in the comment section.)
A page layout like this:
Data validation formula as following:
=IF($A$2="List",$C$2:$C$8,$D$2:$D$8)
And also alert option will be disabled ( to be able to add custom data):
When you write "List" in the cell "A2" you will get the Column C in the drop down list and if you do not write anything in cell "A2" you will get D column in the drop down list.
I have an excel sheet that I need to pull information from. I have a name column that I want to be selectable in a drop down menu, but when it is selected I need it to bring up the rest of it's row of information that is associated with it. I am also trying to format the information in a different way than just in a straight row across.
Add a new sheet and list all variations
Select variations and add a name to selected range
In the cell where you want to see the dropdown select validation from the data tab
Select LIST and use your named range as a reference
also check here:
http://www.techrepublic.com/blog/microsoft-office/how-to-add-a-drop-down-list-to-an-excel-cell/
Hi I'm just wondering if there is a way to in Excel have a drop down menu that changes with the number of entries in the column.
I am currently using:
Data - Data Validation - List, to create my drop down menu.
As I am adding more entries below the Source range of the List I was wondering if there is a way to dynamically update this range? I have written VBA forms and can achieve a similar result using those but I am just wondering if this can be streamlined by not having a form popup for my search.
Also is there a way to have entries only added to the list based on a condition?
Thanks for any help.
You would use a dynamic named range. So let's pretend you have a worksheet specifically designated for your dynamic drop-down list source. We'll call the sheet "List" and we'll put the entries in column A starting in cell A1.
Now create a named range (we'll name this range listData) with this formula:
=List!$A$1:INDEX(LIST!$A:$A,MATCH(REPT("z",255),LIST!$A:$A))
Steps to create a named range: Go to Data -> Named Range -> New
Now for your data validation list, simply set it to the named range:
=listData