Yes – say which formula you are using (don’t type it out in full – just type ‘using the weighted average cost of capital formula’)
However, assuming you have will have shown already the calculations separately for the cost of equity and the cost of debt, it would be easier for you to use the spreadsheet to then calculate the WACC, but that is obviously your choice.