SOLVED
Home

Excel formula

%3CLINGO-SUB%20id%3D%22lingo-sub-1065068%22%20slang%3D%22en-US%22%3EExcel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1065068%22%20slang%3D%22en-US%22%3E%3CP%3Emultiple%20IF%20or%20possible%20and%2For%20functions.%20Trying%20to%20calculate%20if%20C8%20is%200%2C0%2C%20if%20C8%20is%20between%2011-20%20then%20C8*50%2C%20if%20C8%20is%20%26gt%3B%2020%20then%20C8*100%20plus%20the%20500%20from%20C8*10.%20end%20result%20is%20a%20%2450%20bonus%20per%20file%20on%20units%20greater%20than%2010%20to%2020%20units%20and%20an%20additional%20%24100%20bonus%20on%20all%20units%20%26gt%3B%2020.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1065068%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-1065316%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1065316%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F487745%22%20target%3D%22_blank%22%3E%40excelwnb%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAssuming%20there%20is%20no%20bonus%20between%200%20and%2010%20units%3A%3C%2FP%3E%3CP%3E%3DIF(C8%26gt%3B20%2C(C8-20)*100%2B500%2C%20IF(C8%26gt%3B%3D11%2C(C8-10)*50%2C0))%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1066355%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1066355%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F360420%22%20target%3D%22_blank%22%3E%40PReagan%3C%2FA%3E%26nbsp%3Bthis%20worked%20perfectly%20thank%20you.%3C%2FP%3E%3CP%3ECan%20I%20ask%20if%20you%20have%20insight%20into%20adding%20a%20minimum%20%241%2C595%20to%20this%20formula%3F%26nbsp%3B%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3Eif%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E(%3C%2FSPAN%3E%3CSPAN%3EC15%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20string%20%22%3E%22yes%22%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSPAN%3EC20%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E*%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E30%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%25%3C%2FSPAN%3E%3C%2FFONT%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3Eif%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E(%3C%2FSPAN%3E%3CSPAN%3EC16%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20string%20%22%3E%22yes%22%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%3EC20%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E*%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E20%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%25%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E0%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E)%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E).%20the%20question%20being%20if%20C20*30%20is%20not%20at%20least%20%241%2C595%20then%20the%20min%20calculation%20would%20be%20%241%2C595.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1066357%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1066357%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F487745%22%20target%3D%22_blank%22%3E%40excelwnb%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPerhaps%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%3DMIN(1595%2Cif(C15%3D%22yes%22%2CC20*30%25%2Cif(C16%3D%22yes%22%2CC20*20%25%2C0))%20)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1066364%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1066364%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%3Bthank%20you%20for%20responding.%20Unfortunately%2C%20that%20did%20not%20work%2C%20it%20still%20calcuated%20C20*30%25.%26nbsp%3B%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3EMIN%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E1595%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3Eif%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E(%3C%2FSPAN%3E%3CSPAN%3EC15%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20string%20%22%3E%22yes%22%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%3EC20%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E*%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E30%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%25%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3Eif%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E(%3C%2FSPAN%3E%3CSPAN%3EC16%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20string%20%22%3E%22yes%22%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%3EC20%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E*%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E20%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%25%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E0%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E)%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E)%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E).%20In%20addition%20to%20clarify%20I%20only%20want%20C20*30%20to%20be%20min%201595%2C%20not%20the%20C20*20%25%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1066368%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1066368%22%20slang%3D%22en-US%22%3EMy%20pleasure!%3CBR%20%2F%3E%3CBR%20%2F%3EAssuming%20a%20minimum%20of%201595%20would%20be%20applied%20to%20only%20C20*30%25%20and%20not%20C20*20%25%20then%20that%20could%20be%3A%3CBR%20%2F%3E%3DIF(C15%3D%E2%80%9Cyes%E2%80%9D%2C%20IF(C20*30%25%26lt%3B1595%2C%201595%2C%20C20*30%25)%2C%20IF(C16%3D%E2%80%9Cyes%E2%80%9D%2C%20C20*20%25%2C%200))%3CBR%20%2F%3E%3CBR%20%2F%3EThis%20formula%20was%20created%20on%20my%20phone%20so%20I%20am%20not%20able%20to%20test%20it.%20Please%20let%20me%20know%20if%20it%20works%20for%20you.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1066379%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1066379%22%20slang%3D%22en-US%22%3E%3CP%3EWow%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F360420%22%20target%3D%22_blank%22%3E%40PReagan%3C%2FA%3E%26nbsp%3Byou%20are%20awesome.%20Yes%20it%20looks%20like%20that%20is%20working.%20thank%20you%20very%20much.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1066380%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1066380%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F487745%22%20target%3D%22_blank%22%3E%40excelwnb%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EReplace%20MIN%20with%20MAX%2C%20then%20it%20will%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1066383%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1066383%22%20slang%3D%22en-US%22%3EYou%E2%80%99re%20welcome!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1066394%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1066394%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F487745%22%20target%3D%22_blank%22%3E%40excelwnb%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20case%20you%20are%20interested%20in%20a%20flexible%20solution%2C%20please%20have%20a%20look%20at%20the%20attached%20workbook.%20It%20allows%20you%20to%20describe%20your%20bonus%20plan%20in%20a%20simple%20table%20with%20Lower%20and%20Upper%20limits%20and%20Bonus%20amounts%20per%20bracket%2C%20without%20the%20need%20to%20code%20the%20limits%20and%20amounts%20into%20the%20formula.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20used%20Named%20Ranges%2C%20which%20allow%20you%20to%20expand%20the%20table%20to%20e.g.%205%20%26nbsp%3Bbrackets.%20Just%20make%20sure%20you%20insert%20rows%20above%20the%20yellow%20row%20and%20fill%20in%20the%20relevant%20limits%20and%20bonus%20amounts%20(or%20percentages)%20for%20each%20bracket.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20admit%20that%20the%20formula%20for%20calculating%20the%20Bonus%20is%20not%20entirely%20straight-forward%2C%20but%20it%20works%20great.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1085183%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1085183%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F360420%22%20target%3D%22_blank%22%3E%40PReagan%3C%2FA%3E%26nbsp%3BI%20am%20using%20this%20formula%26nbsp%3B%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3Eif%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E(%3C%2FSPAN%3E%3CSPAN%3ESummary2020!%24O%2414%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%26gt%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E137700%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E2%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E8%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E)%2C%20however%2C%20I%20am%20realizing%20that%20once%20the%20amount%20reaches%20%24137%2C700%20then%20all%20cells%20will%20revert%20to%202%20rather%20than%20stay%20as%20an%208%20if%20it's%20less%20than%20%24137%2C700.%20Do%20you%20know%20how%20to%20tell%20it%20to%20keep%20the%20cell%20at%208%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1086365%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1086365%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F487745%22%20target%3D%22_blank%22%3E%40excelwnb%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20formula%20that%20you%20shared%20works%20as%20follows%3A%3C%2FP%3E%3CUL%3E%3CLI%3EIf%20%22%3CSPAN%3ESummary2020!%24O%2414%22%20is%20greater%20than%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E137700%2C%20then%20return%202.%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3EIf%20%22Summary2020!%24O%2414%22%20is%20less%20than%20or%20equal%20to%20137700%2C%20then%20return%208.%3C%2FLI%3E%3C%2FUL%3E%3CP%3EYou%20say%20that%20%22%3CSPAN%3Eonce%20the%20amount%20reaches%20%24137%2C700%20then%20all%20cells%20will%20revert%20to%202%20rather%20than%20stay%20as%20an%208...%22.%20Based%20on%20the%20formula%2C%20if%26nbsp%3B%3C%2FSPAN%3E%22%3CSPAN%3ESummary2020!%24O%2414%22%3D137700%2C%20then%208%20will%20be%20returned.%20If%20you%20would%20like%20the%20formula%20to%20return%202%20for%20all%20values%20greater%20than%20or%20equal%20to%20137700%2C%20then%20change%20your%20formula%20to%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3Eif%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E(%3C%2FSPAN%3ESummary2020!%24O%2414%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%26gt%3B%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E137700%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E2%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E8%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E).%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3EEdit%3A%26nbsp%3B%3C%2FEM%3EIf%20%22Summary2020!%24O%2414%22%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E137700%20and%20is%20returning%202%2C%20then%20this%20could%20be%20caused%20by%20hidden%20rounding.%20For%20example%2C%20cell%20%22Summary2020!%24O%2414%22%20may%20show%20137700%20but%20actually%20be%20137700.10.%20To%20check%20this%2C%20expand%20the%20width%20of%20the%20cell%20and%20use%20the%20increase%20decimal%20button%20(located%20in%20the%26nbsp%3BNumber%26nbsp%3Bsection%20of%20the%26nbsp%3BHome%26nbsp%3Btab).%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1087295%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1087295%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F360420%22%20target%3D%22_blank%22%3E%40PReagan%3C%2FA%3E%26nbsp%3BI%20think%20where%20it%20is%20getting%20caught%20up%20is%20the%20let's%20say%20cells%20A18%20through%20ZZ18%20are%20all%20calculating%20income%2C%20using%20the%20formula%26nbsp%3B%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3Eif%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E(%3C%2FSPAN%3E%3CSPAN%3ESummary2020!%24O%2414%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%26gt%3B%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E137700%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E2%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E8%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E)%2C%20A18%2C%20B18%2C%20C18%2C%20etc...will%20all%20calculate%20%228%22%20based%20on%20the%20formula%20as%20the%20total%20income%20has%20not%20yet%20reached%20%24137%2C700%2C%20but%20when%20the%20income%20does%20reach%20%24137%2C700%20on%20AA%20-%20ZZ%20as%20an%20example%2C%20then%20AA%20-%20ZZ%20calculate%20correctly%20as%20%222%22%2C%20but%20A-Z%20also%20then%20revert%20back%20to%20%222%22%20when%20they%20originally%20calculated%20%228%22%20and%20should%20remain%20%228%22%20since%20the%20total%20income%20on%20A-Z%20was%20%26lt%3B%20%24137%2C700.%20So%20I%20want%20the%20calculation%20to%20change%20to%202%20only%20on%20the%20Cells%20where%20the%20income%20was%20%26gt%3B%20%24137%2C700%20when%20it%20was%20calculated.%20I%20think%20I%20may%20need%20to%20not%20reference%20the%20summary%20screen%20and%20use%20the%20cells%20as%20they%20are%20calculating%20to%20accomplish%20this%20but%20thought%20I%20would%20check%20to%20see%20if%20there%20was%20an%20easier%20way.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1091289%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1091289%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F487745%22%20target%3D%22_blank%22%3E%40excelwnb%3C%2FA%3E%26nbsp%3Bhere%20is%20my%20updated%20formula%2C%20any%20idea%20why%20it%20is%20not%20working%3F%26nbsp%3B%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3Eif%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E(%3C%2FSPAN%3E%3CSPAN%3EO5%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E0%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E0%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3Eif%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E(%3C%2FSPAN%3E%3CSPAN%3EO2%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%2B%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3Esum%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E(%3C%2FSPAN%3E%3CSPAN%3EM2%3AN2%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E)%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%26lt%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E13%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E1295%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E995%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E)%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E).%20this%20is%20the%2013th%20cell%20so%20it%20should%20be%20returning%20995%20but%20it%20is%20still%20returning%201295%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1091290%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1091290%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F360420%22%20target%3D%22_blank%22%3E%40PReagan%3C%2FA%3E%26nbsp%3B%3CSPAN%3Ehere%20is%20my%20updated%20formula%2C%20any%20idea%20why%20it%20is%20not%20working%3F%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3Eif%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E(%3C%2FSPAN%3E%3CSPAN%3EO5%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E0%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E0%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3Eif%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E(%3C%2FSPAN%3E%3CSPAN%3EO2%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%2B%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3Esum%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E(%3C%2FSPAN%3E%3CSPAN%3EM2%3AN2%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E)%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20%20default-formula-text-color%22%3E%26lt%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E13%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E1295%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22number%22%3E995%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E)%3C%2FSPAN%3E%3CSPAN%20class%3D%22%20default-formula-text-color%22%3E).%20this%20is%20the%2013th%20cell%20so%20it%20should%20be%20returning%20995%20but%20it%20is%20still%20returning%201295%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1091293%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1091293%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F360420%22%20target%3D%22_blank%22%3E%40PReagan%3C%2FA%3E%26nbsp%3Bduh%20figured%20it%20out%20sorry.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1092333%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1092333%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F487745%22%20target%3D%22_blank%22%3E%40excelwnb%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20apologize%2C%20I%20have%20not%20checked%20the%20forums%20in%20a%20few%20days.%20For%20future%20reference%2C%20please%20post%20new%20questions%20as%20a%20new%20thread%20instead%20of%20as%20a%20reply%20to%20an%20old%20thread.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

multiple IF or possible and/or functions. Trying to calculate if C8 is 0,0, if C8 is between 11-20 then C8*50, if C8 is > 20 then C8*100 plus the 500 from C8*10. end result is a $50 bonus per file on units greater than 10 to 20 units and an additional $100 bonus on all units > 20.

15 Replies
Highlighted
Solution

Hello @excelwnb,

 

Assuming there is no bonus between 0 and 10 units:

=IF(C8>20,(C8-20)*100+500, IF(C8>=11,(C8-10)*50,0))

Highlighted

@PReagan this worked perfectly thank you.

Can I ask if you have insight into adding a minimum $1,595 to this formula? =if(C15="yes",C20*30%,if(C16="yes",C20*20%,0)). the question being if C20*30 is not at least $1,595 then the min calculation would be $1,595. 

Highlighted

@excelwnb 

Perhaps

=MIN(1595,if(C15="yes",C20*30%,if(C16="yes",C20*20%,0)) )

 

Highlighted

@Sergei Baklan thank you for responding. Unfortunately, that did not work, it still calcuated C20*30%. =MIN(1595,if(C15="yes",C20*30%,if(C16="yes",C20*20%,0))). In addition to clarify I only want C20*30 to be min 1595, not the C20*20%

Highlighted
My pleasure!

Assuming a minimum of 1595 would be applied to only C20*30% and not C20*20% then that could be:
=IF(C15=“yes”, IF(C20*30%<1595, 1595, C20*30%), IF(C16=“yes”, C20*20%, 0))

This formula was created on my phone so I am not able to test it. Please let me know if it works for you.
Highlighted

Wow @PReagan you are awesome. Yes it looks like that is working. thank you very much. 

Highlighted

@excelwnb 

Replace MIN with MAX, then it will work.

 

Highlighted
You’re welcome!
Highlighted

@PReagan I am using this formula =if(Summary2020!$O$14>137700,2,8), however, I am realizing that once the amount reaches $137,700 then all cells will revert to 2 rather than stay as an 8 if it's less than $137,700. Do you know how to tell it to keep the cell at 8?

Highlighted

@excelwnb 

 

The formula that you shared works as follows:

  • If "Summary2020!$O$14" is greater than 137700, then return 2.
  • If "Summary2020!$O$14" is less than or equal to 137700, then return 8.

You say that "once the amount reaches $137,700 then all cells will revert to 2 rather than stay as an 8...". Based on the formula, if "Summary2020!$O$14"=137700, then 8 will be returned. If you would like the formula to return 2 for all values greater than or equal to 137700, then change your formula to =if(Summary2020!$O$14>=137700,2,8).

 

Edit: If "Summary2020!$O$14"=137700 and is returning 2, then this could be caused by hidden rounding. For example, cell "Summary2020!$O$14" may show 137700 but actually be 137700.10. To check this, expand the width of the cell and use the increase decimal button (located in the Number section of the Home tab).

Highlighted

@PReagan I think where it is getting caught up is the let's say cells A18 through ZZ18 are all calculating income, using the formula =if(Summary2020!$O$14>=137700,2,8), A18, B18, C18, etc...will all calculate "8" based on the formula as the total income has not yet reached $137,700, but when the income does reach $137,700 on AA - ZZ as an example, then AA - ZZ calculate correctly as "2", but A-Z also then revert back to "2" when they originally calculated "8" and should remain "8" since the total income on A-Z was < $137,700. So I want the calculation to change to 2 only on the Cells where the income was > $137,700 when it was calculated. I think I may need to not reference the summary screen and use the cells as they are calculating to accomplish this but thought I would check to see if there was an easier way. 

Highlighted

@excelwnb here is my updated formula, any idea why it is not working? =if(O5=0,0,if(O2+sum(M2:N2)<13,1295,995)). this is the 13th cell so it should be returning 995 but it is still returning 1295

Highlighted

@PReagan here is my updated formula, any idea why it is not working? =if(O5=0,0,if(O2+sum(M2:N2)<13,1295,995)). this is the 13th cell so it should be returning 995 but it is still returning 1295

Highlighted

@PReagan duh figured it out sorry. 

Highlighted

@excelwnb

 

I apologize, I have not checked the forums in a few days. For future reference, please post new questions as a new thread instead of as a reply to an old thread.

 

Thank you!

Related Conversations
SUMMING
dumby58 in Excel on
1 Replies
how to set 2E02 into escel
Daryl20 in Excel on
5 Replies
Trouble with formulas MIN/MAX within IF statements
BDB1973 in Excel on
6 Replies
Openen en opslaan WORD en EXCEL
Turke100 in Excel on
0 Replies
historical stock data
onassis78 in Excel on
0 Replies
Excel cell formatting
snojoe10 in Excel on
4 Replies