Home

minimum value of one to show for a formula in excel 365

%3CLINGO-SUB%20id%3D%22lingo-sub-813405%22%20slang%3D%22en-US%22%3Eminimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-813405%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20estimating%20sheet%20I%20made%20that%20has%20a%20%22check%20box%22.%20%26nbsp%3BIf%20the%20box%20is%20checked%2C%20it%20will%20take%20a%20value%20in%20a%20cell%20and%20minus%201%20from%20it.%20%26nbsp%3BThe%20issue%20is%2C%20I%20need%20it%20to%20be%20no%20less%20than%201%2C%20so%20if%20I%20have%20a%20value%20of%201%20it%20shows%20up%20as%20a%200.%20%26nbsp%3BI%20have%20tried%20the%20min%2C%20minif%2C%20and%20nothing%20seems%20to%20work%20because%20it's%20not%20a%20range.%20%26nbsp%3BMy%20current%20formula%20is%20%3DIF(U50%2C(L8-1)%2C)%20%26nbsp%3BThis%20works%2C%20but%20will%20show%20a%200%20(or%20less)%20if%20the%20value%20in%20L8%20becomes%201%20or%20less.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-813405%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-813436%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-813436%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F380356%22%20target%3D%22_blank%22%3E%40Budman36%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETry%20this%20formula%20instead%3A%3C%2FP%3E%3CPRE%3E%3DIF(AND(U50%2CL8%26gt%3B1)%2C(L8-1)%2C1)%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-813498%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-813498%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35679%22%20target%3D%22_blank%22%3E%40Haytham%20Amairah%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWon't%20work.%20%26nbsp%3BJust%20giving%20me%20%22there's%20a%20problem%20with%20this%20formula%22%20message%2C%20but%20not%20saying%20what%20the%20issue%20is.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-813511%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-813511%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35679%22%20target%3D%22_blank%22%3E%40Haytham%20Amairah%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20disregard.%20%26nbsp%3BI%20had%20a%20typo%20this%20formula%20does%20work.%20%26nbsp%3BThank%20you!%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-813517%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-813517%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35679%22%20target%3D%22_blank%22%3E%40Haytham%20Amairah%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESorry...%20I%20was%20correct%20the%20first%20time.%20%26nbsp%3B%20It%20does%20not%20work.%20%26nbsp%3BIt%20still%20shows%20a%200%20if%20the%20value%20is%20a%20one%20or%20below.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-813520%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-813520%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F380356%22%20target%3D%22_blank%22%3E%40Budman36%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECould%20you%20attach%20the%20worksheet%20or%20a%20sample%20of%20it%20to%20figure%20out%20the%20problem%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-813524%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-813524%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35679%22%20target%3D%22_blank%22%3E%40Haytham%20Amairah%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20playing%20with%20it%2C%20it%20actual%20gives%20me%20a%20value%20of%201%20if%20the%20box%20is%20checked%20or%20not.%20%26nbsp%3Bit%20does%20seem%20to%20work%20if%20the%20box%20is%20checked%2C%20but%20shows%20a%20value%20of%201%20if%20unchecked.%20%26nbsp%3BSorry%20for%20the%20confusion.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-813539%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-813539%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F380356%22%20target%3D%22_blank%22%3E%40Budman36%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20update%20it%20as%20below%20to%20make%20it%20return%20nothing%20if%20the%20checkbox%20is%20unchecked!%3C%2FP%3E%3CPRE%3E%3DIF(U50%3DFALSE%2C%22%22%2CIF(AND(U50%2CL8%26gt%3B1)%2C(L8-1)%2C1))%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20want%20it%20to%20return%20something%20else%20if%20the%20checkbox%20is%20unchecked%2C%20type%20it%20in%20between%20the%20double%20quotes%26nbsp%3B%22%22%20in%20the%20formula.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20that%20helps%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-813642%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-813642%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35679%22%20target%3D%22_blank%22%3E%40Haytham%20Amairah%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOK..%20this%20WORKED!!!!%20Good%20news!%20%26nbsp%3BHowever%2C%20have%20you%20seen%20this%20before%3F%20%26nbsp%3BSee%20picture.%20%26nbsp%3B%201%20X%204%20%3D%204.%20%26nbsp%3BNot%202.%20%26nbsp%3BThis%20is%20pulling%20the%20information%20form%20the%20cells%20with%20your%20formula%20in%20them.%20%26nbsp%3BDoes%20not%20matter%20if%20another%20cell%20equal%20that%20value%2C%20restart%20the%20computer...%20%3F%3F%3F%3F%20%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F127679iAF10212040F39E06%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22what%20the%20heck.PNG%22%20title%3D%22what%20the%20heck.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-813663%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-813663%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F380356%22%20target%3D%22_blank%22%3E%40Budman36%3C%2FA%3E%26nbsp%3B%2C%20check%20this%20setting%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20371px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F127682i286E0EB2515E4CE9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.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-814109%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-814109%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F380356%22%20target%3D%22_blank%22%3E%40Budman36%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20common%20cause%20for%20this%20issue%20is%20the%20calculation%20option%20being%20set%20to%20Manual%2C%20please%20make%20sure%20the%20calculation%20option%20is%20set%20to%20Automatic%20as%20shown%20in%20Sergei's%20reply.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-814111%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-814111%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%3EIt%20is%20set%20on%20Automatic.%20%26nbsp%3B%20It's%20very%20odd.%20%26nbsp%3BIf%20I%20just%20take%20a%20random%20cell%20and%20type%201%2C%20another%204%2C%20and%20another%20%22%3D%22%20the%20two%20cells%20x%20each%20other%2C%20it%20coms%20up%20with%204.%20%26nbsp%3BBut%20if%20I%20use%20the%20values%20from%20those%20cells%20(one%20cell%20%3D%20the%20cell%20that%20has%20the%20%221%22%2C%20and%20one%20cell%20%3D%20the%20one%20that%20has%20the%204%2C%20it%20equals%202%3F%3F%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20861px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F127724i67017B4E4DD404FD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22what%20the%20heck%202.PNG%22%20title%3D%22what%20the%20heck%202.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-814176%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-814176%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F380356%22%20target%3D%22_blank%22%3E%40Budman36%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EPlease%20check%20the%20green%20triangle%20in%20the%20top-left%20corner%20of%20the%20cell%20as%20this%20indicates%20an%20error%20in%20the%20cell.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EAlso%2C%20check%20the%20number%20format%20of%20the%20cell%2C%20and%20keep%20them%20in%20default%20%22General%22.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F127734i7FBCDE41DDB6B3A2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%222019-08-21_6-48-33.png%22%20title%3D%222019-08-21_6-48-33.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3ERegards%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-816061%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-816061%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35679%22%20target%3D%22_blank%22%3E%40Haytham%20Amairah%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOk...%20so%20I%20checked%20what%20you%20and%20Sergei%20suggested%2C%20and%20it%20didn't%20help.%20%26nbsp%3BBacking%20into%20this%20issue%2C%20I%20tried%20to%20duplicate%20how%20the%20green%20triangles%20came%20about.%20%26nbsp%3B%20The%20only%20thing%20I%20can%20find%20is%20that%20the%20original%20estimating%20program%2C%20that%20I%20had%20made%2C%20was%20saved%20as%20a%20Macro-Enabled%20Worksheet.%20%26nbsp%3BThere%20was%20functions%20that%20worked%20with%20Word%2C%20that%20I%20no%20longer%20use.%20%26nbsp%3B%20If%20I%20were%20to%20take%20on%20of%20the%20original%20sheets%2C%20and%20try%20to%20modify%20it%2C%20it%20develops%20the%20triangles.%20%26nbsp%3BHowever%2C%20I%20am%20unable%20to%20save%20a%20modified%20version%2C%20or%20the%20original%20as%20a%20Macro-free%20workbook%3F%20%26nbsp%3BCould%20this%20be%20the%20issue%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-816362%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-816362%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F380356%22%20target%3D%22_blank%22%3E%40Budman36%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EIt%20might%20be%20because%20some%20macros%20running%20behind%20the%20scenes!%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIf%20you%20no%20longer%20need%20these%20macros%2C%20you%20can%20save%20the%20workbook%20as%20macro-free.%3C%2FP%3E%3CP%3ETo%20do%20so%2C%20open%20the%20workbook%2C%20press%20F12%20to%20open%20Save%20As%20dialog%20box.%3C%2FP%3E%3CP%3EThen%20choose%20(.xlsx)%20extension%20from%20the%20Save%20as%20type%20menu%20and%20then%20click%20Save.%3C%2FP%3E%3CP%3EIf%20you%20see%20a%20confirmation%20message%20like%20the%20below%2C%20click%20Yes.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20819px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F127938i348211A9ED61EDFA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Save%20workbook%20as%20macro-free.png%22%20title%3D%22Save%20workbook%20as%20macro-free.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20that%20didn't%20help%2C%20please%20attached%20the%20workbook%20or%20a%20sample%20of%20it%20to%20be%20able%20to%20figure%20out%20the%20problem.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-817337%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-817337%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35679%22%20target%3D%22_blank%22%3E%40Haytham%20Amairah%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20everything%20you%20said.%20%26nbsp%3BEven%20took%20a%20new%20sheet%20and%20did%20a%20few%20examples%20to%20see%20if%20it%20was%20my%20computer%2C%20and%20it%20works%20fine.%20%26nbsp%3BI%20give%20up!%20%26nbsp%3BAttached%20is%20an%20example.%20%26nbsp%3BThis%20is%20a%20part%20of%20my%20estimate%20sheet.%20%26nbsp%3BPlease%20don't%20tell%20me%20I%20have%20to%20start%20from%20scratch.%20%26nbsp%3BI%20think%20I%20will%20cry!...lol.%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-817458%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-817458%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F380356%22%20target%3D%22_blank%22%3E%40Budman36%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20figure%20it%20out!%3C%2FP%3E%3CP%3EIn%20cell%20X51%20the%20real%20value%20in%20it%20isn't%201%20but%200.5.%3C%2FP%3E%3CP%3ESelect%20cell%20X51%20and%20press%20increase%20decimal%20button%20as%20follows%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F128033i9F476070188E87AF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Increase%20Decimals.png%22%20title%3D%22Increase%20Decimals.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20you%20see%20in%20the%20cell%20not%20always%20the%20actual%26nbsp%3Bvalue%2C%20so%20be%20careful!%3C%2FP%3E%3CP%3ETo%20learn%20more%20about%20the%20Number%20Format%2C%20please%20watch%20this%20%3CA%20href%3D%22https%3A%2F%2Fyoutu.be%2Fc_ZJLJK5PjM%3Ft%3D2549%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Evideo%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20the%20formula%20in%20cell%20X51%3A%3C%2FP%3E%3CPRE%3E%3DROUNDUP(K9%2F2%2C1)%3C%2FPRE%3E%3CP%3EWhere%20K9%20%3D%201%3C%2FP%3E%3CP%3EThe%20result%20is%3A%200.5%20not%201%2C%20because%201%2F2%20%3D%200.5%3C%2FP%3E%3CP%3EAnd%20when%20you%20round%20%3CSTRONG%3E0.5%3C%2FSTRONG%3Eup%20to%20one%20decimal%20place%2C%20the%20result%20still%200.5%20because%20the%200.5%20only%20has%20one%20decimal%20place%20which%20is%205%2C%20but%20if%20the%20number%20was%20%3CSTRONG%3E1.56%3C%2FSTRONG%3E%2C%20in%20this%20case%2C%20it%20will%20be%20rounded%20up%20to%201.60.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20happened%26nbsp%3Bbecause%20you%20set%20the%20second%20argument%20of%20the%20ROUNDUP%20function%20to%201.%3C%2FP%3E%3CP%3EIf%20you%20want%20it%20to%20round%20the%20number%20up%20to%20zero%20decimal%20places%2C%20you%20need%20to%20set%20the%20second%20argument%20to%200%2C%20not%201%20as%20follows%3A%3C%2FP%3E%3CPRE%3E%3DROUNDUP(K9%2F2%2C0)%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20that%20helps%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-818075%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-818075%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35679%22%20target%3D%22_blank%22%3E%40Haytham%20Amairah%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20worked!%20The%20way%20you%20explained%20it%20makes%20total%20sense%20also.%20%26nbsp%3BThank%20you!%20%26nbsp%3BHowever%2C%20do%20I%20need%20to%20worry%20about%20all%20the%20other%20little%20green%20triangles%3F%20%26nbsp%3BThey%20are%20calculating%20correctly%2C%20but%20I%20have%20no%20idea%20why%20they%20are%20there.%20%26nbsp%3B%3C%2FP%3E%3CP%3EB.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-818171%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-818171%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F380356%22%20target%3D%22_blank%22%3E%40Budman36%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20green%20triangle%20indicates%20that%20the%20cell%20is%20not%20locked!%3C%2FP%3E%3CP%3EBy%20default%2C%20all%20cells%20in%20the%20worksheet%20are%20locked.%3C%2FP%3E%3CP%3EThe%20locked%20and%20unlocked%20states%20are%20related%20to%20the%20sheet%20protection%20feature.%3C%2FP%3E%3CP%3EWhen%20you%20enable%20the%20sheet%20protection%2C%20the%20unlocked%20cells%20can%20be%20edited.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22text-wrap%20tlid-copy-target%22%3E%3CDIV%20class%3D%22result-shield-container%20tlid-copy-target%22%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EFor%20that%2C%20Excel%20just%20warns%20you%20that%20this%20cell%20is%20not%20locked%2C%20and%20it's%20can%20be%20edited%20even%20if%20you%20enable%20the%26nbsp%3Bsheet%20protection.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22result-shield-container%20tlid-copy-target%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22result-shield-container%20tlid-copy-target%22%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3ETo%20set%20back%20all%20cells%20to%20their%20default%20state%2C%20select%20all%20cells%2C%20press%20Ctrl%2B1%2C%20go%20to%20Protection%20tab%2C%20check%20the%20Locked%20checkbox%2C%20then%20hit%20OK.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22result-shield-container%20tlid-copy-target%22%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F128053i0E13D6D2CC3C1E28%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Lock%20all%20cells.png%22%20title%3D%22Lock%20all%20cells.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20more%20information%2C%20check%20out%20this%20%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Flock-or-unlock-specific-areas-of-a-protected-worksheet-75481b72-db8a-4267-8c43-042a5f2cd93a%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Elink%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-818200%22%20slang%3D%22en-US%22%3ERe%3A%20minimum%20value%20of%20one%20to%20show%20for%20a%20formula%20in%20excel%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-818200%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35679%22%20target%3D%22_blank%22%3E%40Haytham%20Amairah%3C%2FA%3E%26nbsp%3BGot%20it...%20thank%20you%20so%20much%20for%20your%20help!%20%26nbsp%3BYou%20saved%20me%20a%20lot%20of%20aggravation%2C%20and%20an%20innocent%20computer%20monitor%20from%20suffering%20a%20horrible%20fate!%20%26nbsp%3B%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Budman36
Contributor

I have a estimating sheet I made that has a "check box".  If the box is checked, it will take a value in a cell and minus 1 from it.  The issue is, I need it to be no less than 1, so if I have a value of 1 it shows up as a 0.  I have tried the min, minif, and nothing seems to work because it's not a range.  My current formula is =IF(U50,(L8-1),)  This works, but will show a 0 (or less) if the value in L8 becomes 1 or less. 

 

19 Replies

@Budman36

 

Hi,

 

Try this formula instead:

=IF(AND(U50,L8>1),(L8-1),1)

 

Regards

@Haytham Amairah 

Won't work.  Just giving me "there's a problem with this formula" message, but not saying what the issue is. 

@Haytham Amairah 

Please disregard.  I had a typo this formula does work.  Thank you! 

@Haytham Amairah 

Sorry... I was correct the first time.   It does not work.  It still shows a 0 if the value is a one or below. 

@Budman36

 

Could you attach the worksheet or a sample of it to figure out the problem?

@Haytham Amairah 

In playing with it, it actual gives me a value of 1 if the box is checked or not.  it does seem to work if the box is checked, but shows a value of 1 if unchecked.  Sorry for the confusion. 

@Budman36

 

You can update it as below to make it return nothing if the checkbox is unchecked!

=IF(U50=FALSE,"",IF(AND(U50,L8>1),(L8-1),1))

 

If you want it to return something else if the checkbox is unchecked, type it in between the double quotes "" in the formula.

 

Hope that helps

@Haytham Amairah 

OK.. this WORKED!!!! Good news!  However, have you seen this before?  See picture.   1 X 4 = 4.  Not 2.  This is pulling the information form the cells with your formula in them.  Does not matter if another cell equal that value, restart the computer... ????  what the heck.PNG

@Budman36 , check this setting

image.png

 

@Budman36

 

The common cause for this issue is the calculation option being set to Manual, please make sure the calculation option is set to Automatic as shown in Sergei's reply.

 

Regards

@Sergei Baklan 

It is set on Automatic.   It's very odd.  If I just take a random cell and type 1, another 4, and another "=" the two cells x each other, it coms up with 4.  But if I use the values from those cells (one cell = the cell that has the "1", and one cell = the one that has the 4, it equals 2???

 

what the heck 2.PNG

@Budman36

 

Please check the green triangle in the top-left corner of the cell as this indicates an error in the cell.

Also, check the number format of the cell, and keep them in default "General".

2019-08-21_6-48-33.png

 

Regards

@Haytham Amairah 

Ok... so I checked what you and Sergei suggested, and it didn't help.  Backing into this issue, I tried to duplicate how the green triangles came about.   The only thing I can find is that the original estimating program, that I had made, was saved as a Macro-Enabled Worksheet.  There was functions that worked with Word, that I no longer use.   If I were to take on of the original sheets, and try to modify it, it develops the triangles.  However, I am unable to save a modified version, or the original as a Macro-free workbook?  Could this be the issue?

@Budman36

 

It might be because some macros running behind the scenes!

If you no longer need these macros, you can save the workbook as macro-free.

To do so, open the workbook, press F12 to open Save As dialog box.

Then choose (.xlsx) extension from the Save as type menu and then click Save.

If you see a confirmation message like the below, click Yes.

Save workbook as macro-free.png

 

If that didn't help, please attached the workbook or a sample of it to be able to figure out the problem.

@Haytham Amairah 

 

I tried everything you said.  Even took a new sheet and did a few examples to see if it was my computer, and it works fine.  I give up!  Attached is an example.  This is a part of my estimate sheet.  Please don't tell me I have to start from scratch.  I think I will cry!...lol.  

@Budman36

 

Hi,

 

I figure it out!

In cell X51 the real value in it isn't 1 but 0.5.

Select cell X51 and press increase decimal button as follows:

Increase Decimals.png

 

What you see in the cell not always the actual value, so be careful!

To learn more about the Number Format, please watch this video.

 

This is the formula in cell X51:

=ROUNDUP(K9/2,1)

Where K9 = 1

The result is: 0.5 not 1, because 1/2 = 0.5

And when you round 0.5 up to one decimal place, the result still 0.5 because the 0.5 only has one decimal place which is 5, but if the number was 1.56, in this case, it will be rounded up to 1.60.

 

This happened because you set the second argument of the ROUNDUP function to 1.

If you want it to round the number up to zero decimal places, you need to set the second argument to 0, not 1 as follows:

=ROUNDUP(K9/2,0)

 

Hope that helps

@Haytham Amairah 

That worked! The way you explained it makes total sense also.  Thank you!  However, do I need to worry about all the other little green triangles?  They are calculating correctly, but I have no idea why they are there.  

B. 

@Budman36

 

This green triangle indicates that the cell is not locked!

By default, all cells in the worksheet are locked.

The locked and unlocked states are related to the sheet protection feature.

When you enable the sheet protection, the unlocked cells can be edited.

 

For that, Excel just warns you that this cell is not locked, and it's can be edited even if you enable the sheet protection.
 
To set back all cells to their default state, select all cells, press Ctrl+1, go to Protection tab, check the Locked checkbox, then hit OK.
Lock all cells.png

 

For more information, check out this link.

 

Regards

@Haytham Amairah Got it... thank you so much for your help!  You saved me a lot of aggravation, and an innocent computer monitor from suffering a horrible fate!  

 

Related Conversations