How to Create an Excel Chart for Multiple Daily Stock Positions
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.

- 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.
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.
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.
Select your raw data table containing columns for Stock, Date/Time, and Running Shares.
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.
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).
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'.

Create a Dashboard with Separate Stock Charts
Use this approach if a single chart with multiple stocks becomes too cluttered or difficult to read.
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. Open data in WPS: Launch WPS Spreadsheet and open your transaction dataset.
- 2. Create a PivotTable: Go to the 'Insert' tab and click 'PivotTable' to group your transaction data by Date and Stock.
- 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.

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.




