I do think that sharing a solution could be helpful for anyone needs to overwhelm a typical problem even after years, I was just searching the same problems, however all of the previous appreciated answers did not work with my case.
Hence, I'm confirming the simple following solution : Use the function (IMSUM), select the cells that you need their total summation, then click OK,