Avatar of Blair Benjamin
Blair Benjamin
Flag for United States of America asked on

Line Chart in Excel 2007

Hello.  I'm trying to make a line chart using Excel data, but I can't seem to figure out how to get the results I want.  I'm thinking that it can't be this complicated.  I have a spreadsheet with dates of sales - one column has dates for Jan-May of 2011 and another has dates for Jan-May of 2012.   I want two lines on the chart representing the two years, with the y-axis having the # of sales and the x-axis having date ranges (say, every X days or so).  My data might look like this, with a date representing each sale (so there would be multiple entries with the same date).
Column 1
1/1/2011
1/2/2011
1/2/2011
1/2/2011
1/4/2011
1/6/2011
1/6/2011

Column 2
1/1/2012
1/1/2012
1/2/2012
1/3/2012
1/3/2012
1/4/2012
1/8/2012
1/8/2012
1/8/2012

How might this be accomplished?  Thanks to anyone who can help!
Microsoft Excel

Avatar of undefined
Last Comment
Blair Benjamin

8/22/2022 - Mon
dlmille

Creating a Pivot Chart, so you can sum sales on the same day might be the most expedient.

Please upload a sample sanitized worksheet so we can demonstrate.

Dave
Blair Benjamin

ASKER
OK, thanks.  Here is a sample file.  Again, each date indicates a sale transaction, so some dates have multiple, some have none.
EE-Sales-Data.xlsx
dlmille

Where are the sales figures?  All you uploaded were dates.  Should I make them up?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER CERTIFIED SOLUTION
Patrick Matthews

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
dlmille

Patrick - I certainly didn't catch that the OP was trying to plot the actual number of sales events, I was looking for actual unit sales, lol.

Thanks for stepping in.

Dave
Patrick Matthews

That's what I'm assuming, Dave, but I've been wrong before :)
Blair Benjamin

ASKER
Yes, each date represents one transaction.  That's why for some dates there are more than one transaction and other dates have none.   Hope this clarifies.  I did not have a chance to check out the links or attachments yet, but I definitely will when I get back into the office!  Thanks!
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Patrick Matthews

benjaminfam,

Clever, but I think you'll find that the method I used in http:#a38013680 yields the same result in fewer steps.

:)

Patrick
Blair Benjamin

ASKER
Looks like there are multiple ways to accomplish this. I appreciate the assistance!