Link to home
Start Free TrialLog in
Avatar of Blair Benjamin
Blair BenjaminFlag 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!
Avatar of dlmille
dlmille
Flag of United States of America image

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
Avatar of 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
Where are the sales figures?  All you uploaded were dates.  Should I make them up?
ASKER CERTIFIED SOLUTION
Avatar of Patrick Matthews
Patrick Matthews
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
That's what I'm assuming, Dave, but I've been wrong before :)
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!
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
benjaminfam,

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

:)

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