SOLVED

Trouble replicating calculator result

%3CLINGO-SUB%20id%3D%22lingo-sub-899665%22%20slang%3D%22en-US%22%3ETrouble%20replicating%20calculator%20result%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-899665%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20484px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F135868iE668D1EA5A6AB5FA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22formula.png%22%20title%3D%22formula.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIm%20trying%20to%20write%20a%20formula%20in%20excel%20that%20replicates%20the%20result%20i%20get%20when%20the%20fomula%20is%20used%20on%20a%20calculator.%3C%2FP%3E%3CP%3EBelow%20is%20the%20formula%20im%20using%20on%20excel.%3C%2FP%3E%3CP%3E%3D(C5-C9)%2F4%2B(((C4-C8)%2F4)%2B((C6-C10)%2F4))*SIN(45)%3C%2FP%3E%3CP%3Ethe%20result%20im%20getting%20is%20-0.42.%20Can%20anyone%20tell%20me%20why%20that%20is%20please%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-899665%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-899698%22%20slang%3D%22en-US%22%3ERe%3A%20Trouble%20replicating%20calculator%20result%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-899698%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F422136%22%20target%3D%22_blank%22%3E%40sylvester2050%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhat%20is%20with%20SIN(45)%2C%2045%20radians%20or%2045%20degrees%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-899711%22%20slang%3D%22en-US%22%3ERe%3A%20Trouble%20replicating%20calculator%20result%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-899711%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F422136%22%20target%3D%22_blank%22%3E%40sylvester2050%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESIN%20formula%20needs%20radians%20while%20you%20entered%20degrees.%20so%20SIN%20formula%20returns%20the%20wrong%20value.%20You%20need%20to%20convert%20degrees%20to%20radians%20with%20RADIANS(45)%20so%20the%20last%20part%20of%20your%20formula%20should%20be%20SIN(RADIANS(45))%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-899733%22%20slang%3D%22en-US%22%3ERe%3A%20Trouble%20replicating%20calculator%20result%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-899733%22%20slang%3D%22en-US%22%3E%3CP%3Edegrees%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

formula.png

 

Im trying to write a formula in excel that replicates the result i get when the fomula is used on a calculator.

Below is the formula im using on excel.

=(C5-C9)/4+(((C4-C8)/4)+((C6-C10)/4))*SIN(45)

the result im getting is -0.42. Can anyone tell me why that is please?

3 Replies
Highlighted

@sylvester2050 

What is with SIN(45), 45 radians or 45 degrees?

Highlighted
Best Response confirmed by sylvester2050 (New Contributor)
Solution

@sylvester2050 

 

SIN formula needs radians while you entered degrees. so SIN formula returns the wrong value. You need to convert degrees to radians with RADIANS(45) so the last part of your formula should be SIN(RADIANS(45))

Highlighted

degrees