Help on lookup from a list and then display result based on content

%3CLINGO-SUB%20id%3D%22lingo-sub-1698391%22%20slang%3D%22en-US%22%3EHelp%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1698391%22%20slang%3D%22en-US%22%3E%3CP%3EGood%20morning%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20get%20Excel%20to%20look%20at%20a%20list%20from%20column%20AC%20and%20then%20if%20the%20name%20is%20in%20the%20list%20and%20also%20in%20column%20E%20(inputted%20from%20a%20drop%20down%20list)%20it%20colours%20the%20cell%20in%20column%20G%20red.%26nbsp%3B%20If%20the%20name%20in%20column%20E%20isn't%20in%20column%20AC%20then%20I%20would%20like%20the%20cell%20in%20column%20G%20to%20display%20%22No%20P%2FO%20Req%22%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%2C%20once%20something%20is%20then%20put%20into%20column%20G%20I%20would%20like%20the%20cell%20to%20no%20longer%20be%20red.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20trying%20to%20get%20our%20worksheet%20to%20display%20a%20red%20cell%20when%20a%20customer%20requires%20a%20purchase%20order%20number%20and%20not%20be%20red%20when%20we%20enter%20a%20purchase%20order%20number%20hence%20leaving%20a%20visible%20guide%20as%20to%20which%20jobs%20need%20purchase%20order%20numbers%20in%20them.%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20anyone%20can%20advise%20the%20best%20formula%20to%20use%20for%20this%20that%20would%20be%20most%20appreciated%20-%20I%20have%20attached%20the%20sheet%20I%20am%20using%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJim%26nbsp%3B%26nbsp%3B%3C%2FP%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-1698391%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-1700449%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1700449%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261917%22%20target%3D%22_blank%22%3E%40Jimbobmcwalton%3C%2FA%3E%26nbsp%3B%2C%20you%20are%20welcome%2C%20glad%20to%20help%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1699477%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1699477%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDon't%20apologise%20-%20you%20are%20amazing%20-%20thank%20you%20again%20-%20working%20perfectly%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1699421%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1699421%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261917%22%20target%3D%22_blank%22%3E%40Jimbobmcwalton%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESorry%2C%20forgot%20about%20this.%20Formula%20will%20be%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DCOUNTIF(%24AC%242%3A%24AC%24982%2CE2)*(%24E2%26lt%3B%26gt%3B%22%22)*(G2%3D%22%22)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eworks%20as%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%20602px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221106iD80C767005BCF745%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1699373%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1699373%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYour%20a%20genius%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%20Thank%20you%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20one%20thing%2C%20is%20it%20easy%20to%20make%20the%20red%20disappear%20when%20we%20then%20type%20in%20it%20%3F%26nbsp%3B%20(it%20did%20on%20the%20first%20one)%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoesn't%20matter%20though%2C%20really%20happy%20with%20this%2C%20thank%20you%20so%20much%20!%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1699084%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1699084%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261917%22%20target%3D%22_blank%22%3E%40Jimbobmcwalton%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20rule%20formula%20will%20be%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DCOUNTIF(%24AC%242%3A%24AC%24982%2CE2)*(%24E2%26lt%3B%26gt%3B%22%22)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eit%20looks%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%20627px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221073i167ADD2AF13D734F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIn%20attached%20file%20I%20hided%20some%20columns%2C%20you%20may%20unhide%20them%20back%20after%20check%20the%20data.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1699060%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1699060%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%20that's%20what%20I%20need.%26nbsp%3B%20Some%20accounts%20book%2030-40%20times%20a%20month%20and%20I%20need%20all%20their%20bookings%20to%20highlight%20in%20column%20G%20even%20if%20only%20listed%20once%20in%20Column%20AC%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESame%20with%20all%20the%20other%20accounts%20too%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20so%20much%20for%20your%20help%2C%20really%20appreciate%20this%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1699052%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1699052%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261917%22%20target%3D%22_blank%22%3E%40Jimbobmcwalton%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYes%2C%20that's%20misunderstanding.%20To%20be%20sure%20-%20you%20have%20for%20example%26nbsp%3B%3CSPAN%3E%3CEM%3EAble%20Cleaning%3C%2FEM%3E%20only%20in%20AC13%2C%20and%20if%20you%20have%20%3CEM%3EAble%20Cleaning%3C%2FEM%3E%20in%20E13%2C%20E28%2C%20E707%20all%20G13%2C%20G28%2C%20G707%20shall%20be%20highlighted%2C%20correct%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1698895%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1698895%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAh%20I%20see%2C%20the%20list%20in%20AC%20column%20will%20only%20ever%20have%20the%20name%20in%20once%20in%20the%20list.%26nbsp%3B%20So%20you%20are%20saying%20I%20need%20to%20put%20the%20name%20in%20column%20AC%20and%20in%20column%20E%20for%20the%20cell%20in%20column%20G%20to%20go%20red%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20like%20to%20put%20about%2030%20Names%20in%20Column%20AC%20and%20every%20cell%20in%20column%20E%20to%20make%20column%20G%20go%20red%20when%20it%20matches%2C%20sorry%20didnt%20explain%20myself%20very%20well%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20that%20possible%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1698877%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1698877%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261917%22%20target%3D%22_blank%22%3E%40Jimbobmcwalton%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENope%20since%20AC14%20is%20empty%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%20595px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221043iD956B5F635C83F32%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20AC14%20has%20the%20same%20value%20-%20yes%2C%20it's%20red%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%20596px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221046i8027E44CB70CFB6F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1698687%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1698687%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20sure%20you%20are%20right%20but%20they%20look%20the%20same%2C%20even%20copied%20and%20pasted%20it%20so%20it%20has%20to%20be%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOn%20your%20end%20if%20you%20put%20in%20Able%20Cleaning%20into%20cell%20E13%20it%20comes%20up%20as%20red%20in%20cell%20G13%20(i%20can%20see%20that)%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20put%20in%20Able%20Cleaning%20into%20cell%20E14%20does%20cell%20G14%20fill%20in%20red%20%3F%26nbsp%3B%20Cos%20mine%20doesn't%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1698681%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1698681%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261917%22%20target%3D%22_blank%22%3E%40Jimbobmcwalton%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThat%20only%20means%20the%20values%20in%20columns%20E%20and%20AC%20are%20different.%20Perhaps%20you%20have%20extra%20spaces%20in%20texts%20or%20other%20non-printable%20characters.%20Happens%20quite%20often%20if%20copy%20%2F%20paste%20from%20others%20source%2C%20especially%20from%20Web.%20Hard%20to%20say%20without%20seeing%20concrete%20values.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20any%20case%2C%20that's%20not%20conditional%20formatting%20error%2C%20that's%20data%20is%20not%20cleaned.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1698603%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1698603%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20seems%20to%20be%20ok%20at%20the%20top%20of%20the%20sheet%20but%20not%20at%20the%20bottom%2C%20I%20tried%20as%20you%20suggested%20and%20I%20get%20this%20result%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jimbobmcwalton_0-1600776688931.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221004i8D1DF6FDD7364A9D%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Jimbobmcwalton_0-1600776688931.png%22%20alt%3D%22Jimbobmcwalton_0-1600776688931.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIt%20also%20doesn't%20work%20at%20the%20top%20of%20the%20sheet%20for%20the%20second%20entry%20of%20the%20same%20name.%26nbsp%3B%20Does%20it%20work%20for%20you%20on%20yours%20if%20you%20do%20multiple%20entries%20of%20the%20same%20name%20%3F%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-1698585%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1698585%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261917%22%20target%3D%22_blank%22%3E%40Jimbobmcwalton%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20mean%20conditional%20formatting%20doesn't%20work%20or%20something%20else%3F%20I%20added%20data%20close%20to%20the%20end%2C%20it%20works.%20Try%20to%20check%20condition%20manually%20at%20any%20empty%20cell%3C%2FP%3E%0A%3CP%3Eas%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%20642px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F220999i3076C3FC218F9177%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1698515%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1698515%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Sergei%2C%26nbsp%3B%20When%20I%20add%20in%20the%20rest%20of%20our%20data%20to%20the%20accounts%20tab%20and%20then%20validate%20the%20data%20to%20the%20drop%20down%20list%20the%20function%20no%20longer%20works%2C%20do%20you%20know%20why%20this%20is%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1698497%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1698497%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20sorry%2C%20didn't%20realise%20you%20had%20sent%20the%20attachment%20back%20-%20just%20loaded%20it%20and%20that's%20working%20perfectly%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethank%20you%20so%20much%20-%20been%20trying%20to%20do%20this%20for%20days%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1698487%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1698487%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261917%22%20target%3D%22_blank%22%3E%40Jimbobmcwalton%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20which%20range%20did%20you%20apply%20the%20rule%3F%20And%20does%20it%20work%20as%20desired%20in%20file%20I%20attached%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1698470%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1698470%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20the%20reply.%26nbsp%3B%20%26nbsp%3BI%20applied%20the%20conditional%20format%20rule%20but%20the%20cells%20do%20not%20go%20red%20if%20the%20name%20is%20in%20column%20AC%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20wasn't%20sure%20what%20you%20meant%20by%26nbsp%3B%3CSPAN%3EAs%20for%20the%20text%20in%20cell%20that's%20by%20formula%2C%20not%20by%20conditional%20formatting.%20If%20to%20add%2C%20when%20one%20more%20condition%20for%20the%20formula.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1698414%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1698414%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261917%22%20target%3D%22_blank%22%3E%40Jimbobmcwalton%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20for%20the%20conditional%20formatting%20you%20may%20apply%20the%20rule%20with%20formula%20as%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%20471px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F220957i16AADF50648ADE3D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAs%20for%20the%20text%20in%20cell%20that's%20by%20formula%2C%20not%20by%20conditional%20formatting.%20If%20to%20add%2C%20when%20one%20more%20condition%20for%20the%20formula.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1707153%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1707153%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Sergei%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMe%20again%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%20-%20Would%20you%20know%20the%20best%20formula%20to%20use%20to%20calculate%20the%20(count)%20of%20the%20red%20cells%20that%20generate%26nbsp%3B%20in%20column%20G%20-%20I%20would%20like%20to%20have%20a%20cell%20that%20dynamically%20displays%20this%20count.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheeky%20I%20know%20but%20I%20presume%20this%20is%20an%20easy%20thing%20to%20do%20for%20you%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%26nbsp%3B%3D%40ColorFunction(AC12%2C%24G%242%3A%24G%24981)%20but%20I%20am%20getting%20an%20error%20%23NAME%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAC12%20was%20my%20control%20cell%20in%20this%20formula%20btw.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1707389%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20on%20lookup%20from%20a%20list%20and%20then%20display%20result%20based%20on%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1707389%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261917%22%20target%3D%22_blank%22%3E%40Jimbobmcwalton%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThat's%20not%20out%20of%20the%20box%20function%2C%20perhaps%20some%20VBA%20macro%20you've%20seen%20somewhere.%20But%20you%20don't%20need%20it%2C%20just%20re-use%20conditional%20formatting%20logic.%20Count%20could%20be%20calculated%20as%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DSUM(COUNTIFS(Table4%5BAccount%5D%2CTable4%5BColumn2%5D%2CTable4%5BPO%20%2F%20Ref%20%5D%2C%22%22))%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eit's%20here%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%20152px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221747iD972461165483BCE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EPlease%20note%2C%20some%20texts%20in%20Accounts%20used%20for%20data%20validation%20have%20extra%20spaces%2C%20e.g.%20%22Aalco%20%22%20instead%20of%26nbsp%3B%22Aalco%22%2C%20thus%20don't%20match.%20Please%20take%20care%20and%20clean%20your%20real%20data.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Good morning All,

 

I am trying to get Excel to look at a list from column AC and then if the name is in the list and also in column E (inputted from a drop down list) it colours the cell in column G red.  If the name in column E isn't in column AC then I would like the cell in column G to display "No P/O Req" 

 

Also, once something is then put into column G I would like the cell to no longer be red.

 

We are trying to get our worksheet to display a red cell when a customer requires a purchase order number and not be red when we enter a purchase order number hence leaving a visible guide as to which jobs need purchase order numbers in them.   

 

If anyone can advise the best formula to use for this that would be most appreciated - I have attached the sheet I am using 

 

Thank you 

 

Jim  

 

 

24 Replies
Highlighted

@Jimbobmcwalton 

As for the conditional formatting you may apply the rule with formula as

image.png

As for the text in cell that's by formula, not by conditional formatting. If to add, when one more condition for the formula.

Highlighted

@Sergei Baklan 

 

Thank you for the reply.   I applied the conditional format rule but the cells do not go red if the name is in column AC

 

I wasn't sure what you meant by As for the text in cell that's by formula, not by conditional formatting. If to add, when one more condition for the formula.

Highlighted

@Jimbobmcwalton 

To which range did you apply the rule? And does it work as desired in file I attached?

Highlighted

@Sergei Baklan 

 

I'm sorry, didn't realise you had sent the attachment back - just loaded it and that's working perfectly 

 

thank you so much - been trying to do this for days

Highlighted

@Sergei Baklan 

 

Hi Sergei,  When I add in the rest of our data to the accounts tab and then validate the data to the drop down list the function no longer works, do you know why this is?

Highlighted

@Jimbobmcwalton 

You mean conditional formatting doesn't work or something else? I added data close to the end, it works. Try to check condition manually at any empty cell

as

image.png

Highlighted

@Sergei Baklan 

 

It seems to be ok at the top of the sheet but not at the bottom, I tried as you suggested and I get this result 

 

Jimbobmcwalton_0-1600776688931.png

It also doesn't work at the top of the sheet for the second entry of the same name.  Does it work for you on yours if you do multiple entries of the same name ?

 

 

Highlighted

@Jimbobmcwalton 

That only means the values in columns E and AC are different. Perhaps you have extra spaces in texts or other non-printable characters. Happens quite often if copy / paste from others source, especially from Web. Hard to say without seeing concrete values.

 

In any case, that's not conditional formatting error, that's data is not cleaned. 

Highlighted

@Sergei Baklan 

I'm sure you are right but they look the same, even copied and pasted it so it has to be

 

On your end if you put in Able Cleaning into cell E13 it comes up as red in cell G13 (i can see that)  

 

If you put in Able Cleaning into cell E14 does cell G14 fill in red ?  Cos mine doesn't 

Highlighted

@Jimbobmcwalton 

Nope since AC14 is empty

image.png

 

If AC14 has the same value - yes, it's red

image.png

Highlighted

@Sergei Baklan 

 

Ah I see, the list in AC column will only ever have the name in once in the list.  So you are saying I need to put the name in column AC and in column E for the cell in column G to go red ?

 

I would like to put about 30 Names in Column AC and every cell in column E to make column G go red when it matches, sorry didnt explain myself very well

 

Is that possible ?

Highlighted

@Jimbobmcwalton 

Yes, that's misunderstanding. To be sure - you have for example Able Cleaning only in AC13, and if you have Able Cleaning in E13, E28, E707 all G13, G28, G707 shall be highlighted, correct?

Highlighted

@Sergei Baklan 

 

Yes that's what I need.  Some accounts book 30-40 times a month and I need all their bookings to highlight in column G even if only listed once in Column AC 

 

Same with all the other accounts too

 

Thank you so much for your help, really appreciate this 

Highlighted

@Jimbobmcwalton 

When rule formula will be

=COUNTIF($AC$2:$AC$982,E2)*($E2<>"")

it looks like

image.png

In attached file I hided some columns, you may unhide them back after check the data.

Highlighted

@Sergei Baklan 

 

Your a genius Thank you 

 

Just one thing, is it easy to make the red disappear when we then type in it ?  (it did on the first one) 

 

Doesn't matter though, really happy with this, thank you so much !  

Highlighted

@Jimbobmcwalton 

Sorry, forgot about this. Formula will be

=COUNTIF($AC$2:$AC$982,E2)*($E2<>"")*(G2="")

works as

image.png

Highlighted

@Sergei Baklan 

 

Don't apologise - you are amazing - thank you again - working perfectly  

Highlighted
Highlighted

@Sergei Baklan 

 

Hi Sergei,

 

Me again - Would you know the best formula to use to calculate the (count) of the red cells that generate  in column G - I would like to have a cell that dynamically displays this count.

 

Cheeky I know but I presume this is an easy thing to do for you 

 

I tried =@ColorFunction(AC12,$G$2:$G$981) but I am getting an error #NAME?

 

AC12 was my control cell in this formula btw.