Why does removing empty rows change my Excel line graph?

1 reply · 2K views · last reply
Username600
Messages
1
Reaction score
0
TL;DR
I'm trying to graph and accurately visualize some data on Microsoft Excel via charting but I'm having a hard time.
--------------------------------

Hi, just some backstory: My mom and my brother Rob, both loaned me some money in August 2020. They each loaned me $1000.00. I decided to use excel spreadsheet to keep track of my progress paying them both back.

Okay so here is the data table I created; as you can see the progression of the date column is DATE + 1. When I make a payment towards either party i record the amount under the appropriate Payments column. The adjacent Remaining field gets subtracted by the amount just entered. Here see for yourself.

Spreadsheet table with columns DATE, MOMMY payments and remaining balance, and ROB payments and remaining balance, listing daily rows from 2020-08-07 to 2020-09-12; balances step down from $1,100 and $1,150 after payments.

Spreadsheet screenshot with daily rows from 2020-09-12 to 2020-10-23, showing payment columns in pink and blue and remaining balances in red, falling from $1,000 to $650.
And from this data, here is a line graph showing my paying down debt.

Line graph titled DEBT PARTIES plotting MOMMY (pink) and ROB (blue) remaining balances from 7-Aug to 7-Feb, with step-down lines on a dollar axis from $0 to $1,400.


--------------------------------------------------------------------------------------------------

But notice in the above data table, there's a lot of redundant rows (dates); dates during which nothing happened. I decided to trim these dates/rows and created (what I thought to be..) just a more compact but an equivalent table with the same amount of data.Here is the new table I created:
Excel spreadsheet of loan repayments with columns for date, MOMMY and ROB payments and remaining balances, from 2020-08-07 to 2021-01-30, ending with remaining $110.00 and $420.00.

And here is the corresponding graph:

Line graph titled DEBT PARTIES plotting MOMMY (pink) and ROB (blue) remaining balances from Aug-20 to Jan-21 on a $0 to $1,400 axis; both lines decline stepwise.
The second data table is just more compact, that's it.
Yet if you look at the two graphs side by side they look quite different. I've made sure the two graphs' settings are all identical, so I'm at a loss.

Two side-by-side line graphs titled DEBT PARTIES plotting remaining debt for MOMMY (pink) and ROB (blue) against dates, the left spanning August to February with uneven x-axis spacing, the right spanning August 2020 to January 2021 with even spacing.


If someone can offer an explanation as to why graph 2 is plotting the SAME data, differently, please do tell!Any helpful input is appreciated, Thanks!
 
Last edited:
You are missing the dates immediately before you repay something.

The original graph had a data point for 2020-08-27 at $1100, guaranteeing a straight line up to that day. The second graph is missing that, so Excel draws a slope from the $1100 at the starting point to $1050 at 2020-08-28.

The easiest way to fix that is to add a row each day before you pay something back.