calculate hysteresis method 1 create a table in excel