Thank you for the reply. It's much appreciated.
From the formula that you have given, it does not give the same result compared to the one calculated manually.
CASE 1
From the taxable earnings on B6 the tax should be, in the case of someone below the age of 60= B17 and in the case of someone...