Chart & Visualization Issues

How to Create an Excel Chart for Multiple Daily Stock Positions

Huma Ashraf ChHuma Ashraf Ch Nov 10, 2026 869 views

Question details

The user needs to create a chart in Excel to accurately track and visualize intraday share balances and cumulative holdings for multiple stocks.

How to Create an Excel Chart for Multiple Daily Stock Positions
Product
Excel
Device & OS
not provided
Scenario
Visualizing daily and intraday stock positions where multiple transactions might occur on the same day or at irregular trading intervals.
Observed behavior
Requires a reliable method to structure transaction data and select the appropriate chart type to handle multiple transactions per day across different stocks without distorting the timeline.
Before you start

Ensure your transaction data is organized in a normalized tabular format with separate columns for Stock Ticker, Date/Time, Transaction Quantity, and Running Total Shares.

Solution 1Recommended

Use a PivotTable and a Date-Based Line or Scatter Chart

This is the most effective method for summarizing intraday data and plotting cumulative shares, ensuring time gaps are accurately represented.

A PivotTable helps consolidate multiple transactions happening on the same day, giving you a clean daily running total. When dates are irregular, an XY Scatter Chart handles the gaps chronologically better than a standard Line Chart.

1
Organize data

Select your raw data table containing columns for Stock, Date/Time, and Running Shares.

2
Insert PivotTable

Go to the Insert tab and click PivotTable. Drag the 'Date' field to Rows, 'Stock' to Columns, and 'Running Shares' to the Values area to summarize daily totals.

3
Create the chart

Select the PivotTable data, navigate to the Insert tab, and choose an XY Scatter chart with smooth lines (best for irregular intervals) or a Line Chart (for regular daily data).

4
Format the X-axis

Right-click the horizontal X-axis on your chart, select 'Format Axis', and under Axis Options, ensure it is set to a 'Date axis' rather than a 'Text axis'.

Use a PivotTable and a Date-Based Line or Scatter Chart
Axis Formatting: Setting the X-axis to a Date axis ensures chronological accuracy, visually representing the correct time gaps even if some days have no trading activity.
Data Visualization Made Easy

Track Your Stock Portfolio Effortlessly with WPS Spreadsheet

WPS Spreadsheet provides powerful data analysis tools, including PivotTables and diverse chart types, making it simple to visualize complex stock positions and intraday balances.

  1. 1. Open data in WPS: Launch WPS Spreadsheet and open your transaction dataset.
  2. 2. Create a PivotTable: Go to the 'Insert' tab and click 'PivotTable' to group your transaction data by Date and Stock.
  3. 3. Insert a Chart: Highlight your summarized data, click 'Chart' under the Insert tab, and choose an XY (Scatter) or Line chart to plot your positions.
Seamlessly compatible with Microsoft Excel (.xlsx) formats and formulas.Built-in PivotTables to easily summarize daily and intraday stock transactions.Advanced charting options including Line, Scatter, and Stacked Area charts to visualize portfolios.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Excel line chart show uniform gaps between irregular stock trading dates?

If your X-axis is set to 'Text axis' or 'Category' rather than a 'Date axis', Excel will space all entries equally regardless of the actual time elapsed. Right-click the X-axis, select 'Format Axis', and choose 'Date axis' to fix this chronological spacing.

How can I visually show the total portfolio value alongside individual stock positions?

You can use a Stacked Area chart. This chart type layers each stock's holding value on top of one another, displaying both the individual stock contributions (by color band thickness) and the cumulative portfolio total (the top edge) over time.

What is the best chart type for irregular intraday stock trades?

An XY Scatter chart with straight or smooth lines is best for irregular time intervals. Unlike a standard Line chart, a Scatter chart plots data points proportionally along the X-axis based on exact date and time numeric values.