Implementing a timeline graph like a scatter plot - excel

Hi all – not sure where to post this, but I am trying to figure out how to implement this idea. Basically I am implementing a timeline, but it differs slightly from examples I have seen.
I have 3 items - Projects, events, and a timeline. Projects are associated with multiple events, each of which occurs on a date. I want my timeline along x axis, and the projects listed down the y axis.
Each project is a “lane” has the same number of events, but they occur at different times for each project. The intent is to visualize how many of the events have occurred and when, per project.
I imagine the data would look like:
Event 1 | Event 2 | Event 3
Project 1 | 1/1/2015 | 5/1/2015 | 7/1/2015
Project 2 | 4/1/2014 | 9/1/2014 | --
Project 3 | 3/1/2015 | -- | --
Where blanks were not reported.
I tried an Excel scatter plot which gets me close , but I can’t figure out how to get the timeline on the x axis, and the “project” axis does not represent the project names, but instead displays numbers.
Any direction appreciated.

I think the basic problem is that there are no y-coordinates as such and it's not obvious what they should be.
Having played around with it a bit I came up with this data layout:-
So basically
Create a scatter with columns A & B
Add columns C & D
Add columns E & F
Add data labels.
You can use the dates for the data labels if you prefer.

Related

How do I manipulate my data in excel and create a funnel chart in excel with raw data?

Is there a way I can create a funnel chart, split by gender using the data in the table attached. i.e. 6 candidates were new applicants, 6 candidates made it to recruiter screen, 5 candidates made it to first interview, 4 candidates made it to final interview and 2 candidates made it to offer?
Refer to screenshots/ below:
Regular funnel charts:
=SUM(1*(FILTER(E$9:E$17,--($C$9:$C$17=$D19))>0))
Inverted funnels
Labels/data
=OFFSET($I$8,0,-COLUMNS($E21:E21)+1,1,1)
=SUM(1*(FILTER(INDEX($E$9:$I$17,0,MATCH(E$21,$E$8:$I$8,0))>0,--($C$9:$C$17=$D22))))
Graphs
REVISED: "How to have both genders showing on same funnel chart?"
Attempt 1 HACK (Bascially 2 graphs with some gradient shading tricks etc)
Attempt 2 - nailed it ☺
Note - this simply requires making the one gender (female in this case) all 'negative', multiply by -1 the relevant values to plot...
Here's a read-only copy of the (macro-free) file, for convenience...

How to change columns in a plot with shortcuts

I am working on Microsoft Excel 2013 scatter plots and I'd like to know if there is a more productive way to do this:
Let's say I have a big database with several columns and rows, i.e:
A B C D
1 Length Width Volume Area
2 2 1 8 4
3 3 2 7 1
4 1 5 3 5
5 7 3 12 6
I create a scatter plot for Volume vs Length. After, I want to create another scatter plot for Area vs Width. As I have a lot of rows and columns, I copy the first plot and then, in select data, I change the range of data (A to B and C to D). Is there an efficient way to do this? (shortcuts with arrows keys, maybe? I didn't find them) or Do I have to change the letters manually?
Thank you.
J.
If this is a repetitive task in the sense that every say Friday you create the same 4 graphs based on new information in the same columns then you could record a macro of what you are doing and associate it with keyboard short cuts.
You can do the same thing with updating the graph information but it starts getting a little more complex when you start changing which column number you want as the series. But its definitely possible. I would recommend recording a macro of you editing the 2-3 graphs so we can sheet patterns and we can probably help you edit the macro.
Now something simpler that may, and I stress may, suit your needs. Select A1 to D5, then insert you XY scatter plot. You X axis which should be common to all needs to be in the left most column. When you go to edit your source data you should see each series listed. You can simply check and uncheck which series you would like to have active. the ones with a check mark will display. If you needed three graphs at the same time, you could then copy and paste the graphs twice and set up each one to your desire without having to reselect the data range, you would just check/uncheck which series to display

How to build a line graph from two data sets in one table in Excel

I'm having an issue with Excel to which I can't find an accurate solution online.
I have this table:
PERSON | DATE | SIZE
==========================
Matt | 1-10 | 90.1
Jane | 1-10 | 71.3
Matt | 1-11 | 90.0
Jane | 1-11 | 71.0
Matt | 1-12 | 89.6
Jane | 1-13 | 70.2
And so on...
The thing is that this is the best solution for inputting this kind of data. I can't have two different tables, one for each person involved, because more people will probably be involved later on, and they all should be included in the same table.
As you can see, the idea is to monitor their weights. And this would be better achieved visually by a line graph that can tell each person what their progress is.
To this end, I would like to set up one graph that shows each person's progress individually as a different line. Like this:
I was wondering if there was any way of having Excel automatically build this line graph using this table but ordering values according to if cell X has value....
Not being able to find that, I also tried to set up an invisible table that would gather each set in its own column. For that, I was thinking of using an IF statement but I can't seem to find a way of getting that to populate a separate table, row by row, with the data from the original table. On the Internet I can only find how to add up all the values in a certain cell if another certain cell has X value.
I was wondering if anyone out there could give me a hand with this. Thanks in advance!
I would use a pivot table and pivot chart to accomplish this.
Insert a pivot table, select your entire data range (including headers).
Select Person, Date, and Size in the field list.
Under pivot table options select pivot chart and choose your desired chart type.
Move Person to Legend Fields, Date to Axis Fields, and Size to Values.
Right click the pivot table and go to PivotTable Options
Under "For empty cells show: " write N/A (this will let Excel ignore missing dates)
Here is an example of the blank values.
Let me know if any further clarification is needed.

I would like the dates to appear on the X-axis and the colour category to apear on the Y-axis, Excel

there is probably a fairly straight forward answer out there but I can not seem to find a solution online.
I have a table marked up like this (column names are in bold)
audit date | blindness
10/17/2001 | red
10/17/2002 | green
10/17/2003 | yellow
10/17/2004 | unknown
10/17/2005 | red
I would simply like to make a line graph in excel, where the audit date values are the X-axis categories, and the blindness values are the Y-axis categories.
I have tried so many little tutorial's online but my graph never comes out looking correctly. I can not get the axis the way I'd like.
PS - I am using Excel 2003
This will tell you how to do it:
http://peltiertech.com/Excel/Charts/ArbitraryAxis.html
P.S. I'm colorblind :-)

How do I Use Pivot Tables to Create One Line Per Sub Category

Forgive me if this is not the "the best" place to ask excel questions. I looked at the data analysis page and it looks like there aren't any real questions about excel in there.
I'm trying graph the sales of various products over a period of time. I'm pulling it from the database in the format
Sales Person | End of Month | Sales | Product Type
John Doe 1/31/2010 1,000 Widget A
John Doe 1/31/2010 2,000 Widget B
John Doe 1/31/2010 3,000 Widget C
John Doe 2/28/2010 5,000 Widget A
John Doe 2/28/2010 2,000 Widget B
John Doe 2/28/2010 3,000 Widget C
I then get a summary like:
Year | Month | Product | Total Sales
2010 Jan Widget A 1,000
Widget B 2,000
Widget C 3,000
Feb Widget A 5,000
Widget B 2,000
Widget C 3,000
The problem is that I'm wanting to graph The widgets as separate lines so that I can track sales against each other. Over time.
However, excel treats it all as one "total" and then shows 3 points on the graph for each month rather than showing 3 separate lines.
No matter how I manipulate it, I can't get it to make 3 separate lines.
The example above should show how it works with two products. I show how widget A and B are two points on the same line rather than belonging to two separate lines.
I have had success in the past for a different project when I hand entered information into a spreadsheet with the format of:
End of Month | Product A Sales | Product B Sales | Product C Sales
However, my current data is not in this format and it doesn't seem I can take the same approach...
Any help is welcome.
That is an excellent example for a pivot chart. Choose Insert->Pivot Table->Pivot Chart (Excel 2007). Afterwards select your original table. Then use "End of Month" for the rows, "Product Type" for the columns, and "Sum of Sales" for data. Excel will then automatically create one line per widget type (if line is not selected as default graph type you may have to change the chart type).
Based on your description, I think what you need might be a chart like this, the X-axis would be months while within each month, there would be several bars representing data of different widgets. Here I made an example based on your data.
As for data format, you should do some preprocessing to arrange your data into several (three in this case) subsets, each subset contains monthly sale data for a widget. It could look like the format below.
Jan Feb
WidgetA 1000 5000
WidgetB 2000 2000
WidgetC 3000 3000
As you could see, this is not an original Excel chart, I actually made this chart with the Funfun Excel add-in. This add-in allows you to use JavaScript directly in Excel so you could use powerful libraries like Chart.js or D3.js to make charts. Here in this example, I used Chart.js to create this chart.
Funfun also has an online editor which allows you to test your JavaScript code. For this example, you could check the details of the code on the link below.
https://www.funfun.io/1/edit/5a25653acf76561801b732b4
If you are satisfied with the result, you could easily load the result into your Excel using the URL above. Here are some screenshots of what it looks like.
Disclosure: I'm a developer of Funfun.
You can reorder the columns in the Pivot Table:
| Product | Month-Year | Total Sales
Widget A Jan 2010 1,000
Feb 2010 5,000
Widget B Jan 2010 2,000
Feb 2010 2,000
Widget C Jan 2010 3,000
Feb 2010 3,000
That would make it easier to create three series, one for each widget. Make the chart an X-Y chart and the series will line up.

Resources