Function Problems

Count Q1 Items Across Two Excel Sheets with Formulas

Phi Hung VoPhi Hung Vo Nov 12, 2026 870 views

Question details

Learn how to count items from two worksheets for Q1, using a formula that matches whether the data is stored as simple lists or date-based records.

Count Q1 Items Across Two Excel Sheets with Formulas
Product
Microsoft Excel worksheets
Device & OS
not provided
Scenario
The user needs one total for Q1 items recorded on two separate sheets in the same workbook.
Observed behavior
The required result is a combined count of nonblank items or records that meet Q1 date criteria on both worksheets.
Before you start

Check that both sheets use the correct item or date column and that Q1 dates are stored as real dates rather than text. Replace the example sheet names and ranges with the names and ranges in your workbook.

Solution 1Recommended

Combine two item lists with VSTACK and COUNTA

Use this method when each worksheet contains a simple range of items and you need to count all nonblank entries from both lists.

VSTACK creates one temporary combined list from ranges on two sheets, and COUNTA counts the nonblank cells in that combined list.

1
Choose a result cell

Open a blank cell on the summary sheet where you want the combined Q1 item total to appear.

2
Enter the combined list formula

Type =COUNTA(VSTACK(Q1_Sheet1!A2:A100,Q1_Sheet2!A2:A100)) and replace Q1_Sheet1, Q1_Sheet2, and A2:A100 with your actual sheet names and item ranges.

3
Press Enter and verify the count

Press Enter. The formula returns the number of nonblank items across both specified ranges; adjust the ending row if your lists are longer.

Combine two item lists with VSTACK and COUNTA
Use matching list ranges: If headers are included in both ranges, start at the first data row, such as A2, so the headers are not counted as items.
WPS Spreadsheet formulas

Count Q1 Records Across Worksheets in WPS Spreadsheet

WPS Spreadsheet lets you combine item lists and calculate Q1 totals with familiar spreadsheet formulas. Enter VSTACK with COUNTA for nonblank lists, or add COUNTIFS formulas when your records need date-based Q1 filtering.

  1. 1. Open the workbook in WPS Spreadsheet: Launch WPS Office, select Spreadsheet, and open the Excel workbook containing the two Q1 worksheets.
  2. 2. Select a summary cell: Click an empty cell on a summary sheet or in an unused area where the combined count should display.
  3. 3. Enter the appropriate formula: For lists, enter =COUNTA(VSTACK(Sheet1!A2:A100,Sheet2!A2:A100)); for dated records, add a COUNTIFS formula for each sheet using the Q1 date range.
  4. 4. Confirm the result: Press Enter, then check the referenced ranges and date column if the displayed total does not match the records you expect.
Use VSTACK and COUNTA to count nonblank items from two worksheet ranges.Use COUNTIFS with Q1 start and end dates to count qualifying records.Open and edit Microsoft Excel .xlsx and .xls workbooks with format compatibility.Work with a familiar spreadsheet interface for formulas, sheets, and cell references.
microsoft office alternative - wps office

Frequently Asked Questions

Can COUNTIFS count data on two Excel sheets in one function?

COUNTIFS does not use a single cross-sheet range. Create one COUNTIFS formula for each sheet and add the results with a plus sign.

How do I count only Q1 dates when the year changes?

Replace the year in DATE(year,1,1) and DATE(year,4,1). For example, use DATE(2025,1,1) and DATE(2025,4,1) to count Q1 of 2025.

Why does my COUNTA and VSTACK formula count too many cells?

Make sure the source ranges begin below the headers and do not include cells containing formulas that return an empty-looking value. COUNTA counts cells containing formulas even if they display as blank.

Can I count Q1 records only when an item name is present?

Yes. Add the item column and the "<>" criterion to each COUNTIFS function, for example COUNTIFS(Sheet1!A2:A100,"<>",Sheet1!B2:B100,">="&DATE(2024,1,1),Sheet1!B2:B100,"<"&DATE(2024,4,1)).