Chart & Visualization Issues

Create an Excel Line Chart of Active Users Over Time

Steven ParkerSteven Parker Dec 2, 2026 869 views

Question details

Create a line chart showing the number of active users at each month-end.

Create an Excel Line Chart of Active Users Over Time
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user has Date Created and Date Deleted fields and wants to track active users by month.
Observed behavior
The desired chart has time on the horizontal axis and the active-user count on the vertical axis.
Before you start

Arrange the data with one row per user, Date Created in column A, and Date Deleted in column B. Make sure the dates are recognized as dates and leave Date Deleted blank for users who have not been deleted.

Solution 1Recommended

Calculate Month-End Active Users and Insert a Line Chart

Use this method to count users active at the end of each month and plot the results in Excel.

A user is counted at month-end if they were created by the end of that day and were either deleted later or have no deletion date. The formula also handles dates that include times.

1
Create a monthly date column

Enter Month in D1 and Active Users in E1. In D2, enter the first month-end date, such as 1/31/2024. In D3, enter =EOMONTH(D2,1) and fill down through the last month you want to chart.

2
Count active users

In E2, enter =COUNTIFS($A$2:$A$1000,">=1",$A$2:$A$1000,"<"&D2+1,$B$2:$B$1000,">="&D2+1)+COUNTIFS($A$2:$A$1000,">=1",$A$2:$A$1000,"<"&D2+1,$B$2:$B$1000,"="). Fill the formula down beside every month.

3
Insert the chart

Select the Month and Active Users columns, including their headers, and choose Insert > Line or Area Chart > 2-D Line.

4
Format the time axis

Right-click the horizontal axis and choose Format Axis. Set the axis type to Date axis if available, and use a number format such as mmm yyyy. Add axis titles for Month and Active Users if needed.

Calculate Month-End Active Users and Insert a Line Chart
Check the data range: The formula covers rows 2 through 1000. Extend both column ranges if your user data goes beyond row 1000. A user deleted during a given month-end day is not counted for that month.
Create charts in WPS Spreadsheets

Chart Monthly Active Users in WPS Spreadsheets

Use WPS Spreadsheets to calculate month-end active-user counts from creation and deletion dates, then turn the results into a line chart.

  1. 1. Open the user data: Open your workbook in WPS Spreadsheets and place Date Created in column A and Date Deleted in column B.
  2. 2. List month-end dates: Enter Month in D1 and Active Users in E1. Enter a month-end date in D2, then enter =EOMONTH(D2,1) in D3 and fill down.
  3. 3. Calculate active users: In E2, enter =COUNTIFS($A$2:$A$1000,">=1",$A$2:$A$1000,"<"&D2+1,$B$2:$B$1000,">="&D2+1)+COUNTIFS($A$2:$A$1000,">=1",$A$2:$A$1000,"<"&D2+1,$B$2:$B$1000,"="). Fill it down for each month and extend the row ranges if needed.
  4. 4. Insert a line chart: Select the Month and Active Users columns, then choose Insert > Chart and select a line chart. Format the horizontal axis to display month labels.
Calculate active users by month with COUNTIFS.Visualize changes over time with a line chart.Open and save Microsoft Excel XLSX files.Use a familiar spreadsheet interface for formulas and charts.
microsoft office alternative - wps office

Frequently Asked Questions

Are users with a blank deletion date included?

Yes. The second COUNTIFS in the formula counts users created by month-end whose Date Deleted cell is blank.

Is a user counted in the month they are deleted?

A user deleted on or before the last day of a month is not counted at that month-end. A user deleted after that day is counted.

Why are some users missing from the count?

Check that Date Created and Date Deleted contain real spreadsheet dates rather than text, and that the formula ranges cover all user rows. The formula also excludes blank creation dates.

How do I show months instead of individual days on the chart?

Right-click the horizontal axis in Excel, select Format Axis, and apply a number format such as mmm yyyy. Use Date axis as the axis type if that option is available.