SOLVED

Drop down list - highlights cells

%3CLINGO-SUB%20id%3D%22lingo-sub-1207311%22%20slang%3D%22en-US%22%3EDrop%20down%20list%20-%20highlights%20cells%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1207311%22%20slang%3D%22en-US%22%3EI%20have%20a%20drop%20down%20list%20in%20excel%20with%204%20categories.%20I%20want%20a%20user%20to%20be%20able%20to%20make%20a%20selection%20and%20based%20upon%20the%20selection%20made%20have%20cells%20throughout%20the%20workbook%20highlight%20if%20certain%20keywords%20exist%20related%20to%20the%20category%20chosen%20in%20the%20dropdown%20list.%20I%20would%20like%20it%20to%20find%20multiple%20keywords%20related%20to%20the%20category.%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20in%20advance%20for%20your%20help!!%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1207311%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-1207528%22%20slang%3D%22en-US%22%3ERe%3A%20Drop%20down%20list%20-%20highlights%20cells%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1207528%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F573600%22%20target%3D%22_blank%22%3E%40Justin_Blush%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBased%20on%20your%20description%2C%20it%20sounds%20like%20what%20you%20need%20is%20a%20conditional%20format.%20However%2C%20I%20cannot%20offer%20a%20specific%20suggestion%20without%20a%20more%20detailed%20example.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1209197%22%20slang%3D%22en-US%22%3ERe%3A%20Drop%20down%20list%20-%20highlights%20cells%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1209197%22%20slang%3D%22en-US%22%3EOk%20here%20is%20the%20example.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20trying%20to%20categorize%20different%20information%20related%20to%20U.S.%20policy%20and%20utilizing%20the%20vast%20majority%20of%20the%20cells%20to%20list%20quotes%20from%20government%20documentation%20from%20a%20variety%20of%20different%20agencies%20and%20sources.%20There%20are%20different%20categories%20of%20U.S.%20policy%20that%20I%20am%20wanting%20to%20highlight%20i.e.%20Homeland%20Defense%2C%20Federal%20Law%20enforcement%2C%20Border%20patrol%2C%20and%20social%20programs.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20categories%20will%20be%20listed%20in%20the%20drop%20down%20box%20and%20preferably%20be%20designated%20by%20a%20particular%20cell%20color.%20So%20if%20I%20select%20%E2%80%9Chomeland%20defense%E2%80%9D%20(green)%20then%20all%20the%20cells%20with%20quotes%20that%20have%20keywords%20such%20as%3A%20defense%2C%20military%2C%20homeland%2C%20adversary%2C%20weapons%2C%20army%2C%20navy%2C%20etc.%20will%20highlight%20green%2C%20so%20as%20to%20quickly%20locate%20supporting%20documentation%20and%20quotes%20that%20align%20with%20homeland%20Defense.%3CBR%20%2F%3E%3CBR%20%2F%3EUltimately%2C%20I%20would%20like%20to%20have%20multiple%20drop%20downs%20with%20more%20refining%20categories%20to%20further%20isolate%20information.%20For%20example%20government%20funding%20sources%20and%20authorities%20so%20to%20isolate%20supporting%20documentation%20that%20takes%20into%20account%20not%20just%20the%20policy%20but%20also%20what%20organizations%20are%20involved%20and%20the%20funding%20sources.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20that%20makes%20sense.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1210179%22%20slang%3D%22en-US%22%3ERe%3A%20Drop%20down%20list%20-%20highlights%20cells%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1210179%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F573600%22%20target%3D%22_blank%22%3E%40Justin_Blush%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAttached%20is%20a%20sample%20file%20so%20that%20you%20can%20follow%20along.%20I%20hope%20this%20is%20what%20you're%20looking%20for...%3C%2FP%3E%3COL%3E%3CLI%3ECreate%20individual%20tables%20with%20headers%20as%20topics%20of%20U.S.%20policy%26nbsp%3B(replace%20each%20space%20with%20%22_%22)%3CUL%3E%3CLI%3EUnder%20each%20table%2C%20enter%20key%20words%20that%20you%20wish%20to%20find%20for%20each%20topic%3C%2FLI%3E%3CLI%3EIndividually%20name%20each%20table%20the%20same%20as%20headers%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3ECreate%20a%20data%20validation%20table%20as%20a%20list%20from%20each%20of%20the%20headers.%3C%2FLI%3E%3CLI%3ECreate%20a%20table%20full%20of%20government%20documentation%20and%20quotes.%3CUL%3E%3CLI%3ESelect%20upper%20left%20most%20cell%20of%20table%20and%20create%20Conditional%20Formatting.%20Use%20the%20formula%3A%3C%2FLI%3E%3CLI%3E%3CPRE%3E%3DSUMPRODUCT(--ISNUMBER(SEARCH(IF(INDIRECT(%24A%2411)%26lt%3B%26gt%3B%22%22%2CINDIRECT(%24A%2411))%2CA14)))%26gt%3B0%3C%2FPRE%3E%3C%2FLI%3E%3CLI%3EIn%20this%20formula%2C%20%24A%2411%20is%20the%20cell%20with%20data%20validation%20list%20and%20A14%20is%20first%20cell%20of%20table.%3C%2FLI%3E%3CLI%3EFormat%20fill%20color%20to%20green.%3C%2FLI%3E%3CLI%3EApply%20conditional%20format%20to%20entire%20table%20range%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3EIf%20you%20have%20any%20question%2C%20please%20do%20not%20hesitate%20to%20ask.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1213589%22%20slang%3D%22en-US%22%3ERe%3A%20Drop%20down%20list%20-%20highlights%20cells%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1213589%22%20slang%3D%22en-US%22%3EFor%20some%20reason%20I%20am%20having%20cells%20highlight%20that%20dont%20include%20keywords%20listed%20and%20conversely%20text%20that%20has%20the%20keywords%20doesn%E2%80%99t%20highlight.%20When%20I%20choose%20different%20categories%20there%20is%20a%20visible%20change%20in%20highlighting%20but%20similarly%20it%E2%80%99s%20unclear%20by%20what%20metric%20it%20is%20occurring.%20Is%20there%20a%20way%20to%20see%20how%20it%E2%80%99s%20organizing%20those%20decisions%3F%3CBR%20%2F%3E%3CBR%20%2F%3EIts%20very%20close%20and%20will%20work%20great%20when%20I%20overcome%20this%20error.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1213680%22%20slang%3D%22en-US%22%3ERe%3A%20Drop%20down%20list%20-%20highlights%20cells%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1213680%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F573600%22%20target%3D%22_blank%22%3E%40Justin_Blush%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECould%20you%20share%20your%20updated%20workbook%20so%20that%20I%20can%20search%20for%20the%20issue%3F%20(please%20remove%20any%20sensitive%20information)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1214383%22%20slang%3D%22en-US%22%3ERe%3A%20Drop%20down%20list%20-%20highlights%20cells%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1214383%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F360420%22%20target%3D%22_blank%22%3E%40PReagan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20figured%20it%20out%2C%20thank%20you.%20This%20works%20well.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOne%20more%20question.%26nbsp%3B%20Lets%20say%20I%20wanted%20to%20have%20another%20filter%20added.%26nbsp%3B%20Another%20dropdown%20box%20that%20isolated%20which%20%22description%22%20columns%20to%20search%20for%20the%20keywords.%26nbsp%3B%20For%20example%20on%20your%20sheet%20you%20have%20description%2C%20description2%2C%20and%20description3.%26nbsp%3B%20Say%20particular%20%22descriptions%22%20were%20useful%20to%20certain%20government%20agencies%2Forganizations%20i.e.%20Army%2C%20Navy%2C%20FBI%2C%20CIA%2C%20etc.%26nbsp%3B%20Each%20agency%20might%20have%20multiple%20description%20columns%20that%20were%20useful%2C%20but%20no%20agency%20would%20need%20information%20from%20all%20the%20description%20columns.%26nbsp%3B%20So%20if%20I%20had%20another%20dropdown%20box%20for%20the%20user%20to%20isolate%20an%20agency%20and%20the%20respective%20useful%20description%20columns%20for%20the%20other%20dropdown%20box%20(homeland_defense%2C%20federal_law_enforcement%2C%20etc.)%20to%20search%20for%20the%20keywords.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHopefully%20this%20makes%20sense.%26nbsp%3B%20Thank%20you%20again.%26nbsp%3B%20This%20is%20the%20last%20part%20for%20this%20project%20I%20would%20hope%20to%20achieve.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1216493%22%20slang%3D%22en-US%22%3ERe%3A%20Drop%20down%20list%20-%20highlights%20cells%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1216493%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F573600%22%20target%3D%22_blank%22%3E%40Justin_Blush%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EAdd%20an%20additional%20data%20validation%20list%20with%20the%20headings%20of%20each%20%22Description%22%20column.%3C%2FLI%3E%3CLI%3EChanging%20each%20%22Description%22%20column%20to%20it's%20own%20table%20will%20allow%20the%20list%20to%20be%20dynamic%20(like%20done%20with%20each%20U.S.%20Policy%20column%20above%3C%2FLI%3E%3CLI%3EYou%20will%20have%20to%20change%20the%20formula%20and%20%22applies%20to%22%20section%20for%20each%20column.%3C%2FLI%3E%3C%2FOL%3E%3CP%20class%3D%22lia-indent-padding-left-90px%22%3EChange%20%22Description%22%20column%20to%3A%3C%2FP%3E%3COL%3E%3CLI%3E%3CUL%3E%3CLI%3E%3CPRE%3E%3DAND(%3CFONT%20size%3D%223%22%3E%3CSTRONG%3E%24A%2413%3C%2FSTRONG%3E%3C%2FFONT%3E%3D%24B%2411%2CSUMPRODUCT(--ISNUMBER(SEARCH(IF(INDIRECT(%24A%2411)%26lt%3B%26gt%3B%22%22%2CINDIRECT(%24A%2411))%2C%3CFONT%20size%3D%223%22%3E%3CSTRONG%3EA14%3C%2FSTRONG%3E%3C%2FFONT%3E)))%26gt%3B0)%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLI%3E%3CLI%3EApplies%20to%20%24A%2414%3A%24A%2417%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%20class%3D%22lia-indent-padding-left-90px%22%3EChange%20%22Description2%22%20column%20to%3A%3C%2FP%3E%3COL%3E%3CLI%3E%3CUL%3E%3CLI%3E%3CPRE%3E%3DAND(%3CFONT%20size%3D%223%22%3E%3CSTRONG%3E%24B%2413%3C%2FSTRONG%3E%3C%2FFONT%3E%3D%24B%2411%2CSUMPRODUCT(--ISNUMBER(SEARCH(IF(INDIRECT(%24A%2411)%26lt%3B%26gt%3B%22%22%2CINDIRECT(%24A%2411))%2C%3CFONT%20size%3D%223%22%3E%3CSTRONG%3EB14%3C%2FSTRONG%3E%3C%2FFONT%3E)))%26gt%3B0)%3C%2FPRE%3E%3C%2FLI%3E%3CLI%3EApplies%20to%20%24B%2414%3A%24B%2417%3C%2FLI%3E%3CLI%3EChange%20%22Description3%22%20column%20to%3A%3C%2FLI%3E%3CLI%3E%3CPRE%3E%3DAND(%3CFONT%20size%3D%223%22%3E%3CSTRONG%3E%24C%2413%3C%2FSTRONG%3E%3C%2FFONT%3E%3D%24B%2411%2CSUMPRODUCT(--ISNUMBER(SEARCH(IF(INDIRECT(%24A%2411)%26lt%3B%26gt%3B%22%22%2CINDIRECT(%24A%2411))%2C%3CFONT%20size%3D%223%22%3E%3CSTRONG%3EC14%3C%2FSTRONG%3E%3C%2FFONT%3E)))%26gt%3B0)%3C%2FPRE%3E%3C%2FLI%3E%3CLI%3EApplies%20to%20%24C%2414%3A%24C%2417%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3EReview%20the%20following%20workbook%20and%20let%20me%20know%20if%20you%20have%20any%20other%20questions%20or%20concerns.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1233709%22%20slang%3D%22en-US%22%3ERe%3A%20Drop%20down%20list%20-%20highlights%20cells%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1233709%22%20slang%3D%22en-US%22%3EThank%20you%2C%20sorry%20for%20the%20delay%20in%20response.%20This%20is%20close%20but%20is%20missing%20a%20layer%20of%20information.%3CBR%20%2F%3E%3CBR%20%2F%3EMy%20data%20validation%20table%20would%20not%20have%20the%20descriptions%20but%20rather%20partner%20nations%20i.e.%20U.K.%2C%20Mexico%2C%20and%20Canada.%20By%20selecting%20a%20partner%20nation%20it%20would%20focus%20the%20search%2Fhighlighting%20to%20description%20columns%20that%20are%20pertinent%20to%20the%20respective%20nation.%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20example%20if%20I%20was%20to%20select%20the%20U.K.%20the%20highlighting%20would%20be%20focused%20to%20description%20columns%201%2C3%2C%20and%205.%20Whereas%20in%20the%20case%20of%20Mexico%20it%20would%20focus%20on%201%2C2%2C%20and%203%20%E2%80%94%20and%20Canada%20would%20be%20description%20columns%201%2C3%2C%20and%204.%3CBR%20%2F%3E%3CBR%20%2F%3EEach%20partner%20nation%20would%20have%20overlapping%20description%20columns%20hence%201%20and%203%20but%20each%20would%20have%20columns%20that%20were%20isolated%20to%20the%20respective%20nations.%3CBR%20%2F%3E%3CBR%20%2F%3EHopefully%20this%20makes%20sense.%20I%20tried%20to%20figure%20it%20out%20on%20my%20own%20but%20keep%20running%20into%20a%20wall.%20Thank%20you%20again!!!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1235281%22%20slang%3D%22en-US%22%3ERe%3A%20Drop%20down%20list%20-%20highlights%20cells%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1235281%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F573600%22%20target%3D%22_blank%22%3E%40Justin_Blush%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20share%20a%20sample%20of%20the%20data%20that%20you%20are%20working%20with%3F%20That%20would%20be%20a%20tremendous%20help%20for%20me%20to%20find%20you%20a%20solution.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1239667%22%20slang%3D%22en-US%22%3ERe%3A%20Drop%20down%20list%20-%20highlights%20cells%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1239667%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F360420%22%20target%3D%22_blank%22%3E%40PReagan%3C%2FA%3E%26nbsp%3BHere%20you%20are%20sir.%26nbsp%3B%20thank%20you%20for%20the%20help%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1241606%22%20slang%3D%22en-US%22%3ERe%3A%20Drop%20down%20list%20-%20highlights%20cells%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1241606%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F573600%22%20target%3D%22_blank%22%3E%40Justin_Blush%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20not%20understanding%20which%20columns%20should%20be%20referenced%20for%20each%20partner%20nation.%20Should%20it%20be%3A%3C%2FP%3E%3COL%3E%3CLI%3EOnly%20the%20columns%20with%20the%20header%20of%20the%20partner%20nation%3F%3C%2FLI%3E%3CLI%3EColumns%20with%20the%20header%20of%20the%20partner%20nation%20AND%20columns%20that%20contain%20the%20partner%20nation's%20name%3F%3C%2FLI%3E%3CLI%3EOnly%20the%20columns%20that%20contain%20the%20partner%20nation's%20name%3F%3C%2FLI%3E%3C%2FOL%3E%3CP%3EIn%20general%2C%20what%20you%20can%20do%20is%20apply%20a%20separate%20conditional%20format%20for%20each%20section%20of%20columns%20based%20on%20the%20partner%20nation's%20name%20as%20the%20condition.%20For%20example%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3EFocus%20of%20Exercise%20%22TSC%22%2C%20Partner%20Nation%20%22Mexico%22%3C%2FEM%3E%3C%2FP%3E%3CP%3ECreate%20a%20conditional%20format%20with%20the%20formula%3A%3C%2FP%3E%3CPRE%3E%3DAND(%24D%244%3D%22Mexico%22%2C%20SUMPRODUCT(--ISNUMBER(SEARCH(IF(INDIRECT(%24B%244)%26lt%3B%26gt%3B%22%22%2CINDIRECT(%24B%244))%2CN9)))%26gt%3B0)%3C%2FPRE%3E%3CP%3E%26nbsp%3BApply%20this%20conditional%20format%20to%20all%20columns%20that%20apply.%20I%20chose%20the%20%22applies%20to%22%20range%20%24Q%249%3A%24R%24143%2C%24N%249%3A%24N%24143%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20each%20partner%20nation%2C%20you%20would%20simply%20change%20%22Mexico%22%20in%20the%20formula%20to%20the%20partner%20nations%20name%20and%20change%20the%20%22applies%20to%22%20range%20to%20the%20relevant%20columns%20that%20you%20want%20to%20search%20in.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20let%20me%20know%20if%20you%20have%20any%20other%20questions.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1286417%22%20slang%3D%22en-US%22%3ERe%3A%20Drop%20down%20list%20-%20highlights%20cells%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1286417%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F360420%22%20target%3D%22_blank%22%3E%40PReagan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHello!%26nbsp%3B%20Sorry%20for%20the%20delay.%26nbsp%3B%20Due%20to%20what%20has%20been%20going%20on%20in%20the%20world%20it%20has%20been%20a%20bit%20hectic%20lately.%26nbsp%3B%20Your%20last%20correspondence%20worked%20perfectly!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20another%20question.%26nbsp%3B%20Now%20that%20the%20table%20highlights%20information%20properly%20taking%20into%20account%20both%20the%20categories%20and%20now%20the%20partner%20nations.%26nbsp%3B%20The%20last%20time%20I%20sent%20you%20the%20worksheet%20there%20were%20two%20sheets%3A%20Sheet%201%20had%20the%20categories%20and%20partner%20nations%20in%20tables%20with%20respective%20keywords%3B%20Sheet%202%20had%20the%20quotes%20and%20text%20from%20government%20documents%20that%20were%20being%20highlighted%20based%20upon%20selection.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20wondering%20if%20I%20can%20have%20another%20sheet%20(sheet%203)%20that%20would%20basically%20copy%20and%20paste%20only%20the%20highlighted%20cells%20from%20Sheet%202%20and%20omit%20all%20cells%20from%20sheet%202%20that%20were%20not%20highlighted.%26nbsp%3B%20So%20the%20goal%20is%20to%20further%20isolate%20the%20information%20onto%20a%20sheet%20and%20omit%20all%20unnecessary%20information.%26nbsp%3B%20Thank%20you%20and%20let%20me%20know%20if%20I%20need%20to%20explain%20further.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1286598%22%20slang%3D%22en-US%22%3ERe%3A%20Drop%20down%20list%20-%20highlights%20cells%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1286598%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F360420%22%20target%3D%22_blank%22%3E%40PReagan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOne%20more%20thing.%26nbsp%3B%20On%20the%20third%20sheet%20the%20information%20will%20be%20transposed%20from%20the%20columns%20on%20sheet%202%20into%20rows%20on%20sheet%203.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor
I have a drop down list in excel with 4 categories. I want a user to be able to make a selection and based upon the selection made have cells throughout the workbook highlight if certain keywords exist related to the category chosen in the dropdown list. I would like it to find multiple keywords related to the category.

Thank you in advance for your help!!
13 Replies

Hello @Justin_Blush,

 

Based on your description, it sounds like what you need is a conditional format. However, I cannot offer a specific suggestion without a more detailed example.

Ok here is the example.

I am trying to categorize different information related to U.S. policy and utilizing the vast majority of the cells to list quotes from government documentation from a variety of different agencies and sources. There are different categories of U.S. policy that I am wanting to highlight i.e. Homeland Defense, Federal Law enforcement, Border patrol, and social programs.

The categories will be listed in the drop down box and preferably be designated by a particular cell color. So if I select “homeland defense” (green) then all the cells with quotes that have keywords such as: defense, military, homeland, adversary, weapons, army, navy, etc. will highlight green, so as to quickly locate supporting documentation and quotes that align with homeland Defense.

Ultimately, I would like to have multiple drop downs with more refining categories to further isolate information. For example government funding sources and authorities so to isolate supporting documentation that takes into account not just the policy but also what organizations are involved and the funding sources.

Hope that makes sense.

@Justin_Blush 

 

Attached is a sample file so that you can follow along. I hope this is what you're looking for...

  1. Create individual tables with headers as topics of U.S. policy (replace each space with "_")
    • Under each table, enter key words that you wish to find for each topic
    • Individually name each table the same as headers
  2. Create a data validation table as a list from each of the headers.
  3. Create a table full of government documentation and quotes.
    • Select upper left most cell of table and create Conditional Formatting. Use the formula:
    • =SUMPRODUCT(--ISNUMBER(SEARCH(IF(INDIRECT($A$11)<>"",INDIRECT($A$11)),A14)))>0
    • In this formula, $A$11 is the cell with data validation list and A14 is first cell of table.
    • Format fill color to green.
    • Apply conditional format to entire table range

If you have any question, please do not hesitate to ask.

For some reason I am having cells highlight that dont include keywords listed and conversely text that has the keywords doesn’t highlight. When I choose different categories there is a visible change in highlighting but similarly it’s unclear by what metric it is occurring. Is there a way to see how it’s organizing those decisions?

Its very close and will work great when I overcome this error.

@Justin_Blush 

 

Could you share your updated workbook so that I can search for the issue? (please remove any sensitive information)

 

@PReagan 

I figured it out, thank you. This works well.

 

One more question.  Lets say I wanted to have another filter added.  Another dropdown box that isolated which "description" columns to search for the keywords.  For example on your sheet you have description, description2, and description3.  Say particular "descriptions" were useful to certain government agencies/organizations i.e. Army, Navy, FBI, CIA, etc.  Each agency might have multiple description columns that were useful, but no agency would need information from all the description columns.  So if I had another dropdown box for the user to isolate an agency and the respective useful description columns for the other dropdown box (homeland_defense, federal_law_enforcement, etc.) to search for the keywords.

 

Hopefully this makes sense.  Thank you again.  This is the last part for this project I would hope to achieve.

@Justin_Blush 

 

  1. Add an additional data validation list with the headings of each "Description" column.
  2. Changing each "Description" column to it's own table will allow the list to be dynamic (like done with each U.S. Policy column above
  3. You will have to change the formula and "applies to" section for each column.

Change "Description" column to:

    • =AND($A$13=$B$11,SUMPRODUCT(--ISNUMBER(SEARCH(IF(INDIRECT($A$11)<>"",INDIRECT($A$11)),A14)))>0)

       

    • Applies to $A$14:$A$17

Change "Description2" column to:

    • =AND($B$13=$B$11,SUMPRODUCT(--ISNUMBER(SEARCH(IF(INDIRECT($A$11)<>"",INDIRECT($A$11)),B14)))>0)
    • Applies to $B$14:$B$17
    • Change "Description3" column to:
    • =AND($C$13=$B$11,SUMPRODUCT(--ISNUMBER(SEARCH(IF(INDIRECT($A$11)<>"",INDIRECT($A$11)),C14)))>0)
    • Applies to $C$14:$C$17

Review the following workbook and let me know if you have any other questions or concerns.

Thank you, sorry for the delay in response. This is close but is missing a layer of information.

My data validation table would not have the descriptions but rather partner nations i.e. U.K., Mexico, and Canada. By selecting a partner nation it would focus the search/highlighting to description columns that are pertinent to the respective nation.

For example if I was to select the U.K. the highlighting would be focused to description columns 1,3, and 5. Whereas in the case of Mexico it would focus on 1,2, and 3 — and Canada would be description columns 1,3, and 4.

Each partner nation would have overlapping description columns hence 1 and 3 but each would have columns that were isolated to the respective nations.

Hopefully this makes sense. I tried to figure it out on my own but keep running into a wall. Thank you again!!!
best response confirmed by Justin_Blush (Occasional Contributor)
Solution

Hello @Justin_Blush,

 

Is it possible to share a sample of the data that you are working with? That would be a tremendous help for me to find you a solution.

@PReagan Here you are sir.  thank you for the help

@Justin_Blush

 

I am not understanding which columns should be referenced for each partner nation. Should it be:

  1. Only the columns with the header of the partner nation?
  2. Columns with the header of the partner nation AND columns that contain the partner nation's name?
  3. Only the columns that contain the partner nation's name?

In general, what you can do is apply a separate conditional format for each section of columns based on the partner nation's name as the condition. For example:

 

Focus of Exercise "TSC", Partner Nation "Mexico"

Create a conditional format with the formula:

=AND($D$4="Mexico", SUMPRODUCT(--ISNUMBER(SEARCH(IF(INDIRECT($B$4)<>"",INDIRECT($B$4)),N9)))>0)

 Apply this conditional format to all columns that apply. I chose the "applies to" range $Q$9:$R$143,$N$9:$N$143

 

For each partner nation, you would simply change "Mexico" in the formula to the partner nations name and change the "applies to" range to the relevant columns that you want to search in.

 

Please let me know if you have any other questions.

@PReagan 

 

Hello!  Sorry for the delay.  Due to what has been going on in the world it has been a bit hectic lately.  Your last correspondence worked perfectly!

 

I have another question.  Now that the table highlights information properly taking into account both the categories and now the partner nations.  The last time I sent you the worksheet there were two sheets: Sheet 1 had the categories and partner nations in tables with respective keywords; Sheet 2 had the quotes and text from government documents that were being highlighted based upon selection.

 

I am wondering if I can have another sheet (sheet 3) that would basically copy and paste only the highlighted cells from Sheet 2 and omit all cells from sheet 2 that were not highlighted.  So the goal is to further isolate the information onto a sheet and omit all unnecessary information.  Thank you and let me know if I need to explain further.

@PReagan 

 

One more thing.  On the third sheet the information will be transposed from the columns on sheet 2 into rows on sheet 3.