• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Dynamically change the named range for data validation list

sheter

Member
Working to create a drop-down to dynamically change the selectable data set.

QUESTION 1: (In the attached file) if "GOTHAM (ICO)" is selected, how can the Wattage drop-down be populated with the correct data?

QUESTION 2: (In the attached file) if a new row is added to the "Wattage" data set, how can the named range dynamically include it?

Thanks!
 

Attachments

  • Dynamicly change the named range.png
    Dynamicly change the named range.png
    42.5 KB · Views: 20
Try,

In H3 >> Data Validation >>

Allow : List

Source :

=OFFSET(INDEX(B3:B100,MATCH(H2&"*",B3:B100,0)),0,MATCH(G3,C3:E3,0),COUNTIF(B3:B100,H2&"*"))

>> OK

Regards
Bosco
 
In H3 >> Data Validation >>
Allow : List
Source :=OFFSET(INDEX(B3:B100,MATCH(H2&"*",B3:B100,0)),0,MATCH(G3,C3:E3,0),COUNTIF(B3:B100,H2&"*"))
>> OK
Regards
Bosco
Hi,

Just remove the Index function, which is not required.

and, become >>

=OFFSET(B3,MATCH(H2&"*",B3:B100,0)-1,MATCH(G3,C3:E3,0),COUNTIF(B3:B100,H2&"*"))

Regards
Bosco
 
Back
Top