SOLVED

Conditional formatting for entire row based on data in one cell

%3CLINGO-SUB%20id%3D%22lingo-sub-779037%22%20slang%3D%22en-US%22%3EConditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-779037%22%20slang%3D%22en-US%22%3E%3CP%3EI%20need%20all%20cells%20in%20a%20row%20to%20highlight%20a%20certain%20color%20if%20the%20data%20in%20one%20cell%20contains%20a%20specific%20word.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20I%20specifically%20want%20is%20for%20an%20entire%20row%20to%20turn%20grey%20if%20the%20status%20cell%20contains%20the%20word%20%22SHIPPED.%22%20I%20know%20how%20to%20make%20that%20specific%20cell%20highlight%20the%20color%20I%20want%2C%20but%20not%20the%20entire%20row%20of%20the%20sheet.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20help!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-779037%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-779096%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-779096%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F384283%22%20target%3D%22_blank%22%3E%40AUSTXCHICK%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20may%20create%20the%20rule%20with%20the%20formula%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-ruby%22%3E%3CCODE%3E%3DA1%3D%22Shipped%22%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eand%20apply%20it%20to%20your%20entire%20range%2C%20let%20say%20%24A%241%3A%24Z%24200%3C%2FP%3E%0A%3CP%3EAll%20rows%20with%20%22Shipped%22%20will%20be%20in%20desired%20color.%3C%2FP%3E%0A%3CP%3EA1%20in%20formula%20shall%20be%20top%20left%20cell%20of%20your%20range.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-779304%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-779304%22%20slang%3D%22en-US%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAssuming%20that%20D%20is%20the%20column%20containing%20the%20status%20cells%2C%20and%20you%20wish%20to%20apply%20conditional%20formatting%20to%20rows%201%3A50%2C%20here%20are%20the%20steps%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.%26nbsp%3B%20Select%20any%20cell%20in%20row%201%3C%2FP%3E%3CP%3E2.%20Go%20to%20'Conditional%20Formatting%26gt%3BNew%20Rule%26gt%3BUse%20a%20formula%20to%20determine%20which%20cells%20to%20format'%3C%2FP%3E%3CP%3E3.%20In%20the%20formula%20field%20paste%26nbsp%3B%3CFONT%3E%3D%24D1%3D%22Shipped%22%2C%20set%20the%20required%20format%20and%20click%20'OK'%3C%2FFONT%3E%3C%2FP%3E%3CP%3E4.%20Go%20to%20'Conditional%20Formatting%26gt%3BManage%20Rules'%20and%20locate%20the%20rule%20you%20have%20just%20created%3C%2FP%3E%3CP%3E5.%20In%20the%20field%20'Applies%20to'%20paste%20'%3CFONT%3E%3D%241%3A%2450'%2C%20or%20just%20select%20the%20required%20rows%2C%20starting%20from%20row%201%2C%20then%20click%20'OK'.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3EIf%20you%20type%20the%20word%20'SHIPPED'%20in%20any%20cell%20of%20the%20column%20D%20(rows%201%20to%2050)%2C%20the%20entire%20row%20will%20be%20conditionally%20formatted%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3EHope%20this%20helps%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%3EYury%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-779345%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-779345%22%20slang%3D%22en-US%22%3E%3CP%3EThat%20worked!%20Thank%20you%20so%20much!%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F15833%22%20target%3D%22_blank%22%3E%40Yury%20Tokarev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-779601%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-779601%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20you%20would%20allow%20me%20one%20more%20question%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F15833%22%20target%3D%22_blank%22%3E%40Yury%20Tokarev%3C%2FA%3E%26nbsp%3B%20-%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20if%2C%20rather%20than%20the%20cell%20containing%20a%20specific%20word%20to%20make%20the%20row%20highlight%2C%20just%20having%20ANY%20text%20typed%20into%20the%20cell%20will%20cause%20the%20row%20to%20highlight%3F%20Is%20there%20a%20way%20to%20create%20a%20rule%20for%20that%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E(It%20has%20been%20brought%20to%20my%20attention%20that%20there%20are%20occasionally%20circumstances%20when%20something%20has%20shipped%2C%20but%20the%20row%20shouldn't%20be%20highlighted.%20I%20want%20to%20instead%20program%20the%20rule%20to%20highlight%20when%20I%20type%20in%20the%20date%20it%20was%20received%20or%20the%20name%20of%20the%20person%20who%20signed%20for%20it%2C%20because%20there%20is%20no%20circumstance%20when%20that%20wouldn't%20necessitate%20the%20row%20being%20highlighted.)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20cannot%20thank%20you%20enough!%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-780039%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780039%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F384283%22%20target%3D%22_blank%22%3E%40AUSTXCHICK%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EInstead%20of%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-ruby%22%3E%3CCODE%3E%3D%24D1%3D%22Shipped%22%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Efor%20the%20rule%20formula%20you%20may%20use%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-ruby%22%3E%3CCODE%3E%3DLEN(%24D1)%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-829645%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20defined%20cells%20in%20a%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-829645%22%20slang%3D%22en-US%22%3EI%20used%20Yuri%20Tokarev's%20directions%20to%20apply%20%22conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%22%2C%20but%20am%20wondering%20if%20there%20is%20a%20way%20to%20apply%20conditional%20formatting%20for%20a%20consecutive%20set%20of%20cells%20(i.e.%2C%20B%20thru%20N)%20in%20a%20row%20based%20on%20data%20in%20one%20cell%20in%20that%20row%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-779122%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-779122%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20your%20response%26nbsp%3B%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%3ESorry%20I'm%20a%20total%20novice%2C%20but%20when%20I%20followed%20your%20instructions%20(I%20think)%2C%20it%20only%20highlighted%20the%20cell%20that%20contained%20the%20word%20%22shipped%22%20instead%20of%20the%20entire%20row.%20How%20can%20I%20make%20each%20individual%20row%20turn%20grey%20when%20the%20cell%20in%20column%20G%20for%20that%20row%20contains%20the%20word%20%22shipped%3F%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20so%20much!%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%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F124917i1241577F80F2392D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22excel%20question.PNG%22%20title%3D%22excel%20question.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-830227%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20defined%20cells%20in%20a%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-830227%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F400535%22%20target%3D%22_blank%22%3E%40Lady_Di%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYes%2C%20use%20exactly%20the%20same%20formula%20for%20the%20rule%2C%20and%20apply%20it%20to%20the%20range%20%24B%241%3A%24N%241000%20or%20so.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-837166%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20defined%20cells%20in%20a%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-837166%22%20slang%3D%22en-US%22%3EWorked%20perfectly.%20Thank%20you!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1881053%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1881053%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F15833%22%20target%3D%22_blank%22%3E%40Yury%20Tokarev%3C%2FA%3E%26nbsp%3B%3CSPAN%3EI've%20added%20a%20search%20feature%20in%20my%20worksheet%20that%20highlight%20the%20row(s)%20that%20contain%20my%20search%20criteria.%20It's%20using%20conditional%20formatting%20to%20highlight%20the%20results%2Frows.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EThe%20problem%20is%20there%20are%20many%20rows%2C%20and%20it%20does%20not%20jump%20or%20go%20to%20the%20highlighted%20row.%20I%20still%20have%20to%20scroll%20continuously%20until%20I%20find%20the%20highlighted%20row.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20followed%20this%20tutorial%20using%20the%20same%20formula%20(%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D2axO-aAOIls%26amp%3Bab_channel%3Daskfarouk%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D2axO-aAOIls%26amp%3Bab_channel%3Daskfarouk%3C%2FA%3E)%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2024034%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2024034%22%20slang%3D%22en-US%22%3EHi%20sergei%2C%3CBR%20%2F%3EHow%20can%20I%20make%20the%20cells%20in%20column%20I%20become%20colored%20only%20if%20they%20have%20no%20date%20value%20in%20them%2B%20there%20is%20a%20text%20in%20column%20E%20in%20the%20same%20row%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2026487%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2026487%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F914857%22%20target%3D%22_blank%22%3E%40Adikl%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1)%20unmerge%20cells%20in%20column%20I%3C%2FP%3E%0A%3CP%3E2)%20apply%20to%20it%20conditional%20formatting%20rule%20with%20formula%20like%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3D(%24I2%3D%22%22)*(LEN(%24E2)%26gt%3B0)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eassuming%20your%20range%20starts%20from%20the%20cell%20I2%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2108192%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2108192%22%20slang%3D%22en-US%22%3EHi!%20This%20formula%20is%20great%20-%20thank%20you!%20I%20am%20trying%20to%20have%20an%20entire%20row%20shaded%20like%20this%20formula%20does%2C%20but%20instead%20of%20it%20being%20shaded%20when%20a%20certain%20value%20is%20entered%20(such%20as%20shipped)%2C%20I%20want%20it%20to%20shade%20the%20row%20when%20the%20number%20value%20is%20greater%20than%205.%20Is%20there%20a%20way%20to%20do%20this%20by%20chance%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2108578%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2108578%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F947638%22%20target%3D%22_blank%22%3E%40kwoods0392%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20illustrate%20the%20question%20with%20small%20sample%20file%20-%20it's%20not%20clear%20where%20is%20the%20number%2C%20where%20are%20values%20as%20shipped%2C%20do%20you%20use%20range%20or%20table%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2395062%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2395062%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%3EHello%20Sergei%2C%20it%20seems%20like%20you%20have%20many%20helpful%20answers%2C%20hopefully%20you%20can%20help%20me%20too.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20situation%20is%20as%20follows%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA%20sheet%20with%20in%20column%20A%20the%20dates%2C%20a%20date%20may%20or%20may%20not%20occur%20more%20then%20once.%20In%20column%20B%20names%2C%20in%20column%20C%20a%20start%20time%2C%20D%20end%20time%2C%20etc%20(it%20is%20basically%20a%20calendar).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20the%20first%20instance%20of%20each%20date%20to%20have%20a%20line%20above%20it%2C%20so%20each%20day%20gets%20separated%20by%20a%20line%2C%20making%20the%20sheet%20more%20readable.%20I%20want%20this%20line%20to%20extend%20over%20the%20entire%20row%2C%20or%20at%20least%20the%20once%20with%20data%20in%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20use%20the%20formula%20countif(%24A%241%3AA1%2CA1)%3D1%20to%20find%20the%20first%20instance%20of%20each%20date.%20This%20works%20perfectly%2C%20but%20only%20for%20column%20A.%20When%20I%20apply%20this%26nbsp%3B%20formula%20to%20my%20range%2C%20the%20formatting%20will%20look%20at%20each%20column%20separately%2C%20and%20put%20the%20line%20above%20each%20first%20occurrence%20of%20every%20value%2C%20instead%20of%20extending%20the%20line%20from%20column%20A.%20Is%20there%20a%20way%20around%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EElgar%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2396595%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2396595%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1065598%22%20target%3D%22_blank%22%3E%40elgar65%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20use%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DCOUNTIF(%24A%241%3A%24A1%2C%24A1)%3D1%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2401264%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2401264%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%3BThat%20worked%20great%2C%20thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2401727%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2401727%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1065598%22%20target%3D%22_blank%22%3E%40elgar65%3C%2FA%3E%26nbsp%3B%2C%20you%20are%20welcome%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2443738%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2443738%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F384283%22%20target%3D%22_blank%22%3E%40AUSTXCHICK%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Sir%2C%20can%20u%20help%20me%20with%20my%20problem.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20to%20highlight%20multiple%20cells%20based%20on%20one%20cell%20value.%20But%20it%20didnt%20work.%20Only%20one%20cell%20is%20highlighted.%3C%2FP%3E%3CP%3EThis%20is%20my%20condition.%20When%20i%20try%20to%20test%20it%2C%20only%20single%20cell%20is%20highlighted.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Hisyam_0-1623655462950.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F288415iD30D72BC25D72D93%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Hisyam_0-1623655462950.png%22%20alt%3D%22Hisyam_0-1623655462950.png%22%20%2F%3E%3C%2FSPAN%3E%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%22Hisyam_1-1623655562969.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F288416i3435AA6BBFE4803C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Hisyam_1-1623655562969.png%22%20alt%3D%22Hisyam_1-1623655562969.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry%20my%20english%20is%20broken.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2561379%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2561379%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%3EHi%2C%20I%20want%20to%20highlight%20a%20certain%20similar%20reference%20numbers%20given%20for%20a%20customer%2C%20for%20example%20few%20customers%20might%20use%20the%20same%20reference%20number%20for%20an%20assessed%20criteria%2C%20appreciate%20if%20you%20could%20instruct%20me%20to%20apply%20conditional%20formatting%20to%20a%20single%20column%20to%20get%20the%20similar%20reference%20numbers%20to%20each%20other%20highlighted.%20(there%20could%20be%20few%20customers%20with%20similar%20reference%20numbers%20not%20just%20a%20specific%20one%20for%20all%2C%20I%20need%20to%20get%20such%20customers%20who%20might%20share%20the%20similar%20reference%20numbers%20highlighted).%20Thanks%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2561581%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formatting%20for%20entire%20row%20based%20on%20data%20in%20one%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2561581%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1106935%22%20target%3D%22_blank%22%3E%40AYC94%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENot%20sure%20I%20understood%2C%20is%20it%20possible%20to%20provide%20small%20sample%20file%20with%20manually%20indicated%20desired%20result%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I need all cells in a row to highlight a certain color if the data in one cell contains a specific word. 

 

What I specifically want is for an entire row to turn grey if the status cell contains the word "SHIPPED." I know how to make that specific cell highlight the color I want, but not the entire row of the sheet.

 

Thank you for your help!

20 Replies

@AUSTXCHICK 

You may create the rule with the formula

=A1="Shipped"

and apply it to your entire range, let say $A$1:$Z$200

All rows with "Shipped" will be in desired color.

A1 in formula shall be top left cell of your range.

Thank you for your response @Sergei Baklan 

 

Sorry I'm a total novice, but when I followed your instructions (I think), it only highlighted the cell that contained the word "shipped" instead of the entire row. How can I make each individual row turn grey when the cell in column G for that row contains the word "shipped?"

 

Thank you so much!

 

excel question.PNG

 

best response confirmed by AUSTXCHICK (New Contributor)
Solution

Hello

 

Assuming that D is the column containing the status cells, and you wish to apply conditional formatting to rows 1:50, here are the steps:

 

1.  Select any cell in row 1

2. Go to 'Conditional Formatting>New Rule>Use a formula to determine which cells to format'

3. In the formula field paste =$D1="Shipped", set the required format and click 'OK'

4. Go to 'Conditional Formatting>Manage Rules' and locate the rule you have just created

5. In the field 'Applies to' paste '=$1:$50', or just select the required rows, starting from row 1, then click 'OK'.

 

If you type the word 'SHIPPED' in any cell of the column D (rows 1 to 50), the entire row will be conditionally formatted

 

Hope this helps

Yury

 

That worked! Thank you so much!@Yury Tokarev 

 

If you would allow me one more question @Yury Tokarev  -

 

What if, rather than the cell containing a specific word to make the row highlight, just having ANY text typed into the cell will cause the row to highlight? Is there a way to create a rule for that?

 

(It has been brought to my attention that there are occasionally circumstances when something has shipped, but the row shouldn't be highlighted. I want to instead program the rule to highlight when I type in the date it was received or the name of the person who signed for it, because there is no circumstance when that wouldn't necessitate the row being highlighted.)

 

I cannot thank you enough!

 

 

@AUSTXCHICK 

Instead of 

=$D1="Shipped"

for the rule formula you may use

=LEN($D1)
I used Yuri Tokarev's directions to apply "conditional formatting for entire row based on data in one cell", but am wondering if there is a way to apply conditional formatting for a consecutive set of cells (i.e., B thru N) in a row based on data in one cell in that row?

@Lady_Di 

Yes, use exactly the same formula for the rule, and apply it to the range $B$1:$N$1000 or so.

@Yury Tokarev I've added a search feature in my worksheet that highlight the row(s) that contain my search criteria. It's using conditional formatting to highlight the results/rows.

The problem is there are many rows, and it does not jump or go to the highlighted row. I still have to scroll continuously until I find the highlighted row. 

 

I followed this tutorial using the same formula (https://www.youtube.com/watch?v=2axO-aAOIls&ab_channel=askfarouk)

how to create an excel file that highlight your search results https://drive.google.com/file/d/1CQPrGKzo0UpArviDdp6uA2HMXKsvuZ-Z/view?usp=sharing
Hi sergei,
How can I make the cells in column I become colored only if they have no date value in them+ there is a text in column E in the same row?

@Adikl 

1) unmerge cells in column I

2) apply to it conditional formatting rule with formula like

=($I2="")*(LEN($E2)>0)

assuming your range starts from the cell I2

Hi! This formula is great - thank you! I am trying to have an entire row shaded like this formula does, but instead of it being shaded when a certain value is entered (such as shipped), I want it to shade the row when the number value is greater than 5. Is there a way to do this by chance?

@kwoods0392 

Could you please illustrate the question with small sample file - it's not clear where is the number, where are values as shipped, do you use range or table

@Sergei Baklan 

 

Hello Sergei, it seems like you have many helpful answers, hopefully you can help me too.

 

My situation is as follows:

 

A sheet with in column A the dates, a date may or may not occur more then once. In column B names, in column C a start time, D end time, etc (it is basically a calendar).

 

I want the first instance of each date to have a line above it, so each day gets separated by a line, making the sheet more readable. I want this line to extend over the entire row, or at least the once with data in it.

 

I use the formula countif($A$1:A1,A1)=1 to find the first instance of each date. This works perfectly, but only for column A. When I apply this  formula to my range, the formatting will look at each column separately, and put the line above each first occurrence of every value, instead of extending the line from column A. Is there a way around this?

 

Thanks,

Elgar

@elgar65 

Please use

=COUNTIF($A$1:$A1,$A1)=1

@Sergei Baklan 

Hi, I want to highlight a certain similar reference numbers given for a customer, for example few customers might use the same reference number for an assessed criteria, appreciate if you could instruct me to apply conditional formatting to a single column to get the similar reference numbers to each other highlighted. (there could be few customers with similar reference numbers not just a specific one for all, I need to get such customers who might share the similar reference numbers highlighted). Thanks in advance.