need to create salary data with salary bands - excel

looking to create a salary chart for all my employees. should be xy scatter plot with all salary data for my employees grouped by their title. I want floating bar graph representing salary range for that title.
salary data:
employee,title,salary
joe, eng 1, 15000
mike, eng 1, 16000
kelly, eng 3, 25000
steve, eng 2, 20000
jane, eng 3, 30000
michelle, eng 5, 60000
anan, eng 5, 70000
eng level salary band
title,min, max
eng 1, 10000, 20000
eng 2, 15000, 30000
eng 3, 25000, 40000
eng 4, 30000, 60000
eng 5, 50000, 80000
eng 6, 60000, 100000
note i wont have employees in every level, but want to show that level on the chart, the levels should be shown left to right on the graph from eng 1 to eng 6
i am having a hard time to figure out how to do this in excel...your help would be appreciated

We'll make a floating bar chart with the salary bands, then overlay XY scatter points with the individual data.
First, insert a column between min and max salary in the bands table, and use a formula to compute the span between max and min, as shown below. Select the shaded range and insert a stacked column chart. It looks like the top chart below.
Format the chart as follows: Remove the title (or enter something useful). Remove the legend. Change the number format of the vertical axis to 0,"k" (the comma knocks off a set of three zeros). Format the Min series with no border and no fill, so it is invisible. Format the Span series to use a lighter fill color. Change the gap width of the Span series to something like 75.
Insert a column that contains the number of the salary band (or just change "eng X" to "X") as shown below left. Copy the shaded range, select the chart, choose Paste Special from the Paste dropdown on the Home tab of the ribbon, and use the options shown in the dialog below right (add cells as new series, series in columns, series names in first row, category labels in first column). The chart looks like it got a new set of stacked bars; we'll fix it shortly.
Right click the added series, choose Change Series Chart Type, and choose the XY Scatter style with markers and no lines (below left). Select the new series with markers, press the Ctrl+1 shortcut to format it, choose Primary axis, so it aligns nicely with the existing floating bars, and choose a format that stands out. I used a dark blue marker border and white marker fill (bottom left). Add labels using the Excel 2013 option, Label contains value from cells, or in older versions of Excel, install Rob Bovey's Chart Labeler add-in (free from http://appspro.com) to add arbitrary labels. Also, you should stretch the chart vertically to add resolution (below right).

Related

How Can I create a distribution chart in Microsoft Excel?

I want to create a histogram in Microsoft Excel. I think this should be easy but I am oddly having some difficulties.
I have the following table:
Bins | Frequency
50000 | 800
100000 | 500
150000 | 300
and so on. The Bins column shows the bin width for this histogram. The Frequency column shows the number of values in each bin. How can I then turn the above table into a histogram?
Since you already have the Bins and Frequency created, you can select these cells and insert a normal column chart under Insert -> Charts -> 2D-Column.
In order to make it look more like a histogram you can alter the formatting of the chart.
First change the Gap Width under Series Options -> Series Options to 0%
Then add in a border to help distinguish the bars under Series Options -> Fill & Line
You can also play around with the Axis names and add "Frequency" to the y-axis and "Bins" to the x-axis by clicking on the Chart Elements Button (Green plus when hovering over chart) and selecting Axis Titles.

How to plot a graph showing the rolls of a dice and the frequency?

I have a a column of data which tells me the outcome after a roll of the dice.
In Excel how do I plot a graph which shows frequency of the outcomes on the y axis and numbers between 1 and 6 on the x axis?
Use a pivot table to create this graph.
Insert tab > PivotTable
Row Labels (lower left box) should be the dice roll value. Values (lower right box) should be the count of the dice roll value. Lastly create a bar chart from the pivot table.

how do you get each item in a scatterchart legend to appear only once

The legend in my scatter chart shows a cluster for every point, I would like it to just show the unique items, and therefore it should only have 3 (A, B, C) not 6.
You have 5 series on your chart, each with 1 point I think (right click on the chart and click "Select data" and check how many series are there). What you need it 3 series: first and second one with 2 points and last one with 1 point.
Another option is to delete the repeating legend entries.

excel chart different spaces between values on OX

trying to make line chart using data
X Y
1 12
3 34
5 56
6 68
9 79
14 98
is it possible to make different spacec on the horrizontal axis?
because now there are same between 1 and 3, 9 and 14 etc..
As Tim Williams stated in his comment, which he should have made into a full-fledged answer:
Use an Excel XY (Scatter) chart. A line chart treats X values as non-numeric labels, while the XY chart treats both X and Y as continuous numeric variables. The lines and markers in XY and Line charts can be formatted the same.
To create a bar chart with differently spaced bars, insert empty rows between your x, y pairs so that the spacing of the data in the rows reflects the distance between the x points. For example, if the [1, 12] pair is in cells A1:B1, place the [3, 34] pair two rows down, in cells A3:B3; [5, 56] would go in A5:B5, etc.
This may produce bars that look too narrow. You can increase the width of bars by first left-clicking on one of the bars to select them all, and then right-clicking and selecting Format Data Series. The second slider in Series Options will change the bar width for the chart.

How to create a Range Chart in Excel

I have no idea how to create souch a range chart in Excel 2010:
rangechart http://i.msdn.microsoft.com/dynimg/IC267977.gif
My data looks like this:
1, 12, 22
2, 8, 48
3, 22, 42
...
The first column is the x-Value, the second column the lower y-value and the third the higher y-value. That's the yellow area in the graph.
And then the same for the blue one.
Thank you!
Source of the image: http://msdn.microsoft.com/en-us/library/dd456630.aspx
My recommendation would be as follows:
Paste the following into an Excel sheet
20% 20% 20% 20% 20%
10% 10% 10% 10% 10.0%
40% 10% -5% 10% 45.0%
20% 20% 20% 20% 20.0%
10% 40% 55% 40% 5%
Notice that the sum of each column is 100%
Now add a "stacked area" chart (under the area category of charts) based on this data, and colour the first and third and fifth colours to be white (or transparent)
You can then play with the percentages to get your chart. The top row which is 20% corresponds with a rectangle etc.
I would arrange my data in a Table as follows:
axis y_1 h_1 y_2 h_2
1 12 10 30 10
2 8 40 2 4
3 10 12 43 4
4 17 12 18 5
5 30 6 31 5
6 4 7 5 6
7 5 8 6 7
8 2 9 34 8
9 1 4 2 9
Then, you can chart the columns y_1, h_1 in the first axis and y_2, h_2 in the second axis (y_i being the y value and h_i being the height of each strip). Make both chart as Stacked Area chart and change the series y_i transparent.
Finally make the second axis equal to the first one.
What worked best for me using MS office 2010 is to use area chart, but not stacked. For multiple data ranges graphs in a single chart, I needed to arrange data legends (column names) from higher to lower, by clicking on the chart and then under "Chart Tools"->"Design" tab click "Select Data". A new window titled "Select Data Source" will pop up. Select data legends in the left pane in the window and move up or down using arrow button on top of the left pane such that graphs will stack from high to low. Now, we need to select graphs corresponding to lower end of the range and fill solid "white" by formatting the graph. What will be left is range chart with shaded area between low and high ends of the data. It seems bit complex, but doing a hand-on tutorial, following the above instructions step-by-step on a chart in excel or power point (after selecting insert chart option), will make it easy.

Resources