If and vlookup in Data Validation

%3CLINGO-SUB%20id%3D%22lingo-sub-1966346%22%20slang%3D%22en-US%22%3EIf%20and%20vlookup%20in%20Data%20Validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1966346%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20All%2C%3C%2FP%3E%3CP%3EI%20have%20a%20excel%20where%20in%20i%20want%20the%20users%20to%20select%20from%20dropdown%20only%20for%20one%20specific%20number%20(ex%2017)%20apart%20from%20that%20any%20number%20they%20select%20it%20should%20do%20vlookup%20from%20sheet2.%3C%2FP%3E%3CP%3EBelow%20is%20the%20screen%20snip%20for%20your%20reference.%3C%2FP%3E%3CTABLE%20width%3D%22734%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%22161.333px%22%20height%3D%2229px%22%3ESheet%201%3C%2FTD%3E%3CTD%20width%3D%2265.3333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2272px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22117.333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2296.6667px%22%20height%3D%2229px%22%3Esheet2%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22161.333px%22%20height%3D%2256px%22%3EYear%3C%2FTD%3E%3CTD%20width%3D%2265.3333px%22%20height%3D%2256px%22%3EQuarter%3C%2FTD%3E%3CTD%20width%3D%2272px%22%20height%3D%2256px%22%3Ecode%20number%3C%2FTD%3E%3CTD%20width%3D%22117.333px%22%20height%3D%2256px%22%3EColumn1%3C%2FTD%3E%3CTD%20width%3D%2296.6667px%22%20height%3D%2256px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2256px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2256px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22100.667px%22%20height%3D%2256px%22%3Ecodenumber%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2256px%22%3Ed%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22161.333px%22%20height%3D%22220px%22%3E2020%3C%2FTD%3E%3CTD%20width%3D%2265.3333px%22%20height%3D%22220px%22%3EOct-Dec%3C%2FTD%3E%3CTD%20width%3D%2272px%22%20height%3D%22220px%22%3E17%3C%2FTD%3E%3CTD%20width%3D%22117.333px%22%20height%3D%22220px%22%3Eif%20code%20number%2017%20selected%20from%20drop%20down%20it%20should%20show%20drop%20down%20of%20mm%2C%20mc%20else%20vlookup%3C%2FTD%3E%3CTD%20width%3D%2296.6667px%22%20height%3D%22220px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%22220px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%22220px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22100.667px%22%20height%3D%22220px%22%3E11%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%22220px%22%3Emc%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22161.333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2265.3333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2272px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22117.333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2296.6667px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22100.667px%22%20height%3D%2229px%22%3E12%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3Emc%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22161.333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2265.3333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2272px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22117.333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2296.6667px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22100.667px%22%20height%3D%2229px%22%3E13%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3Emm%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22161.333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2265.3333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2272px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22117.333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2296.6667px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22100.667px%22%20height%3D%2229px%22%3E14%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3Emm%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22161.333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2265.3333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2272px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22117.333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2296.6667px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22100.667px%22%20height%3D%2229px%22%3E15%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3Emm%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22161.333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2265.3333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2272px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22117.333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2296.6667px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22100.667px%22%20height%3D%2229px%22%3E16%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3Emm%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22161.333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2265.3333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2272px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22117.333px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2296.6667px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%22100.667px%22%20height%3D%2229px%22%3E17%3C%2FTD%3E%3CTD%20width%3D%2240px%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1966346%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-1969829%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20vlookup%20in%20Data%20Validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1969829%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F569519%22%20target%3D%22_blank%22%3E%40Nagaraj007%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20one%20could%20help%20me%2C%20its%20very%20urgent%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1969901%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20vlookup%20in%20Data%20Validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1969901%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F569519%22%20target%3D%22_blank%22%3E%40Nagaraj007%3C%2FA%3E%26nbsp%3BBegin%20by%20uploading%20your%20file%20(remove%20any%20private%20and%20confidential%20information)%2C%20rather%20than%20cut%20and%20paste%20a%20table%20that%20doesn't%20seem%20to%20represent%20your%20actual%20file.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1979321%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20vlookup%20in%20Data%20Validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1979321%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20find%20the%20below%20file%20link.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.transfernow.net%2FX5TTom122020%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EDummy%20Data%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1979691%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20vlookup%20in%20Data%20Validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1979691%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F569519%22%20target%3D%22_blank%22%3E%40Nagaraj007%3C%2FA%3E%26nbsp%3BThanks!%20Unless%20I'm%20mistaken%2C%20you%20can%20not%20define%20a%20single%20data%20validation%20rule%2C%20returning%20a%20list%20for%20one%20particular%20value%20and%20a%20VLOOKUP%20for%20all%20others.%20If%20it%20can%20be%20done%2C%20I%20haven't%20yet%20discovered%20it.%3C%2FP%3E%3CP%3EIn%20stead%2C%20you%20would%20define%20named%20ranges%20for%20the%20values%20%22_11%22%20through%20%22_17%22%2C%20each%20listing%20the%20possible%20options%20to%20choose%20from%2C%20even%20though%2011%20to%2016%20would%20only%20have%20one%20option.%20Use%20INDIRECT%20to%20point%20to%20the%20named%20ranges%20as%20the%20source%20for%20your%20lists.%20It%20would%20look%20something%20like%20this%3A%20%3DINDIRECT(%22_%22%26amp%3BC3).%20The%20underscore%20is%20needed%20as%20named%20ranges%20may%20not%20start%20with%20a%20number.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1981050%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20vlookup%20in%20Data%20Validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1981050%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F569519%22%20target%3D%22_blank%22%3E%40Nagaraj007%3C%2FA%3E%26nbsp%3BPerhaps%2C%20these%20snapshots%20exemplify%20your%20objective%2C%20as%20hinted%20by%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Twifoo_0-1607717380862.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F239913i8CA0E8E12ED49926%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Twifoo_0-1607717380862.png%22%20alt%3D%22Twifoo_0-1607717380862.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Twifoo_1-1607717499889.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F239915i8D90E252E85F50C4%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Twifoo_1-1607717499889.png%22%20alt%3D%22Twifoo_1-1607717499889.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Twifoo_2-1607717573527.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F239916iAA777CDC10CE9164%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Twifoo_2-1607717573527.png%22%20alt%3D%22Twifoo_2-1607717573527.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1984208%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20vlookup%20in%20Data%20Validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1984208%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F280482%22%20target%3D%22_blank%22%3E%40Twifoo%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20got%20the%20output%20required%20as%20per%20your%20excel%20attachment.%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%20the%20problem%20is%20i%20need%20to%20add%20171%20items%20under%20name%20manager.%20Is%20there%20any%20workaround%20for%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1986153%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20vlookup%20in%20Data%20Validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1986153%22%20slang%3D%22en-US%22%3EI%20suggest%20you%20find%20a%20rule%20when%20to%20choose%20%22mc%22%20of%20%22mm%22%2C%20if%20the%20code%20is%2017.%20Thereafter%2C%20you'll%20need%20a%20lookup%20formula%20rather%20than%20a%20drop-down%20list.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1988075%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20vlookup%20in%20Data%20Validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1988075%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F280482%22%20target%3D%22_blank%22%3E%40Twifoo%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3EHi%2C%20If%20you%20could%20show%20me%20in%20the%20same%20excel%20which%20you%20provided%20it%20would%20be%20useful.%20As%20i%20am%20very%20new%20to%20this%20formulas.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1992256%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20vlookup%20in%20Data%20Validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1992256%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F280482%22%20target%3D%22_blank%22%3E%40Twifoo%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECould%20you%20please%20help%20me%3F%20I%20am%20waiting%20as%20i%20need%20to%20add%20171%20name%20managers.%20If%20you%20could%20send%20me%20the%20excel%20with%20the%20rules%20that%20would%20be%20of%20great%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1992320%22%20slang%3D%22en-US%22%3ERe%3A%20If%20and%20vlookup%20in%20Data%20Validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1992320%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F569519%22%20target%3D%22_blank%22%3E%40Nagaraj007%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20know%20if%20it's%20an%20option%2C%20but%20you%20could%20set%20up%20an%20input%20column%20only%20for%20Code%2017%20that%20uses%20data%20validation%20(Indirect%20function)%20to%20reference%20a%20named%20range%20of%20options%20for%20Code%2017%20(the%20%22mc%22%20and%20%22mm%22).%20So%2C%20when%20the%20input%20value%20is%20not%2017%2C%20the%20data%20validation%20drop%20box%20won't%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%2C%20in%20another%20cell%2C%20use%20an%20IF%20statement%20to%20pull%20the%20value%20from%20the%20drop%20down%20cell%20when%20the%20input%20%3D17%20or%20vlookup%20for%20all%20other%20values.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20attached%20a%20file%20to%20illustrate.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello All,

I have a excel where in i want the users to select from dropdown only for one specific number (ex 17) apart from that any number they select it should do vlookup from sheet2.

Below is the screen snip for your reference.

Sheet 1   sheet2
YearQuartercode numberColumn1   codenumberd
2020Oct-Dec17if code number 17 selected from drop down it should show drop down of mm, mc else vlookup   11mc
       12mc
       13mm
       14mm
       15mm
       16mm
       17 

 

 

13 Replies

@Nagaraj007 

 

Any one could help me, its very urgent

@Nagaraj007 Begin by uploading your file (remove any private and confidential information), rather than cut and paste a table that doesn't seem to represent your actual file.

Hi @Riny_van_Eekelen ,

 

Please find the below file link.

Dummy Data 

 

 

@Nagaraj007 Thanks! Unless I'm mistaken, you can not define a single data validation rule, returning a list for one particular value and a VLOOKUP for all others. If it can be done, I haven't yet discovered it.

In stead, you would define named ranges for the values "_11" through "_17", each listing the possible options to choose from, even though 11 to 16 would only have one option. Use INDIRECT to point to the named ranges as the source for your lists. It would look something like this: =INDIRECT("_"&C3). The underscore is needed as named ranges may not start with a number.

 

 

 

@Nagaraj007 Perhaps, these snapshots exemplify your objective, as hinted by @Riny_van_Eekelen 

Twifoo_0-1607717380862.png

Twifoo_1-1607717499889.png

Twifoo_2-1607717573527.png

 

 

@Twifoo 

I got the output required as per your excel attachment. 

However the problem is i need to add 171 items under name manager. Is there any workaround for this?

I suggest you find a rule when to choose "mc" of "mm", if the code is 17. Thereafter, you'll need a lookup formula rather than a drop-down list.

@Twifoo ,

Hi, If you could show me in the same excel which you provided it would be useful. As i am very new to this formulas.

@Twifoo 

Could you please help me? I am waiting as i need to add 171 name managers. If you could send me the excel with the rules that would be of great help.

@Nagaraj007 

 

I don't know if it's an option, but you could set up an input column only for Code 17 that uses data validation (Indirect function) to reference a named range of options for Code 17 (the "mc" and "mm"). So, when the input value is not 17, the data validation drop box won't work.

 

Then, in another cell, use an IF statement to pull the value from the drop down cell when the input =17 or vlookup for all other values.

 

I attached a file to illustrate.

@JMB17 

 

Thanks for sharing the excel, however we have only one column and we need to get dropdown as well vlookup in one go. Please advise.

@JMB17 @Twifoo 

 

Hello All,

 

Could anyone please help me?

 

Regards

Nagaraj

@Nagaraj007 

 

The only other thing I could suggest is to use vba to add the data validation for code 17 or perform the lookup and put the value in.