fix a bug in excel formula to detect similar numbers