Lista desplegable

%3CLINGO-SUB%20id%3D%22lingo-sub-1887604%22%20slang%3D%22es-ES%22%3EDrop-down%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1887604%22%20slang%3D%22es-ES%22%3E%3CP%3EHello%2C%20I%20have%20a%20reference%20matrix%20for%20the%20list%20('Sheet2!'%20%24A%242%3A%24A%24230)%20but%20that%20array%20changes%20according%20to%20a%20conditional%20(Index%20%2B%20Match)%2C%20I%20want%20to%20know%20if%20I%20can%20add%20in%20the%20reference%20line%20for%20the%20list%20a%20formula%20indicating%20the%20position%20of%20a%20cell%20that%20is%20where%20the%20list%20ends%20as%20the%20conditional%20criterion%20for%20the%20reference%20table%20changes%3B%20keeping%20the%20origin%20fixed%2C%20something%20like%20that%2C%20'Sheet2!'%20%24A%242%3A%5BADDRESS((COINCIDIR(%22%22%2CA%3AA%2C0)-1)%2C1)%5D%2C%20try%20to%20enter%20it%20as%20is%20but%20it%20marks%20an%20error%20when%20giving%20you%20accept%2C%20I%20could%20be%20instructed%20whether%20or%20not%20it%20is%20possible%20and%20if%20possible%20as%20I%20can%20generate%20the%20criteria.%20I%20occupy%20office%202016%20and%20w10%3C%2FP%3E%3CP%3EThanks%20a%20lot.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1887604%22%20slang%3D%22es-ES%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1887676%22%20slang%3D%22en-US%22%3ERe%3A%20Lista%20desplegable%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1887676%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F827096%22%20target%3D%22_blank%22%3E%40Salvador_2703%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3D%20Sheet2!%24A%242%3AINDEX(Sheet2!A%3AA%2CMATCH(%22%CE%A9%22%2CSheet2!A%3AA))%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3Eshould%20work.%20The%20term%20following%20the%20%22%3A%22%20must%20return%20a%20range%20reference%20on%20'Sheet2'%20to%20the%20formula.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20attached%20a%20workbook%20so%20that%20you%20see%20a%20translation%20into%20Spanish.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%5B%3CEM%3EWith%20Excel%20365%20it%20might%20simply%20be%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3E%3D%20Sheet2!%24A%242%23%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3Ebut%20that%20is%20of%20no%20use%20in%20Excel%202016%3C%2FEM%3E%5D.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1887680%22%20slang%3D%22es-ES%22%3ERe%3A%20Drop-down%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1887680%22%20slang%3D%22es-ES%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F214174%22%20target%3D%22_blank%22%3E%40Peter%20Bartholomew%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%3CSPAN%3EHello%2C%20thank%20you%20very%20much%20for%20the%20data%2C%20I%20tried%20to%20reference%20as%20you%20indicated%2C%20however%20it%20throws%20me%20an%20error%20%22You%20cannot%20use%20reference%20operators%20(such%20as%20unions%2C%20intersections%20and%20intervals)%20or%20matrix%20constants%20for%20the%20data%20validation%20criteria%22%20the%20problem%20is%20that%20the%20range%20of%20values%20%E2%80%8B%E2%80%8Bfrom%20which%20it%20takes%20the%20data%20for%20the%20list%20has%20text%20data%20that%20varies%20from%205%20to%20213%2C%20and%20at%20the%20moment%20of%20generating%20the%20change%20in%20the%20list%20it%20sends%20me%20a%20lot%20of%20blank%20spaces%20in%20the%20final%20list.%20I%20share%20a%20test%20file%20of%20what%20I%20am%20putting%20together%20to%20see%20if%20it%20is%20possible%20you%20can%20support%20me.%0AThank%20you%20very%20much%20for%20your%20support.%3C%2FSPAN%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hola, tengo una matriz de referencia para la lista (=Hoja2!'$A$2:$A$230) pero esa matriz cambia según una condicional (Índice + Coincidir), quiero saber si puedo añadir en la línea de referencia para la lista un formula que indica la posición de una celda que es donde termina la lista según cambia el criterio condicional para la tabla de referencia; manteniendo el origen fijo, algo así =Hoja2!'$A$2:[=DIRECCION((COINCIDIR("",A:A,0)-1),1)], trate de ingresarlo tal cual pero me marca un error al momento de darle aceptar, me podrían instruir de si es o no posible y de ser posible como puedo generar los criterios. Ocupo office 2016 y w10

Muchas gracias.

3 Replies

@Salvador_2703 

= Sheet2!$A$2:INDEX(Sheet2!A:A,MATCH("Ω",Sheet2!A:A))

should work. The term following the ":" must return a range reference on 'Sheet2' to the formula.

 

I have attached a workbook so that you see a translation into Spanish.

 

[With Excel 365 it might simply be

= Sheet2!$A$2#

but that is of no use in Excel 2016].

@Peter Bartholomew 

Hello, thank you very much for the data, I tried to reference as you indicated, however it throws me an error "You cannot use reference operators (such as unions, intersections and intervals) or matrix constants for the data validation criteria" the problem is that the range of values ​​from which it takes the data for the list has text data that varies from 5 to 213, and at the moment of generating the change in the list it sends me a lot of blank spaces in the final list. I share a test file of what I am putting together to see if it is possible you can support me.
Thank you very much for your support.

 

@Salvador_2703 

I have had a look at the workbook you provided.  Some of the formulas are pretty advanced and reminded me that filtering and sorting were not straightforward operations before Office 365!

I prefer to start by using Tables for input data so that a have structured references that adjust dynamically to the data.

The formula I proposed before does not work in cases where the apparent blanks beyond the end of an array are created by formula.  I have played with a number of formulas (including some dynamic arrays used for checking purposes) in the copy of your workbook.  Probably, the best formula I can suggest is

 

= INDEX(Output,1) : INDEX(Output, MATCH(TRUE,Output="",0)-1)
which simplifies to
= INDEX(Output,1):INDEX(Output,N)

 

if you already have a count of the number of occurrences that exist.  

ps I have just noticed part of your reply that didn't display.

Validation lists will accept range operators if you hide them within a defined Name (I have used 'ValidationList').