Chart & Visualization Issues

Create a Monthly Chart of Active Accounts in Excel

Chanuka GeekiyanageChanuka Geekiyanage Nov 18, 2026 870 views

Question details

Create a monthly chart showing how many accounts were active based on their creation and deactivation dates.

Create a Monthly Chart of Active Accounts in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
The user has account creation and deactivation dates and wants to visualize monthly active account counts.
Observed behavior
The chart should count each account that was active at any point during a month, including accounts without a deactivation date.
Before you start

Place one account per row on a sheet named Accounts, with creation dates in column A and deactivation dates in column B. Ensure the dates are recognized as spreadsheet dates and leave the deactivation cell blank for accounts that have not been deactivated.

Solution 1Recommended

Calculate monthly active accounts and create an Excel chart

Use a monthly helper table to count accounts active at any point in each month, then chart the results.

An account is counted if it was created before the next month begins and has no deactivation date or was deactivated on or after the first day of the month. This includes the deactivation date as an active day and does not represent a month-end snapshot.

1
Create a monthly table

On a new sheet, enter Month in A1 and Active Accounts in B1. Enter the first day of your starting month in A2, such as 1/1/2025.

2
List the remaining months

Enter =EDATE(A2,1) in A3 and fill it down through the last month you want to chart. Format column A as a month and year using Home > Number Format.

3
Count active accounts

In B2, enter =COUNTIFS(Accounts!$A$2:$A$1000,"<>",Accounts!$A$2:$A$1000,"<"&EDATE(A2,1),Accounts!$B$2:$B$1000,"")+COUNTIFS(Accounts!$A$2:$A$1000,"<>",Accounts!$A$2:$A$1000,"<"&EDATE(A2,1),Accounts!$B$2:$B$1000,">="&A2). Fill the formula down alongside the month list. Adjust all row limits if your account data extends beyond row 1000.

4
Insert the chart

Select the Month and Active Accounts table, including its headers. Choose Insert > Line Chart or Insert > Column Chart to display the monthly totals.

Calculate monthly active accounts and create an Excel chart
Using a PivotChart: To use a PivotChart instead, select the completed monthly table and choose Insert > PivotTable. Add Month to Rows and Active Accounts to Values, then select the PivotTable and choose Insert > PivotChart.
Build your monthly account chart

Chart monthly active accounts in WPS Spreadsheets

Use a monthly helper table and COUNTIFS formulas in WPS Spreadsheets, then insert a line or column chart to visualize the totals.

  1. 1. Open the account workbook: Open your workbook in WPS Spreadsheets. On a sheet named Accounts, put creation dates in column A and deactivation dates in column B, with one account per row.
  2. 2. Set up the month list: On a new sheet, enter Month in A1 and Active Accounts in B1. Enter the first day of the starting month in A2, then enter =EDATE(A2,1) in A3 and fill it down.
  3. 3. Calculate the totals: In B2, enter =COUNTIFS(Accounts!$A$2:$A$1000,"<>",Accounts!$A$2:$A$1000,"<"&EDATE(A2,1),Accounts!$B$2:$B$1000,"")+COUNTIFS(Accounts!$A$2:$A$1000,"<>",Accounts!$A$2:$A$1000,"<"&EDATE(A2,1),Accounts!$B$2:$B$1000,">="&A2). Fill the formula down and adjust the row limits to cover your data.
  4. 4. Create the chart: Select the monthly table and use Insert > Chart to choose a line or column chart. Save the workbook in your preferred supported format.
Count accounts active during each month, including accounts without a deactivation date.Open and edit Microsoft Excel XLSX and XLS files.Create line or column charts from calculated monthly totals.Use a familiar spreadsheet interface to work with existing account data.
microsoft office alternative - wps office

Frequently Asked Questions

What counts as an active account for a month?

This method counts an account if it was active at any point during the month. An account created or deactivated during that month is included, and a blank deactivation date means the account remains active.

How can I show accounts active at month-end instead?

In the monthly helper table, compare creation dates with the month-end date and count accounts whose deactivation date is blank or later than that date. Decide whether an account deactivated on the last day should be included before choosing the comparison operator.

Why are some accounts missing from the count?

Check that creation dates in Accounts column A are valid spreadsheet dates and that all account rows fall within the formula ranges. Extend the row 1000 limits in both COUNTIFS functions if necessary.

Can I use a PivotChart for the monthly totals?

Yes. Select the completed Month and Active Accounts helper table, choose Insert > PivotTable, and place Month in Rows and Active Accounts in Values. Then choose Insert > PivotChart.

Will accounts created and deactivated in the same month be counted?

Yes. They are counted for that month because the calculation includes accounts active at any point during the month.