https://exceljetsc.pages.dev/posts/get-pivot-table-subtotal-excel-formula/
Get Pivot Table Subtotal Excel Formula