Using the indirect formula in Names in data validation

%3CLINGO-SUB%20id%3D%22lingo-sub-1677101%22%20slang%3D%22en-US%22%3EUsing%20the%20indirect%20formula%20in%20Names%20in%20data%20validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1677101%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20use%20Names%20in%20data%20validation.%20That%20works%2C%20but%20the%20Names%20are%20defined%20by%20the%20indirect%20formula.%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20there%20is%201%20drop-down%20window%20in%20which%20several%20defined%20Names%20are%20presented%2C%20depending%20of%20the%20choice%20in%20this%20drop-down%20window%20the%20list%20of%20choices%20in%20the%20second%20drop-down%20window%20changes.%20This%20works.%3C%2FP%3E%3CP%3EBut%20when%20the%20Names%2C%20of%20which%20the%20first%20drop-down%20window%20consists%2C%20are%20defined%20by%20using%20the%20indirect%20formula%20it%20stops%20working.%3C%2FP%3E%3CP%3EI%20want%20to%20use%20the%20indirect%20formula%2C%20because%20the%20amount%20of%20choices%20that%20is%20presented%20to%20the%20user%20is%20depending%20on%20earlier%20made%20choices.%20(the%20user%20can%20lengthen%20or%20shorten%20the%20list)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20can%20I%20use%20the%20indirect%20formula%20in%20a%20Name%20and%20use%20it%20successfully%20in%20data%20validation%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsing%20the%20formula%20in%20a%20Name%20and%20using%20the%20name%20in%20a%20cell%20works%2C%20so%20the%20formula%20works%2C%20but%20as%20soon%20as%20I%20implement%20it%20in%20the%20data%20validation%20it%20stops%20working.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20someone%20can%20help%20out!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EKind%20regards%2C%3C%2FP%3E%3CP%3ELennard%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1677101%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1677158%22%20slang%3D%22de-DE%22%3ESubject%3A%20Using%20the%20indirect%20formula%20in%20Names%20in%20data%20validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1677158%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F796887%22%20target%3D%22_blank%22%3E%40LennardW%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EI'm%20not%20sure%20if%20you%20mean%20this%2C%20see%20picture.%3C%2FSPAN%3E%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EIf%20not%20please%20just%20ignore%20it.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22amount.JPG%22%20style%3D%22width%3A%20474px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F219077i70E8FEB0319DA57F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22amount.JPG%22%20alt%3D%22%26quot%3BI'm%20not%20going%20to%20be%20Jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20be%20happy%20to%20know%20if%20I%20could%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENikolino%3C%2FP%3E%3CP%3EI%20know%20I%20don't%20know%20anything%20(Socrates)%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Hi there,

 

I'm trying to use Names in data validation. That works, but the Names are defined by the indirect formula. 

So there is 1 drop-down window in which several defined Names are presented, depending of the choice in this drop-down window the list of choices in the second drop-down window changes. This works.

But when the Names, of which the first drop-down window consists, are defined by using the indirect formula it stops working.

I want to use the indirect formula, because the amount of choices that is presented to the user is depending on earlier made choices. (the user can lengthen or shorten the list)

 

How can I use the indirect formula in a Name and use it successfully in data validation?

 

Using the formula in a Name and using the name in a cell works, so the formula works, but as soon as I implement it in the data validation it stops working.

 

Hope someone can help out!

 

Kind regards,

Lennard

2 Replies
Highlighted

@LennardW 

 

I'm not sure if you mean this, see picture.

If not please just ignore it.

amount.JPG

 

I would be happy to know if I could help.

 

Nikolino

I know I don't know anything (Socrates)

Highlighted

@LennardW ,,,

 

INDIRECT considers TEXT value and tries to evaluate them as cell references.

 

=INDIRECT("A100")       for A100.

 

INDIRECT converts the text "E1:E20" into the range E1:E20 with function.

 

=SUM(INDIRECT("E1:E20")) 

 

With Named Range the formula should :  =INDIRECT("Counrty")

 

Example above , the TEXT values is Country, INDIRECT converts it to cell references by matching existing Named Range.