Hi Joyce,
You can try to create an excel formula to calculate these values.
Please take a look at this link:
algorithm - Choosing an attractive linear scale for a
graph's Y Axis - Stack Overflow
You can develop your own algorithms based on Scott Guthrie’s.
Regards,
Jennifer