Use a LAMBDA function to create custom, reusable functions and call them by a friendly name. The new function is available throughout the workbook and called like native Excel functions.| support.microsoft.com
This article explains all the possible methods to do running total in Google Sheets, with step-by-step instructions and lots of examples.| Spreadsheet Point