You will have to create a VBA module and add a function
Function something (a, b) something = a + b * 2 End Function
Then write it in the worksheet