SOLVED

Formula Trouble

%3CLINGO-SUB%20id%3D%22lingo-sub-3466714%22%20slang%3D%22en-US%22%3EFormula%20Trouble%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3466714%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20range%20of%20cells%20(C5%3AC31)%20in%20which%20a%20numeric%20value%20can%20be%20placed.%26nbsp%3B%20If%203%20or%20more%20of%20these%20cells%20contain%20%26gt%3B%3D20%2C%20I%20want%20another%20cell%20to%20return%20%22Warning%22.%26nbsp%3B%20I%20am%20far%20from%20an%20expert%2C%20but%20I've%20tried%20all%20I%20can%20do%20to%20figure%20it%20out.%26nbsp%3B%20Would%20someone%20please%20tell%20me%20how%20to%20write%20this%20dang%20formula%3F%20Thank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3466714%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-3466774%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Trouble%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3466774%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1395034%22%20target%3D%22_blank%22%3E%40janetm126%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%3DIF(COUNTIF(%24C%245%3A%24C%2431%2C%22%26gt%3B%3D%22%26amp%3B20)%26gt%3B3%2C%22Warning%22%2C%22%22)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EYou%20can%20try%20this%20formula.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22formula.JPG%22%20style%3D%22width%3A%20792px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F377521iE800AE30267F165C%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22formula.JPG%22%20alt%3D%22formula.JPG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3466776%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Trouble%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3466776%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1395034%22%20target%3D%22_blank%22%3E%40janetm126%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%3DIF(COUNTIF(%24C%245%3A%24C%2431%2C%22%26gt%3B%3D%22%26amp%3B20)%26gt%3B%3D3%2C%22Warning%22%2C%22%22)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EYou%20can%20try%20this%20formula.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22countif%20formula.JPG%22%20style%3D%22width%3A%20790px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F377522i0A112FDA4D68DCCA%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22countif%20formula.JPG%22%20alt%3D%22countif%20formula.JPG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3466939%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Trouble%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3466939%22%20slang%3D%22en-US%22%3E%26gt%3B3!%20Thank%20you!%20I%20could%20not%20figure%20out%20how%20to%20add%20that%20in!%20I%20appreciate%20you%20so%20much.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3479697%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Trouble%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3479697%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1174419%22%20target%3D%22_blank%22%3E%40Quadruple_Pawn%3C%2FA%3E%2C%20what%20if%20I%20needed%20an%20additional%20warning%20on%20top%20of%20the%20warning%20I%20already%20have%3F%20If%20C1%3AC31%20%26gt%3B%3D100%20AND%20E14%3DWarning%2C%20return%20Super%20Warning%20in%20another%20cell.%20How%20can%20I%20say%20IF%20AND%20when%20I%20am%20relying%20on%20the%20results%20of%20another%20formula%20(E14)%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3479781%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Trouble%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3479781%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1395034%22%20target%3D%22_blank%22%3E%40janetm126%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20the%20formula%20in%20the%20attached%20file%20return%20the%20expected%20result%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3479784%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Trouble%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3479784%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1395034%22%20target%3D%22_blank%22%3E%40janetm126%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%3CP%3EDoes%20the%20formula%20in%20the%20attached%20file%20return%20the%20expected%20result%3F%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3483031%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Trouble%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3483031%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1174419%22%20target%3D%22_blank%22%3E%40Quadruple_Pawn%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENot%20quite.%26nbsp%3B%20I%20am%20tracking%20monetary%20losses%20for%20a%20month's%20time%20and%20the%20disciplinary%20action%20for%20each%20loss%20category%3A%20cumulative%20amounts%2C%20large%20amounts%2C%20and%20subsequent%20large%20amounts.%26nbsp%3B%3CSPAN%3EC5%3AC35%20represents%20the%201st%20-%2031st.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EEmployee%20receives%20disciplinary%20action%20for%20losses%20%3CU%3E%26gt%3B%3C%2FU%3E%2020*3%20in%20the%20month.%26nbsp%3B%20Cell%2047%20has%20the%20formula%20you%20provided%20(thank%20you!)%3A%26nbsp%3B%3DIF(COUNTIF(%24C%245%3A%24C%2435%2C%22%26gt%3B%3D%22%26amp%3B20)%26gt%3B%3D3%2C%22Coach%22%2C%22%22)%3C%2FP%3E%3CP%3EEmployee%20receives%20disciplinary%20action%20for%20a%20any%20loss%20of%20%3CU%3E%26gt%3B%3C%2FU%3E%20250.%20Cell%20C48%20has%20the%20formula%3A%26nbsp%3B%20%3DIF(COUNTIF(%24C%245%3A%24C%2435%2C%20%22%26gt%3B%3D%22%26amp%3B250)%26gt%3B%3D1%2C%20%22Warning%22%2C%20%22%20%22)%3C%2FP%3E%3CP%3ESo%2C%20now%2C%20if%20the%20employee%20has%20the%20%22Warning%22%20in%20cell%20C48%20%3CU%3EAND%3C%2FU%3E%20they%20have%20another%20loss%20of%20%3CU%3E%26gt%3B%3C%2FU%3E%20100%2C%20I%20need%20cell%20C49%20to%20return%20%22Super%20Warning.%22%26nbsp%3B%20I%20hope%20these%20details%20make%20my%20request%20clearer.%3C%2FP%3E%3CP%3EP.S.%20Column%20C%20is%20for%20January.%26nbsp%3B%20I%20need%20the%20formulas%20to%20work%20for%20every%20other%20month%20as%20well.%26nbsp%3B%20Will%20the%20%24%20in%20my%20existing%20formulas%20cause%20issues%20since%20it's%20anchored%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3483434%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Trouble%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3483434%22%20slang%3D%22en-US%22%3ETried%20your%20formula%20again%20and%20it%20does%20work!%20But%20it%20only%20references%20one%20cell%20being%20%26gt%3B%3D%20100.%20How%20can%20I%20make%20it%20apply%20to%20C5%3AC35%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3483485%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Trouble%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3483485%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1395034%22%20target%3D%22_blank%22%3E%40janetm126%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%3DIF(AND(C%2448%3D%22Warning%22%2CCOUNTIF(C%245%3AC%2435%2C%22%26gt%3B%3D%22%26amp%3B100)%26gt%3B%3D2)%2C%22Super%20Warning%22%2C%22%22)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EThis%20is%20the%20formula%20in%20cell%20C49%20for%20january.%20I've%20changed%20the%20%24%20references%20to%20C%245%3AC%2435%20and%20copied%20the%20formula%26nbsp%3Bacross%20the%20range%20C49%3AN49%20for%20all%20months.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20formulas%20for%20%22Coach%22%20and%20%22Warning%22%20are%20adapted%20in%20the%20same%20way%20in%20the%20attached%20file.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3483547%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Trouble%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3483547%22%20slang%3D%22en-US%22%3EYou%20are%20AMAZING!!!!!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3484199%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Trouble%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3484199%22%20slang%3D%22en-US%22%3ESo%2C%20let%20me%20ask%20you%20one%20last%20thing.%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%20If%20I%20have...%20%3DIF(AND(C%2448%3D%22Warning%22%2CCOUNTIF(C%245%3AC%2435%2C%22%26gt%3B%3D%22%26amp%3B100)%26gt%3B%3D2)%2C%22Super%20Warning%22%2C%22%22)%3CBR%20%2F%3E...and%20I%20change%20the%20%26gt%3B%3D2%20to%20%3D1%20(so%20only%20one%20additional%20100%20loss%20gets%20the%20super%20warning)%2C%20can%20I%20add%20in%20another%20logical%20test%20that%20says%20if%20a%20second%20100%20loss%20occurs%20(%26gt%3B%3D2%3F)%20returns%20%22Youre%20Out%22%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3484478%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Trouble%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3484478%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1395034%22%20target%3D%22_blank%22%3E%40janetm126%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%26nbsp%3B%3CSPAN%3E%26gt%3B%3D2%20in%20the%20%22Super%20Warning%22%20formula%20means%20that%20there%20is%20only%20one%20additional%20100%20loss%20(at%20least).%20This%20is%20because%20of%20the%20250%20loss%20from%20the%20%22Warning%22%20formula.%20This%20250%20loss%20is%20at%20the%20same%20time%20a%20100%20loss.%20Another%20100%20loss%20would%20mean%20%26gt%3B%3D2%20in%20the%20%22Super%20Warning%22%20formula.%20I'd%20use%20%26gt%3B%3D2%20instead%20of%20%3D2%20in%20order%20to%20return%20the%20%22Super%20Warning%22%20for%20any%20number%20of%20additional%20100%20losses.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%3DIF(AND(C%2448%3D%22Warning%22%2CCOUNTIF(C%245%3AC%2435%2C%22%26gt%3B%3D%22%26amp%3B100)%26gt%3B%3D3)%2C%22You're%20out%22%2C%22%22)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EI've%20entered%20this%20formula%20for%20%22You're%20out%22%20in%20the%20attached%20file.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20verification%20i've%20entered%20losses%20of%20252%2C%20117%20and%20125%20step%20by%20step%20for%20december%20in%20order%20to%20check%20the%20results%20of%20the%20formulas%20and%20it%20seems%20to%20work%20(i%20didn't%20save%20these%20entries).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20want%20to%20complicate%20things%20but%20i%20was%20wondering%20if%20you%20want%20to%20return%20any%20message%20if%20there%20are%20e.g.%203%20losses%20of%20100%20and%20none%20of%20these%20is%20a%20250%20loss.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3484542%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Trouble%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3484542%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1395034%22%20target%3D%22_blank%22%3E%40janetm126%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%3DIF(AND(COUNTIF(C%245%3AC%2435%2C%22%26gt%3B%3D%22%26amp%3B250)%26gt%3B%3D1%2CCOUNTIF(C%245%3AC%2435%2C%22%26gt%3B%3D%22%26amp%3B100)%26gt%3B%3D3)%2C%22You're%20out%22%2CIF(AND(COUNTIF(C%245%3AC%2435%2C%22%26gt%3B%3D%22%26amp%3B250)%26gt%3B%3D1%2CCOUNTIF(C%245%3AC%2435%2C%22%26gt%3B%3D%22%26amp%3B100)%26gt%3B%3D2)%2C%22Super%20Warning%22%2CIF(COUNTIF(C%245%3AC%2435%2C%22%26gt%3B%3D%22%26amp%3B250)%26gt%3B%3D1%2C%22Warning%22%2CIF(COUNTIF(C%245%3AC%2435%2C%22%26gt%3B%22%26amp%3B20)%26gt%3B3%2C%22Coach%22%2C%22%22))))%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EI've%20combined%20all%20formulas%20in%20cell%20C52%20and%20copied%20across%20range%20C52%3AN52.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3484926%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Trouble%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3484926%22%20slang%3D%22en-US%22%3EThat%20is%20certainly%20a%20flaw%20in%20the%20%22policy%22%20as%20I%20should%20have%20a%20message%20for%20that%20too!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3484930%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Trouble%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3484930%22%20slang%3D%22en-US%22%3EYou%20deserve%20to%20be%20Quintuple_Pawn%20or%20Quadruple_King%20for%20all%20your%20help.%20You%20have%20been%20amazing.%20I%20hope%20to%20show%20you%20my%20skill%20set%20in%20the%20future%20as%20I%20get%20better%20and%20better.%3C%2FLINGO-BODY%3E
Occasional Contributor

I have a range of cells (C5:C31) in which a numeric value can be placed.  If 3 or more of these cells contain >=20, I want another cell to return "Warning".  I am far from an expert, but I've tried all I can do to figure it out.  Would someone please tell me how to write this dang formula? Thank you!

13 Replies
best response confirmed by Hans Vogelaar (MVP)
Solution

@janetm126 

=IF(COUNTIF($C$5:$C$31,">="&20)>=3,"Warning","")

You can try this formula.

countif formula.JPG 

>3! Thank you! I could not figure out how to add that in! I appreciate you so much.
@Quadruple_Pawn, what if I needed an additional warning on top of the warning I already have? If C1:C31 >=100 AND E14=Warning, return Super Warning in another cell. How can I say IF AND when I am relying on the results of another formula (E14)?

@janetm126 

Does the formula in the attached file return the expected result?

 
 

@Quadruple_Pawn 

Not quite.  I am tracking monetary losses for a month's time and the disciplinary action for each loss category: cumulative amounts, large amounts, and subsequent large amounts. C5:C35 represents the 1st - 31st.

Employee receives disciplinary action for losses > 20*3 in the month.  Cell 47 has the formula you provided (thank you!): =IF(COUNTIF($C$5:$C$35,">="&20)>=3,"Coach","")

Employee receives disciplinary action for a any loss of > 250. Cell C48 has the formula:  =IF(COUNTIF($C$5:$C$35, ">="&250)>=1, "Warning", " ")

So, now, if the employee has the "Warning" in cell C48 AND they have another loss of > 100, I need cell C49 to return "Super Warning."  I hope these details make my request clearer.

P.S. Column C is for January.  I need the formulas to work for every other month as well.  Will the $ in my existing formulas cause issues since it's anchored?

Tried your formula again and it does work! But it only references one cell being >= 100. How can I make it apply to C5:C35?

@janetm126 

=IF(AND(C$48="Warning",COUNTIF(C$5:C$35,">="&100)>=2),"Super Warning","")

This is the formula in cell C49 for january. I've changed the $ references to C$5:C$35 and copied the formula across the range C49:N49 for all months.

 

The formulas for "Coach" and "Warning" are adapted in the same way in the attached file.

 

You are AMAZING!!!!!
So, let me ask you one last thing. If I have... =IF(AND(C$48="Warning",COUNTIF(C$5:C$35,">="&100)>=2),"Super Warning","")
...and I change the >=2 to =1 (so only one additional 100 loss gets the super warning), can I add in another logical test that says if a second 100 loss occurs (>=2?) returns "Youre Out"?

@janetm126 

The >=2 in the "Super Warning" formula means that there is only one additional 100 loss (at least). This is because of the 250 loss from the "Warning" formula. This 250 loss is at the same time a 100 loss. Another 100 loss would mean >=2 in the "Super Warning" formula. I'd use >=2 instead of =2 in order to return the "Super Warning" for any number of additional 100 losses.

 

=IF(AND(C$48="Warning",COUNTIF(C$5:C$35,">="&100)>=3),"You're out","")

I've entered this formula for "You're out" in the attached file.

 

For verification i've entered losses of 252, 117 and 125 step by step for december in order to check the results of the formulas and it seems to work (i didn't save these entries).

 

I don't want to complicate things but i was wondering if you want to return any message if there are e.g. 3 losses of 100 and none of these is a 250 loss. 

@janetm126 

=IF(AND(COUNTIF(C$5:C$35,">="&250)>=1,COUNTIF(C$5:C$35,">="&100)>=3),"You're out",IF(AND(COUNTIF(C$5:C$35,">="&250)>=1,COUNTIF(C$5:C$35,">="&100)>=2),"Super Warning",IF(COUNTIF(C$5:C$35,">="&250)>=1,"Warning",IF(COUNTIF(C$5:C$35,">"&20)>3,"Coach",""))))

I've combined all formulas in cell C52 and copied across range C52:N52.

 

That is certainly a flaw in the "policy" as I should have a message for that too!
You deserve to be Quintuple_Pawn or Quadruple_King for all your help. You have been amazing. I hope to show you my skill set in the future as I get better and better.