$ 0 0 While your sheet is working it may look a bit cluttered as of all those function arguments.If you are not in need for the intermediate results you may consider putting all calculations into one function for better readability: