In the example I attached I have two sheets Tracker which is the main sheet someone would be working on and Array which holds a list of data to be used for validated drop down boxes.
Tracker Column A - Dynamic List Validated using Array Column A 
Tracker Column B - Dynamic list created from corresponding Row in Array
Array Rows have a different numbers of cells
What I've been attempting to accomplish is to populate a drop down box in Column B of Tracker based on what the user selected from a dynamic list in Column A on Tracker by Using the table in Array which holds multiple entries based off of Column A of Tracker. Neither 
I've been using Column B on Array as a index key for different formulas I've tried in addition to having set a range.
My biggest challenge with this so far is keeping everything dynamic since I'm trying to avoid hard coding any values and I can't predict ahead of time out many items may end up in each row and I would like to avoid having a needless amount of blank choices cluttering the list. So far I've tried using vlookup with different combinations of offset, indirect, and countif in order to build the data validation for Column B of Tracker.
I know this should be possible and I do believe I've done this before I just can't seem to wrap my head around how OpenOffice want's me to make this. Any help or insight anyone could give me would be greatly appreciated.
			
							[Solved] Double Dynamic Dropdowns with Data Validation
- 
				NahtanoJ88
 - Posts: 2
 - Joined: Fri May 30, 2014 1:10 pm
 
							
						[Solved] Double Dynamic Dropdowns with Data Validation
		
													
							
						
			
			
			
			- Attachments
 - 
			
		
		
				
- DoubleDynamicDropDownValidation.ods
 - (8.05 KiB) Downloaded 510 times
 
 
					Last edited by NahtanoJ88 on Fri May 30, 2014 11:23 pm, edited 1 time in total.
									
			
						
							OpenOffice 3.4.1 on Windows 8
			
						Re: Double Dynamic Dropdowns with Data Validation
Formula for "Source" of validity cell B2:
			
			
									
						
							Code: Select all
INDEX($Array.$B$1:$Z$1000;MATCH(A2;$Array.$A$1:$A$100;0))Check the box "Sort entries ascending".I would like to avoid having a needless amount of blank choices cluttering the list.
LibreOffice 6.4.5 on Windows 10
			
						Re: Double Dynamic Dropdowns with Data Validation
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
			
						Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
- 
				NahtanoJ88
 - Posts: 2
 - Joined: Fri May 30, 2014 1:10 pm
 
Re: (Solved)Double Dynamic Dropdowns with Data Validation
Thanks, You guys are amazing that was much simpler then the crazy nested formula mess I was trying to make it work.
			
			
									
						
							OpenOffice 3.4.1 on Windows 8
			
						Re: [Solved] Double Dynamic Dropdowns with Data Validation
I wonder, why Villeroy used 'Named expressions' instead of named range? Is there some sense in this decision or just an arbitrary choice?
Under 'named range' I mean 'Data -> Define range'.
			
			
									
						
							Under 'named range' I mean 'Data -> Define range'.
Ubuntu 14.04 LTS, Libre Office 5.0.1.2
			
						Re: [Solved] Double Dynamic Dropdowns with Data Validation
The difference between "named ranges" and "named expressions" is an artificial one. I used named expressions "Countries" ($Sheet1.$A$1:$A$4) and "Cities"($Sheet1.$B$1:$IV$4). These are absolute references to cell ranges, therefore "named ranges". In the same document you find some named expressions which are not used in that document. They return some text (current sheet, sheet separator, URL of document).
Then there are "database ranges" (Data>Define...). These are absolute references to database-like lists which may be linked to a row set of some external database.
Finally there are range labels which virtually nobody uses.
			
			
									
						
							Then there are "database ranges" (Data>Define...). These are absolute references to database-like lists which may be linked to a row set of some external database.
Finally there are range labels which virtually nobody uses.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
			
						Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: [Solved] Double Dynamic Dropdowns with Data Validation
I found awesome using of just two ranges for countries and cities as opposed to type a list of cities for each country!
What do you mean under 'range labels'?
			
			
									
						
							What do you mean under 'range labels'?
Ubuntu 14.04 LTS, Libre Office 5.0.1.2
			
						Re: [Solved] Double Dynamic Dropdowns with Data Validation
menu:Insert>Names>Labels... treats the first row and/or the first column as pointers to the entire row/columngalaxy5 wrote:What do you mean under 'range labels'?
='Charlie' references the entire row/column labeled "Charlie"
='Charlie'!'Alpha' references the intersecting cell with row label and column label "Charlie" and "Alpha"
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
			
						Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice