Macros or Find

%3CLINGO-SUB%20id%3D%22lingo-sub-2288486%22%20slang%3D%22en-US%22%3EMacros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2288486%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20seeking%20to%20find%20a%20way%20to%20search%20a%20worksheet%20and%20find%20cells%20in%20a%20column%20which%20contain%20a%20single%20word%20or%20two%20amongst%20the%20many%20that%20may%20be%20in%20the%20cell%20and%20have%20that%20trigger%20%26nbsp%3Ba%20color%20reformat%20of%20an%20adjacent%20cell.%20%26nbsp%3B%20It%20could%20be%20that%20I%20just%20don't%20know%20the%20proper%20operating%20terms.%20%26nbsp%3BI%20have%20tried%20the%20texts%20%22contains%22%2C%20%22includes%22%2C%20and%20with%20just%20the%20words%20but%20I%20still%20cannot%20get%20it%20to%20do%20what%20I%20want.%20I%20believe%20this%20is%20possible%20either%20with%20a%20macro%20or%20in%20the%20Find%20function.%20%26nbsp%3BAny%20suggestions%20or%20help%20would%20be%20appreciated.%20%26nbsp%3BThanks%2C%20%26nbsp%3BJohn%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2288486%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2288562%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2288562%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1036251%22%20target%3D%22_blank%22%3E%40jhicks5charternet%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20use%20Conditional%20Formatting%20for%20this%20purposes.%3C%2FP%3E%0A%3CP%3ELet's%20say%20you%20want%20to%20look%20at%20column%20D.%20If%20a%20cell%20contains%20the%20word%20%3CEM%3EExcel%3C%2FEM%3E%20(with%20possibly%20other%20words)%2C%20the%20adjacent%20cell%20in%20column%20E%20should%20be%20highlighted%20in%20green.%3C%2FP%3E%0A%3CP%3ESelect%20column%20E%20(the%20column%20you%20want%20to%20format).%3C%2FP%3E%0A%3CP%3EOn%20the%20Home%20tab%20of%20the%20ribbon%2C%20select%20Conditional%20Formatting%20%26gt%3B%20New%20Rule...%3C%2FP%3E%0A%3CP%3ESelect%20'Use%20a%20formula%20to%20determine%20which%20cells%20to%20format'.%3C%2FP%3E%0A%3CP%3EEnter%20the%20formula%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3DISNUMBER(FIND(%22Excel%22%2CD1))%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E(We%20use%20D1%20because%20it%20is%20the%20first%20cell%20in%20the%20selection)%3C%2FP%3E%0A%3CP%3EClick%20Format...%3C%2FP%3E%0A%3CP%3EActivate%20the%20Fill%20tab.%3C%2FP%3E%0A%3CP%3ESelect%20green.%3C%2FP%3E%0A%3CP%3EClick%20OK%2C%20then%20click%20OK%20again.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20want%20to%20highlight%20cells%20in%20column%20E%20if%20the%20cell%20in%20column%20D%20contains%20both%20%3CEM%3EWord%3C%2FEM%3E%20and%20%3CEM%3EExcel%3C%2FEM%3E%2C%20do%20the%20same%2C%20but%20with%20the%20formula%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3DAND(ISNUMBER(FIND(%22Word%22%2CD1))%2CISNUMBER(FIND(%22Excel%22%2CD1)))%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2288571%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2288571%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1036251%22%20target%3D%22_blank%22%3E%40jhicks5charternet%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20may%20use%20conditional%20formatting%20rule%20with%20formula%20like%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20731px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F275408i7365D86BA5790F7F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EOf%20course%20better%20not%20to%20hardcode%20word%20withi%20the%20formula%2C%20above%20is%20only%20to%20illustrate%20an%20idea.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2289084%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2289084%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F127945%22%20target%3D%22_blank%22%3E%40Hans%20Vogelaar%3C%2FA%3E%26nbsp%3BThank%20you%20so%20much%20for%20responding%20however%20I%20am%20have%20difficulty%20in%20following%20your%20directions%20which%20may%20be%20because%20I%20am%20using%20a%20Mac.%20%26nbsp%3BWhen%20I%20get%20to%20the%20Conditional%20Formatting%20screen%20it%20does%20not%20show%20me%20a%20place%20to%20enter%20your%20formula.%20I%20can%20see%20where%20it%20says%20formula%20under%20the%20minimum%20and%20maximum%20value.%20%26nbsp%3BThat%20did%20not%20work%20for%20me.%20%26nbsp%3BThis%20is%20a%20new%20subscription%20for%20me%20and%20I%20am%20transitioning%20from%20an%20old%20version.%20%26nbsp%3BIt%20is%20almost%20like%20starting%20over.%3C%2FP%3E%3CP%3EThanks.%20John%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2290736%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2290736%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1036251%22%20target%3D%22_blank%22%3E%40jhicks5charternet%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20should%20work%20the%20same%20on%20Mac%20as%20on%20Windows.%3C%2FP%3E%0A%3CP%3EMake%20sure%20that%20you%20select%20Conditional%20Formatting%20%26gt%3B%20New%20Rule...%2C%20and%20then%20'Use%20a%20formula%20to%20determine%20which%20cells%20to%20format'.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22S0346.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F275528i59590BBE1517B07E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22S0346.png%22%20alt%3D%22S0346.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22S0347.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F275529i88C3731F444AF13A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22S0347.png%22%20alt%3D%22S0347.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E2%80%83%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2291034%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2291034%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1036251%22%20target%3D%22_blank%22%3E%40jhicks5charternet%3C%2FA%3E%26nbsp%3BThe%20screens%20on%20a%20Mac%20are%20a%20bit%20different.%26nbsp%3B%3C%2FP%3E%3CP%3E1)%20New%20Rule...%20on%20the%20Home%20ribbon.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202021-04-26%20at%2011.12.14.png%22%20style%3D%22width%3A%20243px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F275539iD2F416CFA4B92589%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Screenshot%202021-04-26%20at%2011.12.14.png%22%20alt%3D%22Screenshot%202021-04-26%20at%2011.12.14.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThen%20choose%20Classic%20in%20the%20Style%20field.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202021-04-26%20at%2011.12.33.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F275540i29CCEA6CB103647F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Screenshot%202021-04-26%20at%2011.12.33.png%22%20alt%3D%22Screenshot%202021-04-26%20at%2011.12.33.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThen%20select%20%22Use%20a%20formula%20..........%22%20from%20the%20field%20below%20the%20Style.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202021-04-26%20at%2011.12.57.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F275541iCF38196B678DDCF2%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Screenshot%202021-04-26%20at%2011.12.57.png%22%20alt%3D%22Screenshot%202021-04-26%20at%2011.12.57.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ENow%20you%20can%20enter%20your%20formula.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202021-04-26%20at%2011.13.23.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F275542iD550F21CAE9EBAF2%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Screenshot%202021-04-26%20at%2011.13.23.png%22%20alt%3D%22Screenshot%202021-04-26%20at%2011.13.23.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2297754%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2297754%22%20slang%3D%22en-US%22%3EI%20did%20enter%20my%20formula%20and%20it%20worked%20for%20one%20cell%20only.%20How%20do%20I%20get%20it%20to%20search%20the%20entire%20column%20and%20reformat%20the%20appropriate%20cells%3F%20Thanks%20John%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2297960%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2297960%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1036251%22%20target%3D%22_blank%22%3E%40jhicks5charternet%3C%2FA%3E%26nbsp%3BSorry%2C%20but%20my%20response%20was%20merely%20to%20point%20you%20into%20finding%20where%20to%20enter%20a%20classic%20CF%20formula%20on%20a%20Mac.%20You%20haven't%20given%20us%20anything%20to%20work%20with%20when%20it%20comes%20to%20your%20requirement.%20If%20the%20other%20responses%20that%20you%20received%20don't%20make%20sense%2C%20please%20upload%20a%20file%20(without%20confidential%20information)%20and%20explain%20what%20is%20is%20you%20want%20to%20format%20and%20with%20what%20logic.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2298005%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2298005%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1036251%22%20target%3D%22_blank%22%3E%40jhicks5charternet%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMake%20sure%20that%20you%20select%20the%20entire%20column%20before%20cresting%20the%20rule.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2298544%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2298544%22%20slang%3D%22en-US%22%3EI%20am%20trying%20to%20have%20an%20executable%20macro%20which%20will%20search%20Column%20A%20for%20the%20word%20%22Jamestown%22%20and%20if%20it%20finds%20%22Jamestown%22%20it%20will%20trigger%20a%20reformat%20of%20the%20row%20to%20have%20a%20background%20color%20such%20as%20yellow%20or%20green.%20%2FUsers%2Fjohn%2FDesktop%2FMacro%20test%20sheet..xlsx%2FUsers%2Fjohn%2FDesktop%2FMacro%20test%20sheet..xlsx%3CBR%20%2F%3EMy%20actual%20sheet%20has%20several%20thousand%20rows%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2326241%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2326241%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F127945%22%20target%3D%22_blank%22%3E%40Hans%20Vogelaar%3C%2FA%3E%26nbsp%3BIs%20there%20a%20way%20to%20have%20this%20formula%20apply%20to%20more%20than%20one%20column%20without%20duplicating%20the%20formula%20and%20editing.%20I%20tried%20ending%20with%20%2CD1%3AC1%20but%20that%20did.%20not%20work%20all%20of%20the%20time.%20%26nbsp%3BThanks%2C%20%26nbsp%3BJohn%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2326306%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2326306%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1036251%22%20target%3D%22_blank%22%3E%40jhicks5charternet%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20explain%20in%20more%20detail%20what%20you%20want%20to%20accomplish.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2326533%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2326533%22%20slang%3D%22en-US%22%3EI%20was%20referring%20to%20the%20%3DISNUMBER(FIND(%22WORD%22%2CB1))%20Formula%20that%20you%20helped%20me%20with%20recently.%20In%20stead%20of%20searching%20just%20the%20B%20Column%2C%20I%20would%20like%20too%20search%20B%20and%20C%20columns%20for%20the%20term%20%22Word%22.%20I%20have%20done%20it%20by%20creating%20two%20formulas%20and%20I%20was%20wondering%20if%20it%20could%20be%20done%20in%20one.%20John%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2326579%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2326579%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1036251%22%20target%3D%22_blank%22%3E%40jhicks5charternet%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELike%20this%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3DCOUNTIF(%24B1%3A%24C1%2C%22*WORD*%22)%26gt%3B0%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2327370%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2327370%22%20slang%3D%22en-US%22%3ENow%20I%20am%20confused.%20My%20sheet%20consists%20of%203%20columns%20A%2CB%2C%20and%20C.%20My%20Goal%20is%20to%20Find%205%20Different%20terms%20in%20either%20B%20Column%20or%20C%20Column.%20Depending%20upon%20which%20Term%20is%20found%20in%20either%20B%20or%20C%20or%20Both%2C%20A%20is%20then%20conditioally%20formatted%20the%20appropriate%20color.%20To%20accomplish%20this%20I%20have%2012%20Conditional%20Formatting%20formulas.%20I%20am%20enclosing%20a%20screen%20shot%20to%20Show%20you%20these.%20I%20keep%20thinking%20that%20I%20should%20be%20able%20to%20search%20both%20Column%20B%20and%20C%20and%20Reformat%20A%20with%20one%20formula.%20I%20haven't%20been%20able%20to%20accomplish%20that.%20I%20also%20ran%20into%20a%20problem%20when%20a%20row%20in%20A%20or%20B%20or%20both%20contained%20more%20than%20one%20of%20the%20terms%20in%20my%20search%20group%20such%20as%20%22Jamestown%22%20and%20%22New%20York%22.%20Formula%20order%20took%20care%20of%20most%20of%20that.%3CBR%20%2F%3E%2Fvar%2Ffolders%2Fcs%2F8bsmwb2x68j2nz15zj4xcq0m0000gq%2FT%2Fcom.apple.mail%2Fcom.apple.mail.drag%2FScreen%20Shot%202021-05-05%20at%2010.49.36%20AM.png%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2327839%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2327839%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1036251%22%20target%3D%22_blank%22%3E%40jhicks5charternet%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20screenshot%20hasn't%20come%20through.%26nbsp%3B%20Perhaps%20you%20could%20attach%20a%20sample%20workbook%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2327987%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2327987%22%20slang%3D%22en-US%22%3E%2FUsers%2Fjohn%2FAncestry%2FTree%20people%20list%20Ancestry.xlsx%3CBR%20%2F%3EFrom%20John%20Hicks%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2328040%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2328040%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1036251%22%20target%3D%22_blank%22%3E%40jhicks5charternet%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'm%20sorry%20-%20this%20won't%20work.%20You%20have%20posted%20the%20path%20to%20the%20file%20on%20your%20local%20hard%20disk%2C%20but%20we%20cannot%20get%20at%20that%20of%20course.%3C%2FP%3E%0A%3CP%3EAttach%20the%20workbook%20by%20dragging%20and%20dropping%20it%20into%20a%20reply.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2328620%22%20slang%3D%22en-US%22%3ERe%3A%20Macros%20or%20Find%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2328620%22%20slang%3D%22en-US%22%3EI%20sent%20an%20email%20back%20with%20the%20file%20but%20I%20could%20not%20get%20it%20to%20work%20with%20your%20web%20site%20Reply.%20So%20I%20sent%20it%20regular%20E%20mail%20to%20the%20address%20that%20showed%20up%20when%20I%20hit%20respond%20on%20your%20incoming%20email.%20John%3C%2FLINGO-BODY%3E
Occasional Contributor

I am seeking to find a way to search a worksheet and find cells in a column which contain a single word or two amongst the many that may be in the cell and have that trigger  a color reformat of an adjacent cell.   It could be that I just don't know the proper operating terms.  I have tried the texts "contains", "includes", and with just the words but I still cannot get it to do what I want. I believe this is possible either with a macro or in the Find function.  Any suggestions or help would be appreciated.  Thanks,  John

19 Replies

@jhicks5charternet 

You can use Conditional Formatting for this purposes.

Let's say you want to look at column D. If a cell contains the word Excel (with possibly other words), the adjacent cell in column E should be highlighted in green.

Select column E (the column you want to format).

On the Home tab of the ribbon, select Conditional Formatting > New Rule...

Select 'Use a formula to determine which cells to format'.

Enter the formula

 

=ISNUMBER(FIND("Excel",D1))

 

(We use D1 because it is the first cell in the selection)

Click Format...

Activate the Fill tab.

Select green.

Click OK, then click OK again.

 

If you want to highlight cells in column E if the cell in column D contains both Word and Excel, do the same, but with the formula

 

=AND(ISNUMBER(FIND("Word",D1)),ISNUMBER(FIND("Excel",D1)))

@jhicks5charternet 

You may use conditional formatting rule with formula like

image.png

Of course better not to hardcode word withi the formula, above is only to illustrate an idea.

@Hans Vogelaar Thank you so much for responding however I am have difficulty in following your directions which may be because I am using a Mac.  When I get to the Conditional Formatting screen it does not show me a place to enter your formula. I can see where it says formula under the minimum and maximum value.  That did not work for me.  This is a new subscription for me and I am transitioning from an old version.  It is almost like starting over.

Thanks. John

@jhicks5charternet 

This should work the same on Mac as on Windows.

Make sure that you select Conditional Formatting > New Rule..., and then 'Use a formula to determine which cells to format'.

S0346.png

 

S0347.png

@jhicks5charternet The screens on a Mac are a bit different. 

1) New Rule... on the Home ribbon.

Screenshot 2021-04-26 at 11.12.14.png

Then choose Classic in the Style field.

Screenshot 2021-04-26 at 11.12.33.png

Then select "Use a formula .........." from the field below the Style.

Screenshot 2021-04-26 at 11.12.57.png

Now you can enter your formula.

Screenshot 2021-04-26 at 11.13.23.png

I did enter my formula and it worked for one cell only. How do I get it to search the entire column and reformat the appropriate cells? Thanks John

@jhicks5charternet Sorry, but my response was merely to point you into finding where to enter a classic CF formula on a Mac. You haven't given us anything to work with when it comes to your requirement. If the other responses that you received don't make sense, please upload a file (without confidential information) and explain what is is you want to format and with what logic.

@jhicks5charternet 

Make sure that you select the entire column before creating the rule.

I am trying to have an executable macro which will search Column A for the word "Jamestown" and if it finds "Jamestown" it will trigger a reformat of the row to have a background color such as yellow or green. /Users/john/Desktop/Macro test sheet..xlsx/Users/john/Desktop/Macro test sheet..xlsx
My actual sheet has several thousand rows

@Hans Vogelaar Is there a way to have this formula apply to more than one column without duplicating the formula and editing. I tried ending with ,D1:C1 but that did. not work all of the time.  Thanks,  John

@jhicks5charternet 

Please explain in more detail what you want to accomplish.

I was referring to the =ISNUMBER(FIND("WORD",B1)) Formula that you helped me with recently. In stead of searching just the B Column, I would like too search B and C columns for the term "Word". I have done it by creating two formulas and I was wondering if it could be done in one. John

@jhicks5charternet 

Like this:

 

=COUNTIF($B1:$C1,"*WORD*")>0

Now I am confused. My sheet consists of 3 columns A,B, and C. My Goal is to Find 5 Different terms in either B Column or C Column. Depending upon which Term is found in either B or C or Both, A is then conditioally formatted the appropriate color. To accomplish this I have 12 Conditional Formatting formulas. I am enclosing a screen shot to Show you these. I keep thinking that I should be able to search both Column B and C and Reformat A with one formula. I haven't been able to accomplish that. I also ran into a problem when a row in A or B or both contained more than one of the terms in my search group such as "Jamestown" and "New York". Formula order took care of most of that.
/var/folders/cs/8bsmwb2x68j2nz15zj4xcq0m0000gq/T/com.apple.mail/com.apple.mail.drag/Screen Shot 2021-05-05 at 10.49.36 AM.png

@jhicks5charternet 

The screenshot hasn't come through.  Perhaps you could attach a sample workbook?

/Users/john/Ancestry/Tree people list Ancestry.xlsx
From John Hicks

@jhicks5charternet 

I'm sorry - this won't work. You have posted the path to the file on your local hard disk, but we cannot get at that of course.

Attach the workbook by dragging and dropping it into a reply.

I sent an email back with the file but I could not get it to work with your web site Reply. So I sent it regular E mail to the address that showed up when I hit respond on your incoming email. John

@jhicks5charternet 

If you wish, you can send the workbook to hans dot vogelaar at gmail dot com