SOLVED

Multiple IF Function

%3CLINGO-SUB%20id%3D%22lingo-sub-1842118%22%20slang%3D%22en-US%22%3EMultiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842118%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20everyone%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20an%20urgent%20question%20that%20I%20couldn't%20find%20an%20answer%20to%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20use%202%20IF%20statements%20at%20the%20same%20time%2C%20each%20one%20contains%20if%20true%20value%20and%20if%20false%20value%20however%20the%20cells%20for%20true%20and%20false%20values%20are%20different%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22122.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F230734i7C05F807218086A1%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22122.png%22%20alt%3D%22122.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAll%20the%20formulas%20I%20found%20contains%20the%20true%20value%20only.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYour%20advice%20is%20much%20appreciated.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1842118%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1842166%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842166%22%20slang%3D%22en-US%22%3EUsing%202%20or%20more%20IF%20functions%20together%20means%20that%20you%20need%20to%20write%20formula%20such%20that%20the%202nd%20IF%20formula%20written%20either%20in%20the%20TRUE%20result%20or%20the%20FALSE%20result%20of%20the%201st%20IF%20formula%2C%20ie%2C%20either%20at%20place%20for%20%5Bvalue%20if%20true%5D%20or%20at%20the%20place%20of%20%5Bvalue%20if%20false%5D.%3CBR%20%2F%3EIn%20screenshot%20shared%2C%20the%201st%20IF%20formula%20does%20not%20have%20the%202nd%20IF%20formula%20written%20at%20either%20of%20these%202%20places%20(arguments).%3CBR%20%2F%3ENote%20that%20the%20formula%20inputs%20and%20results%20(arguments)%20should%20be%20separated%20by%20commas%20but%20a%20semicolon%20is%20visible%20after%20H30.%3CBR%20%2F%3E%3CBR%20%2F%3ENested%20IF%20should%20be%20like%20below%3A-%3CBR%20%2F%3E%3CBR%20%2F%3E%3DIF(condition%201%2C%20result%20if%20condition%201%20is%20true%2C%20IF(condition%202%2C%20result%20if%20condition%202%20is%20true%2C%20result%20if%20condition%202%20is%20false))%3CBR%20%2F%3E%3CBR%20%2F%3EPls%20try%20to%20form%20the%20formula%20again.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1842185%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842185%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20so%20much%20for%20your%20valuable%20time%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F636579%22%20target%3D%22_blank%22%3E%40amit_bhola%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%20when%20I%20applied%20the%20formula%20you%20suggested%20it%20got%20messy%20as%20it%20used%20the%20first%20condition%20to%20give%20the%20second%20true%20result%20.%26nbsp%3B%20so%20when%20I%20changed%20the%20first%20condition%20from%201%20to%200%2C%20it%20gave%20me%20the%20result%20when%20the%20second%20condition%20changed%20from%203%20to%202.%20hope%20there%20is%20a%20solution%20for%20this%20obstacle.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1842228%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842228%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F780014%22%20target%3D%22_blank%22%3E%40SARAH11%3C%2FA%3E%26nbsp%3B%2C%20are%20you%20trying%20to%20write%20a%20formula%20like%20below%20table%20pattern%3F%20If%20so%2C%20then%20can%20you%20write%20the%20conditions%20and%20required%20results%20in%20yellow%20cells%20and%20send%20back.%20This%20kind%20of%20pattern%20requires%20use%20of%20AND%20formula%20inside%20IF%20formula.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22amit_bhola_0-1604238209416.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F230739i8334F6F97550BF3A%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22amit_bhola_0-1604238209416.png%22%20alt%3D%22amit_bhola_0-1604238209416.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EExample%20sharing%20of%20what%20you%20are%20trying%20to%20do.%20Pls.%20make%20a%20table%20and%20send%20%3A-%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22amit_bhola_1-1604238277428.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F230740iC390AE70B8E76589%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22amit_bhola_1-1604238277428.png%22%20alt%3D%22amit_bhola_1-1604238277428.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1842250%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842250%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F636579%22%20target%3D%22_blank%22%3E%40amit_bhola%3C%2FA%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CTABLE%20border%3D%221%22%20width%3D%2275%25%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3EIf%20Condition%201%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3EIf%20condition%202%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3EThen%20Result%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3ETrue%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3ETrue%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3EResult%20true%20value%20of%26nbsp%3Bcondition%202%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3ETrue%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3EFalse%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3EResult%20true%20value%20of%26nbsp%3Bcondition%201%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3EFalse%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3ETrue%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3EResult%26nbsp%3B%20false%20value%20of%20condition%201%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3EFalse%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3EFalse%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3EResult%20false%20value%20of%26nbsp%3Bcondition%201%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1842251%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842251%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F780014%22%20target%3D%22_blank%22%3E%40SARAH11%3C%2FA%3E%26nbsp%3B%2C%20i%20think%20for%20the%20False%20False%20row%2C%20you%20meant%20%22Result%20false%20value%20of%20condition%202%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPls.%20see%20if%20below%20formula%20is%20giving%20the%20expected%20results%20or%20not..%20and%20i%20hope%20you%20would%20catch%20how%20this%20formula%20is%20made%20with%20use%20of%20AND%20to%20check%20the%202%20conditions%20simultaneously%2C%20and%20so%20if%20some%20adjustment%20of%20results%20is%20required%2C%20you%20can%20do..%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%3DIF(AND(G20%3D0%2CJ20%3D1)%2C0.35%2CIF(AND(G20%3D0%2CNOT(J20%3D1))%2CF30%2F(F30%2BG30)%2CIF(AND(NOT(G20%3D0)%2CJ20%3D1)%2CH30%2CI30)))%3C%2FCODE%3E%3C%2FPRE%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-1842254%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842254%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F636579%22%20target%3D%22_blank%22%3E%40amit_bhola%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3DIF(AND(G20%3D0%2CJ20%3D1)%2C%3CSTRONG%3E0.25%3C%2FSTRONG%3E%2CIF(AND(G20%3D0%2CNOT(J20%3D1))%2CF30%2F(F30%2BG30)%2CIF(AND(NOT(G20%3D0)%2CJ20%3D1)%2CH30%2CI30)))%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20made%20a%20slight%20change%20that%20is%20bold%2C%20otherwise%20it%20work%20yaaaaaay%20you%20are%20the%20hero%20of%20my%20day%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20cant%20thank%20you%20enough%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMillion%20thanks%20to%20you%20I%20really%20appreciate%20your%20time%20and%20effort%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1842255%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842255%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F780014%22%20target%3D%22_blank%22%3E%40SARAH11%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPerhaps%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DIF(%20G20%3D0%2CIF(J20%3D1%2C0.35%2CF30%2F(F30%2BH30))%2CH30)%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1842256%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842256%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F780014%22%20target%3D%22_blank%22%3E%40SARAH11%3C%2FA%3E%26nbsp%3B%2C%20yeah%20i%20noted%20later..%26nbsp%3B%20did%20you%20mean%20the%20bold%20text%20%3D%26nbsp%3B%200.35%20instead%20of%200.25%20%3F%20pls.%20check..%20in%20screenshot%2C%20it%20was%200.35...%26nbsp%3B%20(it%20seems%20to%20be%20the%20typo%20day%20today%20but%20never%20mind...)%20Thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1842257%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842257%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20also%20worked%20with%20a%20slight%20change%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3DIF(%20G20%3D0%2CIF(J20%3D1%2C0.35%2CF30%2F(F30%2BG30))%2CH30)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20so%20much%20appreciate%20it%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1842258%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842258%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F636579%22%20target%3D%22_blank%22%3E%40amit_bhola%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Edont%20worry%20about%20it%20its%20my%20mistake%20regardless%20I%20really%20thank%20you%20for%20your%20valuable%20help%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1842263%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842263%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F780014%22%20target%3D%22_blank%22%3E%40SARAH11%3C%2FA%3E%26nbsp%3B%2C%20sorry%20to%20bother%20again%2C%20but%20since%20you%20confirmed%20it%20so%20i%20should%20clarify.%20Pls.%20take%20care%20that%20the%20formula%20shared%20by%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3Bis%20of%20different%20pattern.%20It%20gives%203%20possible%20results%20instead%20of%204%20possible%20results%20which%20you%20described%20by%20the%20table.%20In%20any%20case%2C%20now%20you%20know%20how%20to%20write%20formulas%20for%20both%20patterns.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E(Your%20original%20query%20was%20somewhat%20difficult%20to%20understand%20the%20intended%20pattern)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EPattern%201%3C%2FSTRONG%3E%20%3D%204%20possible%20results%20(truth%20table)%20%3D%20what%20i%20shared%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22amit_bhola_1-1604240931690.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F230743iB663334278438530%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22amit_bhola_1-1604240931690.png%22%20alt%3D%22amit_bhola_1-1604240931690.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EPattern%202%3C%2FSTRONG%3E%20%3D%203%20possible%20results%20%3D%20what%20Mr.%20Sergei%20shared%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22amit_bhola_0-1604240908168.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F230742i4B5C4E7E3F97BB04%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22amit_bhola_0-1604240908168.png%22%20alt%3D%22amit_bhola_0-1604240908168.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1842339%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842339%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F636579%22%20target%3D%22_blank%22%3E%40amit_bhola%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20a%20comment%2C%20last%20two%20options%20are%20the%20same%2C%20thus%20totally%203%20results%20to%20return%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20243px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F230744iEB6D9EE0219F8107%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1842358%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842358%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3B%2C%20i%20get%20that.%20From%20truth%20table%20it%20is%203%20results%20but%20then%20i%20noticed%20that%20my%203%20results%20suggestion%20of%20my%201st%20reply%20was%20dismissed%20and%20i%20also%20noticed%20that%20%22I30%22%20is%20one%20of%20the%20results%20(4th)%20in%20original%20query%20screenshot%20so%20later%20i%20went%20for%20the%204%20results%20type%20formula..%3C%2FP%3E%3CP%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F780014%22%20target%3D%22_blank%22%3E%40SARAH11%3C%2FA%3E%26nbsp%3B%2C%20truly%20you%20should%20check%20if%20you%20need%203%20possible%20outcomes%20or%204%20possible%20outcomes%20and%20select%20the%20formula%20accordingly.%20I%20am%20concerned%20since%20only%20one%20of%20the%20patterns%20can%20be%20correct%20intent%20and%20so%20only%20one%20of%20the%20formulas%20can%20be%20correct.%20You%20can%20chose%20accordingly%20(perhaps%20you%20want%203%20outcomes%20and%20%22I30%22%20is%20never%20an%20intended%20outcome%2C%20pls.%20check)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1842571%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842571%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F636579%22%20target%3D%22_blank%22%3E%40amit_bhola%3C%2FA%3E%26nbsp%3B%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOh%20god%20could%20my%20life%20be%20more%20complicated%3F%3F!!%3C%2FP%3E%3CP%3EI%20just%20realized%20that%20I%20need%202%20choices%20in%20each%20cell%20as%20I%20have%20lower%20and%20upper%20estimate%26nbsp%3B%3C%2FP%3E%3CP%3Eas%20the%20following%20formula%20will%20give%20a%20result%20of%20lower%20estimate%20when%20its%20equal%20to%200.25%26nbsp%3B%3C%2FP%3E%3CP%3E%3DIF(AND(%24G%2420%3D0%2C%24J%2420%3D1)%2C0.25%2CIF(AND(%24G%2420%3D0%2CNOT(%24J%2420%3D1))%2CG30%2F(G30%2BH30)%2CIF(AND(NOT(%24G%2420%3D0)%2C%24J%2420%3D1)%2CI30%2CJ30)))%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ehowever%20I%20need%20to%20consider%20the%20upper%20estimate%20as%20well%2C%20I%20can't%20Put%20the%20upper%20and%20lower%20values%20in%202%20cells%20as%20I%20am%20going%20to%20use%20the%20value%20cell%20in%20further%20analysis%20hence%20I%20need%20to%20make%20sure%20that%20I%20can%20apply%20both%20upper%20and%20lower%20estimate%20to%20one%20cell.%3C%2FP%3E%3CP%3EPlease%20help%20I%20am%20about%20to%20give%20up%20%26lt%3B%5C3%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1842658%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842658%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F780014%22%20target%3D%22_blank%22%3E%40SARAH11%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20had%20a%26nbsp%3B%20idea%20but%20not%20sure%20if%20its%20correct%20or%20not%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3DIF(AND(%24G%2420%3D0%2C%24J%2420%3D1%20%3CSTRONG%3EOr%202%3C%2FSTRONG%3E%20)%2C0.25%20%3CSTRONG%3EOr%200.99%3C%2FSTRONG%3E%2CIF(AND(%24G%2420%3D0%2CNOT(%24J%2420%3D1%20%3CSTRONG%3EOr%202%3C%2FSTRONG%3E%20))%2CG30%2F(G30%2BH30)%2CIF(AND(NOT(%24G%2420%3D0)%2C%24J%2420%3D1%20%3CSTRONG%3EOr%202%3C%2FSTRONG%3E%20)%2CI30%2CJ30)))%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E1%20%3D%20Lower%20estimate%20with%20value%20of%200.25%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E2%3D%20Upper%20estimate%20with%20value%20of%200.99%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EWould%20that%20work%20correctly%20%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1842659%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842659%22%20slang%3D%22en-US%22%3EI%20tried%20the%20formula%20didn't%20work%20%3CLI-EMOJI%20id%3D%22lia_disappointed-face%22%20title%3D%22%3Adisappointed_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1843239%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1843239%22%20slang%3D%22en-US%22%3EBelow%20should%20work%3A-%3CBR%20%2F%3E%3CBR%20%2F%3E%3DIF(AND(%24G%2420%3D0%2COR(%24J%2420%3D1%2C%20%24J%2420%3D2))%2CIF(%24J%2420%3D1%2C0.25%2C0.99)%2CIF(AND(%24G%2420%3D0%2CNOT(OR(%24J%2420%3D1%2C%20%24J%2420%3D2)))%2CG30%2F(G30%2BH30)%2CIF(AND(NOT(%24G%2420%3D0)%2COR(%24J%2420%3D1%2C%20%24J%2420%3D2))%2CI30%2CJ30)))%3CBR%20%2F%3E%3CBR%20%2F%3EAlso%2C%20pls%20check%20earlier%20posts%203%20or%204%20possible%20outcomes%20discussion.%20For%20the%20False%20False%20case%20do%20you%20want%20the%20result%20to%20be%20same%20as%20False%20True%20case%20or%20different%3F%20In%20simpler%20words%2C%20for%20False%20False%20case%2C%20do%20you%20want%20I30%20as%20the%20result%20or%20J30%3F%20just%20check%20and%20put%20that%20in%20the%20end%20of%20the%20formula.%20(Currently%20J30%20is%20written.%20I%20hope%20J30%20is%20what%20you%20intend.)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1845392%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1845392%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F636579%22%20target%3D%22_blank%22%3E%40amit_bhola%3C%2FA%3E%26nbsp%3BThank%20you%20so%20much%20you%20are%20an%20Excel%20Genius%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EI%20faced%20a%20problem%20though%2C%20when%20both%20are%20false%20instead%20of%20I20%20it%20gives%200%20don't%20know%20why%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22123.png%22%20style%3D%22width%3A%201920px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F230866iA208F9EAE4DDEB9B%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22123.png%22%20alt%3D%22123.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1845555%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1845555%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F780014%22%20target%3D%22_blank%22%3E%40SARAH11%3C%2FA%3E%26nbsp%3B%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%26nbsp%3B%20FALSE-FALSE%20case%20%2C%20the%20output%20given%20in%20formula%20is%20the%20red%20font.%20It%20is%20currently%20written%20as%20J30.%20If%20you%20want%20that%20instead%20of%20J30%2C%20the%20FALSE-FALSE%20output%20should%20be%20I30%2C%20then%20replace%20the%20J30%20with%20I30%20in%20the%20formula.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CU%3EInstead%20of%20below%3C%2FU%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3DIF(AND(%24G%2420%3D0%2COR(%24J%2420%3D1%2C%20%24J%2420%3D2))%2CIF(%24J%2420%3D1%2C0.25%2C0.99)%2CIF(AND(%24G%2420%3D0%2CNOT(OR(%24J%2420%3D1%2C%20%24J%2420%3D2)))%2CG30%2F(G30%2BH30)%2CIF(AND(NOT(%24G%2420%3D0)%2COR(%24J%2420%3D1%2C%20%24J%2420%3D2))%2CI30%2C%3CFONT%20color%3D%22%23FF0000%22%3E%3CSTRONG%3EJ30%3C%2FSTRONG%3E%3C%2FFONT%3E)))%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CU%3EWrite%20below%3C%2FU%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3DIF(AND(%24G%2420%3D0%2COR(%24J%2420%3D1%2C%20%24J%2420%3D2))%2CIF(%24J%2420%3D1%2C0.25%2C0.99)%2CIF(AND(%24G%2420%3D0%2CNOT(OR(%24J%2420%3D1%2C%20%24J%2420%3D2)))%2CG30%2F(G30%2BH30)%2CIF(AND(NOT(%24G%2420%3D0)%2COR(%24J%2420%3D1%2C%20%24J%2420%3D2))%2CI30%3CFONT%20color%3D%22%23339966%22%3E%2C%3CSTRONG%3EI30%3C%2FSTRONG%3E%3C%2FFONT%3E)))%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1845578%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1845578%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20formula%20components%20work%20like%20below%20%3A-%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22amit_bhola_0-1604340238805.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F230886i464B45B72CBC3AD9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22amit_bhola_0-1604340238805.png%22%20alt%3D%22amit_bhola_0-1604340238805.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1845579%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1845579%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F636579%22%20target%3D%22_blank%22%3E%40amit_bhola%3C%2FA%3E%26nbsp%3BYeah%20now%20it%20worked%20perfectly%2C%3C%2FP%3E%0A%3CP%3EYou%20are%20a%20life%20safer.%20Cant%20thank%20you%20enough%26nbsp%3B%3C%2FP%3E%0A%3CP%3Egrateful%20and%20appreciate%20your%20time%20and%20effort%20.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20are%20a%20very%20nice%20person%20wish%20you%20all%20the%20best%20.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1845580%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1845580%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F780014%22%20target%3D%22_blank%22%3E%40SARAH11%3C%2FA%3E%26nbsp%3B%2C%20glad%20to%20know%20it%20works!%20Thanks%20and%20all%20the%20best!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1845676%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20IF%20Function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1845676%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F780014%22%20target%3D%22_blank%22%3E%40SARAH11%3C%2FA%3E%26nbsp%3B%2C%20there%20seems%20to%20be%20something%20wrong%20with%20the%20formula%20in%20cell%20%22I30%22%2C%20because%20the%20formula%20for%20%22I30%22%20itself%20contains%20%22I30%22.%26nbsp%3B%20You%20are%20calculating%20I30%20using%20I30%20which%20seems%20unusual%20and%20can%20be%20the%20cause%20of%20the%20problem.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPls.%20check%20if%20the%20%22I30%22%20cell%20contains%20the%20correct%20formula%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22amit_bhola_1-1604342050667.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F230897iA9FB7A8F2D0D0730%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22amit_bhola_1-1604342050667.png%22%20alt%3D%22amit_bhola_1-1604342050667.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hello everyone

 

I have an urgent question that I couldn't find an answer to

I am trying to use 2 IF statements at the same time, each one contains if true value and if false value however the cells for true and false values are different 

 

All the formulas I found contains the true value only.

 

Your advice is much appreciated.

 

This is what I am trying to do: however, didn't work

122.png

 

 

 

Thank you

41 Replies
Highlighted
Using 2 or more IF functions together means that you need to write formula such that the 2nd IF formula written either in the TRUE result or the FALSE result of the 1st IF formula, ie, either at place for [value if true] or at the place of [value if false].
In screenshot shared, the 1st IF formula does not have the 2nd IF formula written at either of these 2 places (arguments).
Note that the formula inputs and results (arguments) should be separated by commas but a semicolon is visible after H30.

Nested IF should be like below:-

=IF(condition 1, result if condition 1 is true, IF(condition 2, result if condition 2 is true, result if condition 2 is false))

Pls try to form the formula again.
Highlighted

Thank you so much for your valuable time @amit_bhola 

 

However when I applied the formula you suggested it got messy as it used the first condition to give the second true result .  so when I changed the first condition from 1 to 0, it gave me the result when the second condition changed from 3 to 2. hope there is a solution for this obstacle. 

Highlighted

@SARAH11 , are you trying to write a formula like below table pattern? If so, then can you write the conditions and required results in yellow cells and send back. This kind of pattern requires use of AND formula inside IF formula.

 

amit_bhola_0-1604238209416.png

 

Example sharing of what you are trying to do. Pls. make a table and send :-

 

amit_bhola_1-1604238277428.png

 

Highlighted

@amit_bhola  

If Condition 1If condition 2Then Result
TrueTrueResult true value of condition 2
TrueFalseResult true value of condition 1
FalseTrueResult  false value of condition 1
FalseFalseResult false value of condition 1
Highlighted
Best Response confirmed by SARAH11 (Contributor)
Solution

@SARAH11 , i think for the False False row, you meant "Result false value of condition 2"

 

Pls. see if below formula is giving the expected results or not.. and i hope you would catch how this formula is made with use of AND to check the 2 conditions simultaneously, and so if some adjustment of results is required, you can do..

 

 

=IF(AND(G20=0,J20=1),0.35,IF(AND(G20=0,NOT(J20=1)),F30/(F30+G30),IF(AND(NOT(G20=0),J20=1),H30,I30)))

 

 

Highlighted

@amit_bhola 

 

=IF(AND(G20=0,J20=1),0.25,IF(AND(G20=0,NOT(J20=1)),F30/(F30+G30),IF(AND(NOT(G20=0),J20=1),H30,I30)))

 

I made a slight change that is bold, otherwise it work yaaaaaay you are the hero of my day 

 

I cant thank you enough 

 

Million thanks to you I really appreciate your time and effort

Highlighted

@SARAH11 

Perhaps

=IF( G20=0,IF(J20=1,0.35,F30/(F30+H30)),H30)
Highlighted

@SARAH11 , yeah i noted later..  did you mean the bold text =  0.35 instead of 0.25 ? pls. check.. in screenshot, it was 0.35...  (it seems to be the typo day today but never mind...) Thanks!

Highlighted

@Sergei Baklan 

 

This also worked with a slight change 

 

=IF( G20=0,IF(J20=1,0.35,F30/(F30+G30)),H30)

 

Thank you so much appreciate it 

Highlighted

@amit_bhola 

 

dont worry about it its my mistake regardless I really thank you for your valuable help 

Highlighted

@SARAH11 , sorry to bother again, but since you confirmed it so i should clarify. Pls. take care that the formula shared by @Sergei Baklan is of different pattern. It gives 3 possible results instead of 4 possible results which you described by the table. In any case, now you know how to write formulas for both patterns.

 

(Your original query was somewhat difficult to understand the intended pattern)

 

Pattern 1 = 4 possible results (truth table) = what i shared

amit_bhola_1-1604240931690.png

 

Pattern 2 = 3 possible results = what Mr. Sergei shared

amit_bhola_0-1604240908168.png

 

Highlighted

@amit_bhola 

As a comment, last two options are the same, thus totally 3 results to return

image.png

Highlighted

@Sergei Baklan , i get that. From truth table it is 3 results but then i noticed that my 3 results suggestion of my 1st reply was dismissed and i also noticed that "I30" is one of the results (4th) in original query screenshot so later i went for the 4 results type formula..

 @SARAH11 , truly you should check if you need 3 possible outcomes or 4 possible outcomes and select the formula accordingly. I am concerned since only one of the patterns can be correct intent and so only one of the formulas can be correct. You can chose accordingly (perhaps you want 3 outcomes and "I30" is never an intended outcome, pls. check)

 

Highlighted

@amit_bhola , @Sergei Baklan 

 

Oh god could my life be more complicated??!!

I just realized that I need 2 choices in each cell as I have lower and upper estimate 

as the following formula will give a result of lower estimate when its equal to 0.25 

=IF(AND($G$20=0,$J$20=1),0.25,IF(AND($G$20=0,NOT($J$20=1)),G30/(G30+H30),IF(AND(NOT($G$20=0),$J$20=1),I30,J30)))

 

however I need to consider the upper estimate as well, I can't Put the upper and lower values in 2 cells as I am going to use the value cell in further analysis hence I need to make sure that I can apply both upper and lower estimate to one cell.

Please help I am about to give up <\3

Highlighted

@SARAH11

 

I had a  idea but not sure if its correct or not 

=IF(AND($G$20=0,$J$20=1 Or 2 ),0.25 Or 0.99,IF(AND($G$20=0,NOT($J$20=1 Or 2 )),G30/(G30+H30),IF(AND(NOT($G$20=0),$J$20=1 Or 2 ),I30,J30)))

1 = Lower estimate with value of 0.25

2= Upper estimate with value of 0.99 

 

Would that work correctly ?

Highlighted
I tried the formula didn't work
Highlighted
Below should work:-

=IF(AND($G$20=0,OR($J$20=1, $J$20=2)),IF($J$20=1,0.25,0.99),IF(AND($G$20=0,NOT(OR($J$20=1, $J$20=2))),G30/(G30+H30),IF(AND(NOT($G$20=0),OR($J$20=1, $J$20=2)),I30,J30)))

Also, pls check earlier posts 3 or 4 possible outcomes discussion. For the False False case do you want the result to be same as False True case or different? In simpler words, for False False case, do you want I30 as the result or J30? just check and put that in the end of the formula. (Currently J30 is written. I hope J30 is what you intend.)
Highlighted

 

@amit_bhola Thank you so much you are an Excel Genius  

I faced a problem though, when both are false instead of I20 it gives 0 don't know why 

 

123.png

Highlighted

@SARAH11 , 

For  FALSE-FALSE case , the output given in formula is the red font. It is currently written as J30. If you want that instead of J30, the FALSE-FALSE output should be I30, then replace the J30 with I30 in the formula. 

 

Instead of below

=IF(AND($G$20=0,OR($J$20=1, $J$20=2)),IF($J$20=1,0.25,0.99),IF(AND($G$20=0,NOT(OR($J$20=1, $J$20=2))),G30/(G30+H30),IF(AND(NOT($G$20=0),OR($J$20=1, $J$20=2)),I30,J30)))

 

Write below

=IF(AND($G$20=0,OR($J$20=1, $J$20=2)),IF($J$20=1,0.25,0.99),IF(AND($G$20=0,NOT(OR($J$20=1, $J$20=2))),G30/(G30+H30),IF(AND(NOT($G$20=0),OR($J$20=1, $J$20=2)),I30,I30)))