Formula IF

%3CLINGO-SUB%20id%3D%22lingo-sub-3192142%22%20slang%3D%22en-US%22%3EFormula%20IF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3192142%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20a%20type%20a%20formula%20IF%20in%20excel%2C%20the%20excel%20returns%20an%20error%20like%20you%20can%20see%20below.%20The%20values%20are%20correct.%20But%20if%20i%20copy%20the%20same%20formula%20from%20another%20file%2C%20then%20it%20works.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Gabriela07_2-1645436700743.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F349920i6CE097DE78997031%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Gabriela07_2-1645436700743.png%22%20alt%3D%22Gabriela07_2-1645436700743.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3192142%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-3192179%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20IF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3192179%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1313343%22%20target%3D%22_blank%22%3E%40Gabriela07%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPerhaps%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel-formula%22%3E%3CCODE%3E%3DIF(%20C5%20%26lt%3B%205%2C%20%22nice%22%2C%20B5*D5)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3ECould%20depend%20on%20your%20regional%20settings%20-%20use%20commas%20or%20semicolons%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3192385%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20IF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3192385%22%20slang%3D%22en-US%22%3EThanks.%20but%20where%20can%20i%20check%20that%3F%3C%2FLINGO-BODY%3E
New Contributor

When a type a formula IF in excel, the excel returns an error like you can see below. The values are correct. But if i copy the same formula from another file, then it works.

Gabriela07_2-1645436700743.png

 

3 Replies

@Gabriela07 

Perhaps

=IF( C5 < 5, "nice", B5*D5)

Could depend on your regional settings - use commas or semicolons

Thanks. but where can i check that?

@Gabriela07 

Just open attached file, formula in formula bar will be shown in your locale