That seems quite accurate for low earth orbit satellites below about 1000Km, but it's way out for intermediate or high orbit satellites.
I made another spreadsheet comparing this formula to the one I gave in the other thread. I can't absolutely guarantee that my formula is correct, but the results look reasonable. OTOH, this formula is obviously wrong at high altitudes - it gives a path length less than HS - HE.