The above formula was incorrect. It should be (Total Asset - Cash) - (Total liabilities - Total Debt), in other words Total Asset - Cash - Total liabilities + Total Debt. It’s the difference between assets excluding “cash” portion and liabilities excluding “cash” portion, which is what the formula is trying to measure, i.e. the non-cash, or accruals, portion of the earnings.