Formula Help

%3CLINGO-SUB%20id%3D%22lingo-sub-3090023%22%20slang%3D%22en-US%22%3EFormula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3090023%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20building%20an%20if%20statement%20that%20requires%20a%20look%20into%20a%20cell%20%22G4%22%20to%20see%20if%20the%20cell%20contains%20%2285F%20or%20more%20Inside%22%20that%20the%20cell%20would%20display%20%22LHS%22%20in%20it%20and%20if%20not%20it%20would%20display%20%22Not%20LHS%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3DIF(AND(AND(E4%3D%22APPLIANCE%22%2CF4%3D%22OVEN%2FRANGE%22))%2CIF(OR(ISNUMBER(SEARCH(%7B%22*GAS*%22%2C%22*Hissing*%22%2C%22*Leaking*%22%7D%2CG4)))%2C%22LHS%22%2C%20%22Not%20LHS%22)%2CIF(AND(AND(E4%3D%22APPLIANCE%22%2CF4%3D%22DISHWASHER%22))%2CIF(OR(ISNUMBER(SEARCH(%7B%22*LEAK*%22%2C%22*NOT%20WORKING*%22%7D%2CG4)))%2C%22LHS%22%2C%22NOT%20LHS%22)%2CIF(AND(AND(E4%3D%22HVAC%22%2CF4%3D%22AC%22))%2CIF(OR(ISNUMBER(SEARCH(%7B%22*LEAK*%22%2C%22*NOT%20BLOWING*%22%7D%2CG4)))%2C%22LHS%22%2C%22NOT%20LHS%22)%2C%3CFONT%20color%3D%22%23008000%22%3E%3CSTRONG%3EIF(AND(AND(E4%3D%22HVAC%22%2CF4%3D%22AC%22))%2CIF(OR(ISNUMBER(SEARCH(%7B%22%26gt%3B85F%20Inside%22%2C%22*NOT%20WORKING*%22%7D%2CG4)))%2C%22LHS%22%2C%22NOT%20LHS%22)))))%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20having%20trouble%20figuring%20this%20out.%26nbsp%3B%20Any%20help%20would%20be%20appreciated.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECarl%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3090023%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3090105%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3090105%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1171720%22%20target%3D%22_blank%22%3E%40Carl_61%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECarl%2C%20let's%20assume%20you%20do%20figure%20it%20out%2C%20and%20then%20pass%20on%20the%20spreadsheet%20to%20somebody%20else%2C%20and%20the%20time%20comes%20when%20that%20somebody%20else%20needs%20to%20make%20a%20modification.%20Do%20you%20think%20they'd%20be%20able%20to%20figure%20it%20out%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20I'm%20getting%20at%20is%20that%20this%20formula%20is%20almost%20a%20%3CSTRONG%3E%3CEM%3Ecase-study%20in%20formulas%20that%20should%20not%20be%20written%3C%2FEM%3E%3C%2FSTRONG%3E%20as%20a%20single%20formula.%20Most%20text%20books%20on%20Excel%20advise%20specifically%20avoiding%20deeply%20nested%20IF%20functions%20for%20precisely%20the%20reason%20that%20you're%20encountering%3A%20they're%20hard%20to%20create%20in%20the%20first%20place%2C%20even%20harder%20to%20decipher.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20help%20I'd%20offer%20is%20this%3A%3CEM%3E%20break%20the%20various%20test%20conditions%20apart%20and%20deal%20with%20such%20things%20as%20different%20appliances%20separately%3C%2FEM%3E.%20Don't%20try%20to%20write%20a%20single%20master%20function%20that%20covers%20the%20universe%20of%20different%20problems%20or%20conditions%20that%20could%20arise.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnother%20alternative%20is%20to%20create%20a%20table%20of%20conditions%20and%20use%20XLOOKUP%20or%20INDEX%20and%20MATCH%20to%20find%20the%20right%20combination%20of%20conditions.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3BWhat's%20the%20array%20of%20possible%20data%20that%20will%20appear%20in%20cells%20E4%2C%20F4%2C%20%26nbsp%3Band%20G4.%20What%20cell%20is%20this%20formula%20itself%20in%2C%20for%20that%20matter%3F%20You%20don't%20explain%20what%20LHS%20is%2C%20for%20another%20thing%2C%20but%20these%20are%20just%20examples%20of%20how%20hard%20you're%20making%20it%20for%20anybody%20on%20the%20outside%20to%20help.%20If%20you%20can%20spell%20out%20in%20simple%20words%20what%20you're%20trying%20to%20do%2C%20the%20bigger%20picture%2C%20with%20an%20example%20or%20two%20in%20words%2C%20maybe%20somebody%20here%20could%20help.%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-3090220%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3090220%22%20slang%3D%22en-US%22%3EIs%20it%20possible%2C%20Carl%2C%20to%20attach%20a%20copy%20of%20the%20spreadsheet%20with%20all%20those%20work%20orders%20(so%20long%20as%20there's%20no%20proprietary%20info%20in%20it%2C%20no%20names%20of%20residents%2C%20etc).%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20sounds%2C%20though%2C%20as%20if%20you're%20trying%20to%20do%20almost%20the%20impossible%20in%20searching%20and%20finding%20warnings%20signs%20in%20a%20free%20form%20comment%20box...to%20be%20reliable%20that%20would%20take%20artificial%20intelligence.%3CBR%20%2F%3E%3CBR%20%2F%3EWho%20generates%20these%20work%20orders%3F%20Are%20they%20entering%20them%20into%20a%20computer%3F%20Could%20there%20be%20dropdown%20boxes%20that%20cover%20the%20LHS%20conditions%3F%20In%20short%2C%20is%20there%20a%20way%20to%20get%20the%20input%20more%20refined%2Fdefined%20to%20begin%20with%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3090701%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3090701%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1171720%22%20target%3D%22_blank%22%3E%40Carl_61%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20might%20try%20putting%20your%20LHS%20conditions%20into%20a%20table%20and%20then%20using%20a%20formula%20to%20see%20if%20the%20values%20in%20E4%2C%20F4%2C%20and%20G4%20exist%20in%20the%20table.%20Then%2C%20adding%20additional%20entries%20is%20just%20a%20matter%20of%20adding%20items%20to%20the%20table.%20Here%20is%20a%20description%20of%20how%20the%20formula%20is%20being%20used%20for%20a%20multiple%20condition%20test%2C%20so%20hopefully%20you%20will%20be%20able%20to%20follow%20it%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fxldynamic.com%2Fsource%2Fxld.SUMPRODUCT.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fxldynamic.com%2Fsource%2Fxld.SUMPRODUCT.html%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3Bhas%20also%20already%20said%2C%20this%20is%20not%20ideal.%20Ideally%2C%20whatever%20application%20or%20software%20you%20are%20using%20on%20the%20front%20end%20would%20have%20data%20validation%20so%20that%20the%20input%20was%20standard%20or%20would%20have%20some%20more%20reliable%20means%20of%20identifying%20LHS%20situations.%20But%2C%20if%20that's%20not%20an%20option%2C%20perhaps%20this%20will%20be%20somewhat%20helpful.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3093774%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3093774%22%20slang%3D%22en-US%22%3EThank%20you%20for%20your%20response.%20This%20looks%20like%20it%20might%20do%20the%20trick.%20The%20question%20I%20have%20however%20is%20how%20would%20this%20get%20run%20against%20the%20excel%20Work%20Order%20Report.%20The%20idea%20here%20is%20to%20get%20the%20report%20ad%20place%20this%20formula%20into%20the%20report%20at%20the%20far%20right%20of%20the%20report%20and%20then%20drag%20the%20formula%20down%20to%20the%20end%20of%20the%20report.%20Or%20maybe%20once%20this%20is%20figured%20out%20maybe%20the%20formula%20can%20be%20converted%20to%20VBA%20Code%20and%20run%20against%20the%20report.%20What's%20your%20thoughts%20on%20this%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3093829%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3093829%22%20slang%3D%22en-US%22%3EThank%20you%20sir%2C%20I%20can%20say%20it%20looks%20good%20but%20I%20am%20not%20clear%20on%20what%20is%20going%20on%20here.%20The%20question%20is%20how%20do%20I%20apply%20this%20against%20my%20report%3F%20I%20get%20a%20work%20order%20report%20with%20sometimes%20up%20to%20300%20work%20orders%2C%20give%20or%20take%2C%20and%20I%20need%20a%20way%20to%20run%20a%20solution%20against%20the%20report%20whereby%20each%20work%20order%20is%20checked%20via%20the%20solution%20we%20come%20up%20with.%20I'm%20not%20apposed%20to%20a%20VBA%20Code%20solution%20as%20well.%20What's%20your%20thoughts%20on%20how%20I%20process%20this%20solution%20against%20the%20report%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3093950%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3093950%22%20slang%3D%22en-US%22%3EI've%20requested%20a%20complete%20list%20of%20both%20selectable%20Work%20Order%20Categories%20and%20Sub-categories%20from%20the%20people%20that%20create%20the%20work%20orders.%20We%20obviously%20know%20that%20there%20is%20no%20standardization%20for%20what%20is%20entered%20in%20the%20Work%20Order%20Description%20remarks%20cell%20so%20this%20is%20why%20we%20need%20to%20have%20a%20way%20looking%20for%20key%20words%20that%20may%20lead%20us%20to%20a%20possible%20%22LHS%22%20situation.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3094080%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3094080%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1171720%22%20target%3D%22_blank%22%3E%40Carl_61%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20think%20what%20both%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F675152%22%20target%3D%22_blank%22%3E%40JMB17%3C%2FA%3E%26nbsp%3Band%20I%20are%20suggesting%20is%20that%20you%20look%20for%20a%20way%20to%20%3CU%3E%3CEM%3E%3CSTRONG%3Ehave%20the%20original%20entries%20themselves%20set%20up%20with%20data%20validation%2C%20rather%20than%20free%20form%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FU%3E.%20Go%20back%20in%20the%20workflow%20to%20that%20stage.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20that%20at%20all%20possible%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3094304%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3094304%22%20slang%3D%22en-US%22%3ENo.%20Work%20orders%20are%20entered%20into%20the%20system%20when%20called%20into%20management%20and%20the%20comments%20are%20typed%20in%20how%20the%20resident%20speaks%20them.%20Also%2C%20residents%20are%20remotely%20able%20to%20enter%20work%20order%20requests%20thru%20an%20app.%20The%20only%20unstable%20entries%20are%20those%20which%20are%20entered%20into%20the%20the%20comments%20field%20when%20the%20work%20order%20is%20created.%20There%20is%20no%20way%20to%20standardize%20the%20entry%20of%20comments.%20The%20only%20standard%20is%20the%20selection%20of%20the%20Work%20Order%20Category%20and%20the%20Sub-category%20which%20gives%20a%20path%20for%20determining%20what%20possible%20comments%20could%20match%20the%20categories%20.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3094472%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3094472%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1171720%22%20target%3D%22_blank%22%3E%40Carl_61%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F675152%22%20target%3D%22_blank%22%3E%40JMB17%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFirst%2C%20Carl%2C%20you%20don't%20need%20to%20send%20each%20of%20us%20a%20reply%20separately.%20You%20can%20reply%20to%20multiple%20people%20here%20with%20one%20message%2C%20as%20I've%20done%20above.%20Just%20type%20the%20%22%40%22%20symbol%20and%20the%20website%20itself%20will%20supply%20a%20list%20of%20others%20who%20are%20in%20the%20same%20thread.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyway%2C%20back%20to%20the%20issue%20at%20hand.%20Let%20me%20ask%2C%20since%20you%20can't%20change%20the%20raw%20data%20entry%20process%2C%20at%20which%20point%20does%20all%20this%20get%20put%20into%20Excel%3F%20How%20does%20that%20happen%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20just%20seems%20that%20worst%20case%2C%20you%20still%20would%20be%20better%20off%20NOT%20trying%20to%20come%20up%20with%20your%20own%20artificial%20intelligence%20formula%20that%20would%20take%20random%20text%20entries%20and%20make%20sense%20of%20them....maybe%20you%20need%20to%20hire%20a%20separate%20person%20to%20go%20down%20that%20long%20list%20and%2C%20using%20the%20table%20that%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F675152%22%20target%3D%22_blank%22%3E%40JMB17%3C%2FA%3E%26nbsp%3Band%20I%20have%20given%20you%2C%20create%20a%20clean%20set%20of%20data%20points%20on%20each%20row%2C%20with%20a%20reliable%20formula%2C%20such%20as%20we've%20given%20you%2C%20to%20identify%20the%20priority%20items.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20absence%20of%20that%2C%20%3CSTRONG%3Eyou%20(or%20somebody)%20will%20still%20need%20to%20go%20through%20the%20list%20%3CU%3E%3CEM%3Emanually%3C%2FEM%3E%3C%2FU%3E%20to%20make%20sure%20that%20the%20incomplete%20and%20unreliable%20formula%20--which%20is%20the%20best%20you%20and%20we%20will%20be%20able%20to%20do%20anyway%20--%20hasn't%20missed%20anything.%20%26nbsp%3B%3C%2FSTRONG%3EBasically%2C%20it's%20the%20%3CU%3E%3CSTRONG%3E%3CEM%3Eprocess%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FU%3E%20itself%20that%20needs%20to%20be%20made%20reliable.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3095294%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3095294%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F675152%22%20target%3D%22_blank%22%3E%40JMB17%3C%2FA%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%3CBR%20%2F%3ESo%20getting%20back%20to%20the%20initial%20way%20you%20were%20suggesting%20and%20knowing%20that%20there%20is%20no%20way%20to%20achieve%20100%25%20accuracy%2C%20how%20would%20I%20proceed%20to%20at%20least%20get%20a%20process%20going%20to%20achieve%20what%20I%20have%20set%20off%20to%20achieve%3F%20I%20know%20you%20most%20likely%20have%20a%20process%20in%20mind%20knowing%20all%20that%20is%20going%20on%20with%20what%20I%20have%20to%20work%20with%20unless%20you%20are%20still%20thinking%20this%20over.%20So%20the%20bottom%20line%20is%20that%20I%20have%20an%20excel%20report%20of%20multiple%20work%20orders%20that%20I%20need%20to%20scan%20thru%20looking%20for%20possible%20LHS%20issues.%20Again%20I%20know%20it%20won't%20be%20100%25%20as%20the%20remarks%2Fcomments%20cell%20has%20no%20standardization.%20Just%20trying%20to%20do%20the%20best%20I%20can%20and%20if%20I%20can%20continue%20to%20build%20into%20the%20table%20I%20will%20get%20better%20results%20over%20time.%20Also%2C%20what%20are%20you%20thinking%20when%20it%20comes%20to%20running%20the%20report%20against%20formula%20or%20the%20formula%20against%20the%20report%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3095459%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3095459%22%20slang%3D%22en-US%22%3ELet's%20keep%20in%20mind%20the%20list%20of%20things%20for%20each%20condition%20is%20not%20infinite.%20There%20are%20only%20so%20many%20conditions%2Fwords%20that%20could%20be%20considered%20to%20be%20LHS%20worthy.%20Its%20like%20saying%20Broken%20can%20be%20said%20in%20only%20so%20many%20ways.%20Not%20Working%2C%20Out%20of%20Order%2C%20etc.%2C%20you%20know%20what%20I%20mean.%20I%20am%20just%20to%20get%20the%20best%20read%20thru%20the%20work%20order%20report%20to%20catch%20as%20many%20possible%20LHS%20issues%20are%20stated.%20Keep%20in%20mind%20also%20that%20just%20because%20words%20may%20be%20in%20the%20comments%20that%20would%20lend%20to%20the%20belief%20that%20the%20work%20order%20may%20be%20considered%20to%20be%20an%20LHS%20work%20order%2C%20there%20is%20a%20good%20chance%20the%20work%20order%20is%20not%20as%20it%20is%20stated.%20Another%20words%2C%20miss%20Categorized%20or%20the%20use%20of%20words%20in%20the%20comments%20are%20not%20appropriate%20to%20the%20work%20order.%20Let's%20just%20say%20some%20people%20are%20not%20the%20greatest%20at%20explaining%20what%20is%20going%20on%20with%20their%20situation.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3095472%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3095472%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F675152%22%20target%3D%22_blank%22%3E%40JMB17%3C%2FA%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%3CBR%20%2F%3ELet's%20keep%20in%20mind%20the%20list%20of%20things%20for%20each%20condition%20is%20not%20infinite.%20There%20are%20only%20so%20many%20conditions%2Fwords%20that%20could%20be%20considered%20to%20be%20LHS%20worthy.%20Its%20like%20saying%20Broken%20can%20be%20said%20in%20only%20so%20many%20ways.%20Not%20Working%2C%20Out%20of%20Order%2C%20etc.%2C%20you%20know%20what%20I%20mean.%20I%20am%20just%20to%20get%20the%20best%20read%20thru%20the%20work%20order%20report%20to%20catch%20as%20many%20possible%20LHS%20issues%20are%20stated.%20Keep%20in%20mind%20also%20that%20just%20because%20words%20may%20be%20in%20the%20comments%20that%20would%20lend%20to%20the%20belief%20that%20the%20work%20order%20may%20be%20considered%20to%20be%20an%20LHS%20work%20order%2C%20there%20is%20a%20good%20chance%20the%20work%20order%20is%20not%20as%20it%20is%20stated.%20Another%20words%2C%20miss%20Categorized%20or%20the%20use%20of%20words%20in%20the%20comments%20are%20not%20appropriate%20to%20the%20work%20order.%20Let's%20just%20say%20some%20people%20are%20not%20the%20greatest%20at%20explaining%20what%20is%20going%20on%20with%20their%20situation.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3095712%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3095712%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1171720%22%20target%3D%22_blank%22%3E%40Carl_61%3C%2FA%3E%26nbsp%3B%20%26nbsp%3BCarl%3A%20I%20don't%20know%20about%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F675152%22%20target%3D%22_blank%22%3E%40JMB17%3C%2FA%3E%26nbsp%3B%2C%20but%20I%20can't%20help%20at%20all%2C%20beyond%20what%20I've%20already%20done%2C%20without%20seeing%20an%20example%20of%20what%20you're%20looking%20at.%20That%20is%2C%20seeing%20the%20actual%20Excel%20file.%20Not%20just%20an%20image%3B%20an%20actual%20Excel%20file.%20You%20should%20be%20able%20to%20attach%20a%20copy%20of%20it%20here%2C%20so%20long%20as%20it%20includes%20no%20proprietary%20or%20confidential%20info.%20If%20it%20does--e.g.%2C%20names%20of%20residences%2C%20then%20delete%20those%20fields.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEven%20with%20that%2C%20though%2C%20I'm%20not%20all%20that%20confident%20that%20I%20could%20suggest%20something.%20As%20I%20said%20in%20my%20last%20posting%2C%20I%20think%20the%20very%20process%20that%20generates%20these%20needs%20to%20be%20adjusted%20so%20that%20there%20is%20less%20in%20the%20way%20of%20random%20entries.%20I%20would%20not%20be%20at%20all%20confident--NOT%20AT%20ALL--of%20any%20system%20using%20SEARCH%20or%20anything%20comparable%20to%20run%20through%20and%20look%20for%20key%20words.%20There%20are%20simply%20too%20many%20ways%20for%20it%20to%20get%20messed%20up.%20As%20you%20put%20it%20yourself%2C%3CEM%3E%20%22Let's%20just%20say%20some%20people%20are%20not%20the%20greatest%20at%20explaining%20what%20is%20going%20on%20with%20their%20situation.%22%20%26nbsp%3B%3C%2FEM%3ESo%20like%20it%20or%20not%2C%20you%20have%20to%20go%20through%20the%20list%20one-by-one%20to%20ensure%20you've%20not%20missed%20anything.%20In%20my%20opinion.%20%26nbsp%3B%20(By%20the%20way%2C%20I%20live%20in%20a%20five-building%20apartment%20complex%20in%20Manhattan%3B%20for%20all%20I%20know%2C%20you%20could%20be%20describing%20exactly%20what%20happens%20here%20in%20our%20buildings.....except%20we%20don't%20report%20appliances%20to%20management%2C%20only%20HVAC%20stuff%3B%20we're%20on%20our%20own%20for%20our%20appliances)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3095908%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3095908%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F675152%22%20target%3D%22_blank%22%3E%40JMB17%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20a%20copy%20of%20a%20Work%20Order%20Report.%26nbsp%3B%20The%20Columns%20in%20Yellow%20are%20the%20columns%20we%20are%20using%20to%20determine%20LHS%20issues.%26nbsp%3B%20The%20column%20in%20green%20is%20my%20attempt%20to%20visually%20determine%20if%20it%20is%20LHS%20or%20NLHS.%26nbsp%3B%20I%20manually%20inserted%20LHS%20and%20NLHS.%26nbsp%3B%20If%20this%20gives%20you%20more%20insight%20you%20can%20then%20help%20me%20understand%20the%20table%20idea.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3096570%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3096570%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1171720%22%20target%3D%22_blank%22%3E%40Carl_61%3C%2FA%3E%26nbsp%3BI'm%20going%20to%20be%20away%20from%20home%2C%20away%20from%20my%20desktop%2C%20for%20a%20week%20beginning%20early%20tomorrow%2C%20probably%20unable%20to%20spend%20any%20time%20on%20this%20site.%20I%20apologize...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPerhaps%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F675152%22%20target%3D%22_blank%22%3E%40JMB17%3C%2FA%3E%26nbsp%3Bcan%20give%20some%20time%20to%20you%20and%20your%20situation.%20I%20do%20still%20think%20that%20your%20best%20chances%20are%20in%20getting%20the%20earlier%20steps%20to%20be%20more%20defined....maybe%20giving%20at%20least%20the%20management%20office%20a%20few%20codes%20for%20the%20%22Short%20Desc.%22%20field.%20Especially%20if%20they%20do%20the%20majority%20of%20entries--which%20may%20not%20be%20the%20case--%20but%20IF%20it's%20the%20case%2C%20maybe%20that%20could%20at%20least%20be%20standardized%2C%20or%20maybe%20they%20could%20enter%20the%20LHS%20directly%20there%20for%20the%20ones%20they%20handle.%20%26nbsp%3B%20And%20maybe%20residents%20could%20also%20be%20instructed%20to%20enter%20something%20specific%20IF%20conditions%20warrant%20being%20classified%20as%20Life%2FHealth%2FSafety%20issues%20when%20they%20enter%20things%20through%20an%20app.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3097038%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3097038%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1171720%22%20target%3D%22_blank%22%3E%40Carl_61%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%20add%20some%20vba%20code%20to%20my%20workbook%20to%20go%20through%20the%20report(s)%20and%20flag%20the%20matches%2C%20if%20that%20will%20help.%20Sorry%20I%20was%20away%20today%20-%20busy%20day.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20might%20consider%20also%20discussing%20it%20with%20the%20software%20vendor%20to%20see%20if%20they%20have%20any%20thoughts%20or%20might%20be%20willing%20to%20modify%20their%20software%20to%20address%20the%20LHS%2FNLHS%20situations.%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-3098429%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3098429%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F675152%22%20target%3D%22_blank%22%3E%40JMB17%3C%2FA%3E%26nbsp%3B%20%26nbsp%3BThanks....%20if%20you%20can%20do%20VBA%2C%20that's%20great.%20I've%20not%20done%20any%20macros%20or%20VBA%20in%20years...like%20to%20avoid%20them%20and%20use%20functions%2Fformulas.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20like%20the%20idea%20of%20talking%20to%20the%20software%20vendor....anything%20that%20can%20be%20done%20%22upstream%22%20to%20reduce%20the%20need%20to%20catch%20things%20after-the-fact%20would%20be%20great.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3098588%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3098588%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1171720%22%20target%3D%22_blank%22%3E%40Carl_61%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBefore%20I%20go%20away%20for%20the%20week%2C%20Carl%2C%20I%20wanted%20to%20add%20just%20one%20more%20word%20of%20encouragement%20to%20you%20here.%20You're%20clearly%20involved%20in%20facility%20maintenance%20in%20some%20way%2C%20so%20I'm%20sure%20you%20are%20well%20acquainted%20with%20the%20value%20of%20preventing%20problems%20in%20the%20first%20place.%20It's%20very%20much%20the%20case%20that%20fixing%20things%20can%20be--often%20if%20not%20usually--far%20more%20expensive%20than%20preventing%20the%20problem%20in%20the%20first%20place.%20We%20have%20all%20kinds%20of%20folk%20sayings%20about%20this%20truism%3A%3C%2FP%3E%3CUL%3E%3CLI%3EAn%20ounce%20of%20prevention%20is%20worth%20a%20pound%20of%20cure...%3C%2FLI%3E%3CLI%3EDon't%20wait%20to%20close%20the%20barn%20door%20until%20after%20the%20horse%20has%20run...%20(multiple%20variations%20on%20that%20one)%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAll%20of%20our%20suggestions%20are%20not%20meant%20to%20deny%20the%20need%20you%20have%2C%20and%20I%20hope%20we%20can%20get%20it%20done.%20I%20do%20hope%20you%20see%20this%20attempt%2C%20though%2C%20as%20comparable%20to%20closing%20the%20barn%20door%20after%20the%20damage%20(the%20ambiguity%2C%20in%20this%20case)%20has%20been%20done.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20(your%20organization)%20would%20be%20better%20served%20by%20fixing%20the%20processes%20by%20which%20these%20word%20orders%20are%20created%20in%20the%20first%20place%2C%20so%20that%20LHS%20situations%20are%20red-flagged%20right%20at%20the%20start%2C%20as%20they're%20written%20up.%20Whoever%20the%20software%20vendor%20is%20that%20created%20the%20basic%20system%20should%20be%20eager%20to%20make%20it%20more%20effective%2C%20for%20you%20as%20well%20as%20for%20other%20clients.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3102531%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3102531%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1171720%22%20target%3D%22_blank%22%3E%40Carl_61%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGive%20this%20file%20a%20try.%20Put%20the%20reports%20you%20want%20to%20process%20in%20their%20own%20folder%2C%20then%20click%20the%20button%20on%20the%20worksheet%2C%20which%20will%20open%20a%20dialog%20box%20for%20you%20to%20select%20your%20folder.%20Then%2C%20it%20should%20go%20through%20the%20files%20and%20find%20the%20category%2Fsubcategory%2Fdescription%2FLHS%20fields%20(inserting%20a%20column%20for%20the%20LHS%20field%20if%20it%20does%20not%20find%20it%20as%20I%20assume%20that%20is%20not%20a%20field%20that%20is%20standard%20for%20the%20report%20-%20also%2C%20I'm%20assuming%20the%20other%20field%20header%20names%20are%20standard).%20And%20then%2C%20going%20through%20the%20descriptions%2C%20plugging%20them%20into%20the%20worksheet%2C%20getting%20the%20formula%20result%20and%20putting%20LHS%20or%20NLHS%20in%20the%20LHS%20field.%20Then%2C%20saving%20the%20file%20(which%20could%20be%20changed%20to%20a%20SaveAs%20if%20you%20don't%20want%20to%20overwrite%20the%20existing%20file).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3106328%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3106328%22%20slang%3D%22en-US%22%3EI%20forgot%20to%20ask.%20Sense%20my%20system%20is%20Disabling%20the%20Macros%20could%20you%20just%20paste%20the%20macro%20to%20a%20word%20doc%20and%20attach%20the%20word%20doc%20to%20this%20system.%20I%E2%80%99ll%20copy%20and%20paste%20the%20Macro%20accordingly.%20If%20I%20need%20help%20with%20this%20process%20I%E2%80%99ll%20reach%20out%20to%20you.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3106660%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3106660%22%20slang%3D%22en-US%22%3ESo%20it%20looks%20like%20I've%20been%20able%20to%20enable%20the%20Macros%20and%20I've%20created%20a%20folder%20on%20my%20Desktop%20called%20Work%20Order%20Reports.%20I've%20placed%20a%20work%20order%20report%20into%20the%20folder.%20I%20opened%20the%20folder%20to%20ensure%20the%20Work%20Order%20Report%20is%20in%20there%20and%20it%20is.%20When%20I%20click%20the%20Process%20Folder%20Button%20the%20dialog%20box%20opens%20and%20I%20can%20open%20the%20Work%20Order%20Reports%20folder%20but%20nothing%20is%20shown%20as%20being%20in%20the%20folder.%20I%20don't%20now%20what's%20up%20with%20that%20so%20I%20can't%20select%20the%20Report%20I%20want%20to%20nor%20can%20I%20see%20anything%20in%20the%20Folder.%20Please%20help!%20I'm%20excited%20about%20this.%20I%20may%20need%20some%20explanation%20on%20the%20building%20of%20the%20table%20and%20what%20is%20going%20on%20there.%20But%20my%20sincere%20thanks%20for%20this%20help.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3106815%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3106815%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F675152%22%20target%3D%22_blank%22%3E%40JMB17%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAttached%20is%20a%20copy%20of%20the%20Category%20and%20Sub-category%20list.%26nbsp%3B%20The%20items%20highlighted%20is%20Red%20are%20the%20Categories%20%26amp%3B%20the%20items%20listed%20under%20each%20category%20are%20the%20Sub-Categories.%20In%20the%20creation%20of%20Work%20Orders%20both%20Category%20%26amp%3B%20Sub-category%20must%20be%20selected.%26nbsp%3B%20I%20am%20old%20that%20if%20you%20select%20%22Appliance%22%20for%20instance%20that%20the%20only%20viable%20Sub-category%20selections%20are%20those%20listed%20under%20Appliance.%26nbsp%3B%20This%20holds%20true%20for%20each%20Category%20%26amp%3B%20Sub-category.%26nbsp%3B%20Wanted%20to%20send%20this%20to%20you%20to%20see%20if%20it%20helps.%26nbsp%3B%20Myself%20and%20my%20team%20will%20other%20wise%20build%20the%20Table%20for%20each%20Category%20%26amp%3B%20Sub-Category%20in%20order%20for%20this%20process%20to%20evolve.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

I am building an if statement that requires a look into a cell "G4" to see if the cell contains "85F or more Inside" that the cell would display "LHS" in it and if not it would display "Not LHS".

 

=IF(AND(AND(E4="APPLIANCE",F4="OVEN/RANGE")),IF(OR(ISNUMBER(SEARCH({"*GAS*","*Hissing*","*Leaking*"},G4))),"LHS", "Not LHS"),IF(AND(AND(E4="APPLIANCE",F4="DISHWASHER")),IF(OR(ISNUMBER(SEARCH({"*LEAK*","*NOT WORKING*"},G4))),"LHS","NOT LHS"),IF(AND(AND(E4="HVAC",F4="AC")),IF(OR(ISNUMBER(SEARCH({"*LEAK*","*NOT BLOWING*"},G4))),"LHS","NOT LHS"),IF(AND(AND(E4="HVAC",F4="AC")),IF(OR(ISNUMBER(SEARCH({">85F Inside","*NOT WORKING*"},G4))),"LHS","NOT LHS")))))

 

I am having trouble figuring this out.  Any help would be appreciated.

 

Thank you,

 

Carl

56 Replies

@Carl_61 

 

Carl, let's assume you do figure it out, and then pass on the spreadsheet to somebody else, and the time comes when that somebody else needs to make a modification. Do you think they'd be able to figure it out?

 

What I'm getting at is that this formula is almost a case-study in formulas that should not be written as a single formula. Most text books on Excel advise specifically avoiding deeply nested IF functions for precisely the reason that you're encountering: they're hard to create in the first place, even harder to decipher.

 

The help I'd offer is this: break the various test conditions apart and deal with such things as different appliances separately. Don't try to write a single master function that covers the universe of different problems or conditions that could arise.

 

Another alternative is to create a table of conditions and use XLOOKUP or INDEX and MATCH to find the right combination of conditions. 

 

 What's the array of possible data that will appear in cells E4, F4,  and G4. What cell is this formula itself in, for that matter? You don't explain what LHS is, for another thing, but these are just examples of how hard you're making it for anybody on the outside to help. If you can spell out in simple words what you're trying to do, the bigger picture, with an example or two in words, maybe somebody here could help.

 

 

Hello John, Thank you for replying to my post. I work with a lots of work orders that I have to review each month for which I want to have a quick way to scan thru them looking for conditions that may be deemed LHS. This is Life, Health, Safety issues. Issues that may effect living conditions of the residents. A report is produced each month of all work orders and I need a quick way to blast thru the report line by line to determine if any of the work orders that have been submitted have any issues that could be deemed LHS. You actually started to help me with this is the not so long ago past but other issues came up that were of more importance so I set this to the side. I like your approach but will it be viable for my needs. Each work order has a Work Order Category, a Sub-category and a Work Order Description. The Work Order Description is a Free Form Comment Box where the description of the problem is entered. So as you see in my ISNUMBER(SEARCH() I am trying to create a list of possible conditions/words that we will I checking for and if found in the comment box made by the residents, the system will flag it as a possibly "LHS". So based on the Work Order Category and also the Sub-category, the items to be looked for in the Work Order Description cell will be different based on these items. Not sure however how to build this using VLOOKUP but not apposed to different approach.
Is it possible, Carl, to attach a copy of the spreadsheet with all those work orders (so long as there's no proprietary info in it, no names of residents, etc).

It sounds, though, as if you're trying to do almost the impossible in searching and finding warnings signs in a free form comment box...to be reliable that would take artificial intelligence.

Who generates these work orders? Are they entering them into a computer? Could there be dropdown boxes that cover the LHS conditions? In short, is there a way to get the input more refined/defined to begin with?
The answer to that question is yes. All work orders are entered into a computer. There is a monthly report that comes out where by we check the report for that which is being claimed to be LHS issues. Our job is to sort thru the report look to verify or disclaim items being identified as LHS. I know there is no way to be 100% accurate on this but we want to have a way to blast thru lines of work orders with some kind of reasonable reliability. Right now we have to look thru these reports which can be hundreds of lines of work orders with our eyes and it takes up a bunch of time. Determining if a work order is LHS is subjective but we are trying to create a standard we all can rely on.

@Carl_61 

 

You might try putting your LHS conditions into a table and then using a formula to see if the values in E4, F4, and G4 exist in the table. Then, adding additional entries is just a matter of adding items to the table. Here is a description of how the formula is being used for a multiple condition test, so hopefully you will be able to follow it:

 

http://xldynamic.com/source/xld.SUMPRODUCT.html

 

As @mathetes has also already said, this is not ideal. Ideally, whatever application or software you are using on the front end would have data validation so that the input was standard or would have some more reliable means of identifying LHS situations. But, if that's not an option, perhaps this will be somewhat helpful.

@JMB17 gave us a great start with his LHS spreadsheet.

 

I've extended the table and added what I call a "cascading data validation system" in the attached. This does require the most current version of Excel because it makes extensive use of the FILTER and UNIQUE functions.

 

So @Carl_61 there's now a simple formula that identifies which conditions are LHS based on the table at the far left of the sheet.

 

 

Thank you for your response. This looks like it might do the trick. The question I have however is how would this get run against the excel Work Order Report. The idea here is to get the report ad place this formula into the report at the far right of the report and then drag the formula down to the end of the report. Or maybe once this is figured out maybe the formula can be converted to VBA Code and run against the report. What's your thoughts on this?
Thank you sir, I can say it looks good but I am not clear on what is going on here. The question is how do I apply this against my report? I get a work order report with sometimes up to 300 work orders, give or take, and I need a way to run a solution against the report whereby each work order is checked via the solution we come up with. I'm not apposed to a VBA Code solution as well. What's your thoughts on how I process this solution against the report?
I've requested a complete list of both selectable Work Order Categories and Sub-categories from the people that create the work orders. We obviously know that there is no standardization for what is entered in the Work Order Description remarks cell so this is why we need to have a way looking for key words that may lead us to a possible "LHS" situation.

@Carl_61 

 

I think what both @JMB17 and I are suggesting is that you look for a way to have the original entries themselves set up with data validation, rather than free form. Go back in the workflow to that stage.

 

Is that at all possible?

No. Work orders are entered into the system when called into management and the comments are typed in how the resident speaks them. Also, residents are remotely able to enter work order requests thru an app. The only unstable entries are those which are entered into the the comments field when the work order is created. There is no way to standardize the entry of comments. The only standard is the selection of the Work Order Category and the Sub-category which gives a path for determining what possible comments could match the categories .

@Carl_61 

@JMB17 

First, Carl, you don't need to send each of us a reply separately. You can reply to multiple people here with one message, as I've done above. Just type the "@" symbol and the website itself will supply a list of others who are in the same thread. 

 

Anyway, back to the issue at hand. Let me ask, since you can't change the raw data entry process, at which point does all this get put into Excel? How does that happen? 

 

It just seems that worst case, you still would be better off NOT trying to come up with your own artificial intelligence formula that would take random text entries and make sense of them....maybe you need to hire a separate person to go down that long list and, using the table that @JMB17 and I have given you, create a clean set of data points on each row, with a reliable formula, such as we've given you, to identify the priority items.

 

In the absence of that, you (or somebody) will still need to go through the list manually to make sure that the incomplete and unreliable formula --which is the best you and we will be able to do anyway -- hasn't missed anything.  Basically, it's the process itself that needs to be made reliable.

@JMB17
I hope I have this correct for what you just mentioned. Not sure though.
The program used is a property management program called Yardi. This program manages all aspects of the goings on of a property. We are given an oversight position of what they are doing so the program allows us to produce all kinds of reports to include Work Order Reports. The system allows us to view preprogramed reports or allows us to create this reports in Excel or PDF format. So to answer your question a monthly Work Order Report is produced in which we open in Excel or print. So with this report sitting in front of us in Excel Format we just want a way to zip thru it using this system we have been speaking of. We know it won't always be 100% but that's ok.
@JMB17
@mathetes
So getting back to the initial way you were suggesting and knowing that there is no way to achieve 100% accuracy, how would I proceed to at least get a process going to achieve what I have set off to achieve? I know you most likely have a process in mind knowing all that is going on with what I have to work with unless you are still thinking this over. So the bottom line is that I have an excel report of multiple work orders that I need to scan thru looking for possible LHS issues. Again I know it won't be 100% as the remarks/comments cell has no standardization. Just trying to do the best I can and if I can continue to build into the table I will get better results over time. Also, what are you thinking when it comes to running the report against formula or the formula against the report?
Let's keep in mind the list of things for each condition is not infinite. There are only so many conditions/words that could be considered to be LHS worthy. Its like saying Broken can be said in only so many ways. Not Working, Out of Order, etc., you know what I mean. I am just to get the best read thru the work order report to catch as many possible LHS issues are stated. Keep in mind also that just because words may be in the comments that would lend to the belief that the work order may be considered to be an LHS work order, there is a good chance the work order is not as it is stated. Another words, miss Categorized or the use of words in the comments are not appropriate to the work order. Let's just say some people are not the greatest at explaining what is going on with their situation.
@JMB17
@mathetes
Let's keep in mind the list of things for each condition is not infinite. There are only so many conditions/words that could be considered to be LHS worthy. Its like saying Broken can be said in only so many ways. Not Working, Out of Order, etc., you know what I mean. I am just to get the best read thru the work order report to catch as many possible LHS issues are stated. Keep in mind also that just because words may be in the comments that would lend to the belief that the work order may be considered to be an LHS work order, there is a good chance the work order is not as it is stated. Another words, miss Categorized or the use of words in the comments are not appropriate to the work order. Let's just say some people are not the greatest at explaining what is going on with their situation.

@Carl_61   Carl: I don't know about @JMB17 , but I can't help at all, beyond what I've already done, without seeing an example of what you're looking at. That is, seeing the actual Excel file. Not just an image; an actual Excel file. You should be able to attach a copy of it here, so long as it includes no proprietary or confidential info. If it does--e.g., names of residences, then delete those fields.

 

Even with that, though, I'm not all that confident that I could suggest something. As I said in my last posting, I think the very process that generates these needs to be adjusted so that there is less in the way of random entries. I would not be at all confident--NOT AT ALL--of any system using SEARCH or anything comparable to run through and look for key words. There are simply too many ways for it to get messed up. As you put it yourself, "Let's just say some people are not the greatest at explaining what is going on with their situation."  So like it or not, you have to go through the list one-by-one to ensure you've not missed anything. In my opinion.   (By the way, I live in a five-building apartment complex in Manhattan; for all I know, you could be describing exactly what happens here in our buildings.....except we don't report appliances to management, only HVAC stuff; we're on our own for our appliances)

@mathetes
@JMB17
I'm not looking for perfect and what happened with the table idea? If you would just explain to me how that would work and how I would run my report against the formula, I am sending you a copy of the Work Order Report,

@mathetes 

@JMB17 

 

Here is a copy of a Work Order Report.  The Columns in Yellow are the columns we are using to determine LHS issues.  The column in green is my attempt to visually determine if it is LHS or NLHS.  I manually inserted LHS and NLHS.  If this gives you more insight you can then help me understand the table idea.