calculate hysteresis method 2 create a table in excel