Function Problems

Use SUMIFS in WPS Spreadsheets to Calculate VAT Totals by Category, Quarter, and Rate

John WilsonJohn Wilson Nov 13, 2026 869 views

Question details

The user needs to build a VAT report that totals amounts by merchant category, quarter, year, and VAT rate using SUMIFS.

Use SUMIFS in WPS Spreadsheets to Calculate VAT Totals by Category, Quarter, and Rate
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
The source data contains merchant categories, transaction amounts, VAT percentages, and dates; the goal is to summarize VAT totals for each category, quarter, year, and rate.
Observed behavior
The report currently lacks grouped VAT totals that update from the source table.
Before you start

Prepare a source table with columns for Category, Total, VAT rate, and Date. Ensure dates are stored in a consistent date format and VAT rates are entered as percentages or decimal values.

Solution 1Recommended

Calculate VAT totals with SUMIFS helper columns

Use this formula-driven method when you need grouped VAT totals that automatically update as the source data changes.

This method works well in WPS Spreadsheets because SUMIFS supports multiple criteria and structured table references. A helper column converts each date into a quarter-year label so the SUMIFS formula can group records correctly.

1
Add a QuarterYear helper column

In the first blank column next to the source table, enter ="Q"&INT((MONTH([@Date])+2)/3)&"-"&YEAR([@Date]) and press Enter. Fill the formula down through all data rows.

2
Create the SUMIFS formula

Click the first summary cell where the VAT total should appear, type =SUMIFS(Table1[Total],Table1[Category],A2,Table1[QuarterYear],B2,Table1[VAT],C2), and press Enter. Replace table and cell references to match your workbook.

3
Format VAT rate as a percentage

Select the cells that contain VAT rates or percentage-based results, press Ctrl+1, choose Percentage, and set the desired number of decimal places.

4
Generate unique summary combinations

Use =UNIQUE(Table1[Category]), =UNIQUE(Table1[QuarterYear]), and =UNIQUE(Table1[VAT]) for each list, or go to Insert > PivotTable to build the full category, quarter, and rate combination report.

Calculate VAT totals with SUMIFS helper columns
Totals update automatically: Because the helper column and SUMIFS reference table ranges, new source rows are included when the table expands.
WPS Spreadsheets formula solution

Build a VAT Category, Quarter, and Rate Report with SUMIFS in WPS Spreadsheets

WPS Spreadsheets can complete this task directly using SUMIFS with helper columns or a PivotTable. Create a quarter-year helper column, apply SUMIFS with criteria for category, period, and VAT rate, and format the results as percentages for a clear VAT summary.

  1. 1. Open your workbook in WPS Spreadsheets: Launch WPS Office, click Menu > Open, and select the .xlsx file that contains the VAT source data.
  2. 2. Add the QuarterYear helper column: In the first empty column next to the source table, enter ="Q"&INT((MONTH([@Date])+2)/3)&"-"&YEAR([@Date]) and copy it down through all rows.
  3. 3. Create the SUMIFS formula: Click the first summary cell, type =SUMIFS(Table1[Total],Table1[Category],A2,Table1[QuarterYear],B2,Table1[VAT],C2), and press Enter. Adjust table and cell references as needed.
  4. 4. Review totals and format percentages: Select the VAT rate or VAT total cells, press Ctrl+1, choose Percentage or Currency, and save the workbook.
SUMIFS, UNIQUE, and PivotTable tools are built into WPS SpreadsheetsFull compatibility with Microsoft Excel .xlsx files, including structured table referencesFree to use with no subscription for core spreadsheet featuresFormulas update VAT totals automatically when source rows are addedFamiliar ribbon interface makes Excel users productive immediately
microsoft office alternative - wps office

Frequently Asked Questions

Can WPS Spreadsheets use the same SUMIFS syntax as Excel?

Yes. WPS Spreadsheets supports SUMIFS with the same arguments as Excel. Open your workbook, click the formula bar, and enter the SUMIFS formula using your table and column references.

How do I create a quarter-year helper column from dates?

Insert a new column next to the date column and enter ="Q"&INT((MONTH([@Date])+2)/3)&"-"&YEAR([@Date]). Copy the formula down; if dates are stored as text, convert them to real dates first.

How do I list unique category, quarter, and VAT combinations?

Use =UNIQUE(Table1[Category]), =UNIQUE(Table1[QuarterYear]), and =UNIQUE(Table1[VAT]) in separate areas, or insert a PivotTable from the Insert tab and drag Category, QuarterYear, and VAT to Rows.

Can I format VAT rates as percentages in the formula result?

Yes. Select the VAT rate cells, press Ctrl+1, choose Percentage, and set decimal places. To display a formula result as a text percentage, wrap it with TEXT(value,"0.00%").

What if my source table name or column names are different?

Replace Table1 and the column names in the SUMIFS formula with your actual table name and header names. You can check or edit table names under the Table Tools context tab.