DRSteele
Well-known Member
- Joined
- Mar 31, 2015
- Messages
- 2,654
- Office Version
- 365
- Platform
- Windows
The new Excel function SEQUENCE seems to be producing errors. I want a sequence of values from -50% to 50% with a 5 point step.
Put this in a cell and evaluate it in Edit mode by pressing f9.
=SEQUENCE(21,,-0.5,0.05)
Not only is the 0 a wonky exponent, some of the other values near zero are weird, to wit:
={-0.5;-0.45;-0.4;-0.35;-0.3;-0.25;-0.2;-0.15;-0.1;-0.0500000000000001;-6.93889390390723E-17;0.0499999999999999;0.0999999999999999;0.15;0.2;0.25;0.3;0.35;0.4;0.45;0.5}
I need the values to be exact and as expected. Does anyone have any insight?
I realise that one solution is to eliminate the decimals and divide it at the end, but that is not ideal as a solution.
=SEQUENCE(21,,-50,5)/100
Put this in a cell and evaluate it in Edit mode by pressing f9.
=SEQUENCE(21,,-0.5,0.05)
Not only is the 0 a wonky exponent, some of the other values near zero are weird, to wit:
={-0.5;-0.45;-0.4;-0.35;-0.3;-0.25;-0.2;-0.15;-0.1;-0.0500000000000001;-6.93889390390723E-17;0.0499999999999999;0.0999999999999999;0.15;0.2;0.25;0.3;0.35;0.4;0.45;0.5}
I need the values to be exact and as expected. Does anyone have any insight?
I realise that one solution is to eliminate the decimals and divide it at the end, but that is not ideal as a solution.
=SEQUENCE(21,,-50,5)/100
Last edited: