並前往https://openoffice.blogs.com/openoffice/2009/08/using-sumif-and-if-functions-together-to-conditionally-add-different-numbers.html