I have two linked tables in a spreadsheet as below: A B C D E F G H J Table 2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21. the first shows details (A)-(J).
The second table numbers 1-21 Is it possible to link each letter randomly to each of the numbers (1)-(21) This would in practice mean, as example: If clicking on (A) any one of the numbers 1 to 21 will be selected at random If clicking on (D) then likewise – any one of the numbers 1 to 21 will be selected at random And this applies equally to all of the letters (A)-(J) If so how is this achieved? I would like to see at your workbook to provide a solution, This will require a custom VBA solution as formulas will be volatile and for recalculation, random number will be recalculated. Once, I have a look on your sheet, I can modify that to give you custom function. Request you to please prepare and upload a sample / dummy file sans confidential / sensitive data to Onedrive and share the link? It will help me to give prompt and high quality solution.
Best regards Vijay Verma Timezone: UTC+05:30, PST+12:30 Availability Hours (UTC): 05:00 AM - 06:00 PM. These tables are intended to be inserted into a book in order to provide a way of reading that might add interest, and an intuitive approach to identifying sections of particular relevance. This is achieved by selecting and clicking on any one of the letters A - J in table 1 Every letter in table 1 is linked to all numbers (1-21) in table 2. Only one number is functional for any letter at any single moment, being chosen by the random function set up for table 1 Numbers (1-21) are fixed hyperlinks to different bookmarked sections in the book So as an example, if a reader selected 'D' twice in succession then on the first occasion the randomised function might link to hyperlink 6 and open that relevant bookmark The second time 'D' was selected the random function might link instead to hyperlink 17 and open a different bookmark. I hope this is clear in terms of what is intended.
Adding a drop-down list to a cell or range using Data Validation is a simple matter. Data Validation is used to define restrictions on what data can or should be entered into a cell. Here we’ll use a List to restrict what values can be entered into a cell. Create a Drop-Down List for a Cell or Range Select the cell or range you want to use for a drop-down list, then. Choose Data Validation from the Data Tools group on the Data tab.
All other cells in the Selection will remain selected. Your best bet would be to add these to your Personal Macro workbook so that they are available to all open workbooks in Excel. This procedure will remove the Active Cell from the Selection.
Select the Settings tab. In the Allow box, select List. Click the Source box. Type in a list of values separated by a comma. Make sure the In-cell dropdown box is checked. Click OK The list I created was for cell A1, which is shown below. Excel 2010 Drop Down List List Data Sources Manually entering the source data for the Excel 2010 drop down list is probably the least desirable method.
A better way is to put the list in a range, then refer to the range. The same list data was put into the range J1:J6, then I changed the source reference to these cells.
This is a better method than manually entering the values, but older versions of Excel require the list to be on the same worksheet. One way around this, and a better solution, is to give the List range a Name.
You can give the List range a Name then use it for the Source. For example, I selected the range J1:J6 then typed TheNames into the, thereby creating a Named Range.
On the Data Validation dialog box I typed in =TheNames into the Source box. Now let’s assume that we have to add a couple more names to the list. Instead of changing every cell that references this Data Validation list, we just change the reference to the Named Range.
(Choose Name Manager, select the Named Range, change the reference in the Refers to box, then click the green arrow to make the change and click Close.) But if the list will grow over time, changing the reference should be done automatically with a dynamic Named Range formula. We’ll do this by using the OFFSET formula. Choose Formulas Name Manager. Select New. Type a Name in the Name box (I’ll use myNamesList). In the Refers to box type =OFFSET(Sheet1!$J$1,0,0,COUNTA(Sheet1!$J:$J),1).
Click OK Now select the cell or range with Data Validation and,. Choose Data Data Validation. Select the Settings tab.
In the Source box type in =myNamesList (or the Name you created). Click OK This Named Range formula is dynamic, which means the source list will expand when names are added to the list. If the list contains more than 8 values the drop-down list will have a scroll bar. Excel – Pick from Drop Down List Hopefully you can now create a drop-down list that will meet your needs. Problem–How to display a default selection from DDLs? Great tool Gregory Thanks.
Great posts for very basic Excel user. Problem defined– Using your Drop Down List for Suites, Discounts, Specials, and other options in B&B booking system database (Generally selecting various costs via LOOKUP) –On selection of new booking record– How to display a default selection from DDLs? Discounts=”None”, Special Packages=”None” Tools– iMac-3.06 GHz Intel Core i3, OS X 10.6.8 Snow Leopard plan to upgrade to OS X 10.7x Lion Working– Upgrading small (. Larry Anderson I see all kinds of dependent drop down lists where you select an item and then go to the next column and select another item.
In my case I would like to create a dependent drop down list where you select a Hallway (example: Hallway 1) in say cell A1, after selecting Hallway 1, I would then click on cell a1 drop down list again and have it show me a list of all the Room Numbers in Hallway 1 being the final result. So, Click on drop down arrow, Click on Hallway 1, Click on drop down arrow, Click on Room # 125. Cell A1 should now show 125.
I am doing this for a High School for Substitute Teachers. Any Help would be greatly appreciated. Thanks Larry. Larry Anderson Hi Gregory, I did find a spreadsheet that will do exactly what I want without VBA (I think).
I am having trouble trying to figure out the formulation in the spreadsheet. In this spreadsheet you select the A-Names and when that comes up, you click on the drop down arrow again and then a list of Names beginning with A appears and you select the name.
This is the name that will appear in the same drop down list after clicking on the drop down list twice. HOWEVER, when I try to modify this sheet to show Hallways and Room #s I run in error problems. (For some reason which I do not know it does not like numbers???). I tried to stick a letter in front of the number and it works.
But, the room #s do not have letters in front of them. I even tried to make the letter white but when it allows you to select it the letter appears in front of the room # which will not be acceptable. I would be most willing to send you this small spreadsheet example for you to look at if you wish. Thanks Larry. Graham Crooks I’ve a lot of upgrading from Excel 2003 to Excel 2007/2010 to do, so this was a great find – thanks.
One question I’ve sorted my lookup list; let’s say it’s colours in a LUPallette list: Red, Green, Blue, Purple. I’ve applied that to the right cell in the row in my table – all good. However, folks can type in directly, so they may enter “red” not “Red” – that presents some presentational differences which are a bit fussy I know but annoying none-the-less. Is there a way to force the entry to appear as Capitalized without the user having to hit the shift key?