Scatter Plot in Excel

ExplorerOfExcel

New Member
Joined
Jun 13, 2018
Messages
2
I am looking to create a scatter plot in Excel and looking through the other posts have not seen how to accomplish what I am looking for with the format of my data. I am managing 40+ projects and would like to show the variance by month of forecasted spend versus the actual. The resulting scatter chart would have % of variance on the y axis and January thru December on the x axis.
On the chart you would see the 40 dots on each month and I would add a trendline to hopefully see a trend towards 0% variance throughout the year. Additionally I would like to hover over a dot and have it reference the project name.

I have my data in the following format however I am not able to create the scatter chart I am looking for.
JanuaryFebruaryMarch
Proj #Project NamePMStatusForecastActualVar $Var %ForecastActualVar $Var %ForecastActualVar $Var %
12345Project 1PM 1Active4166780000-38333 92%4166760000-18333 44%4166745000-3333 8%
23456Project 2PM 2Active35417150002041758%35417225001291736%3541738000-2583 7%
34567Project 3PM 3Active102875500005287551%102875750002787527%10287510000028753%
45678Project 4PM 4Active1208324000-11917 99%1208318000-5917 49%12083115005835%
56789Project 5PM 5Active7395895000-21042 28%7395888000-14042 19%7395875000-1042 1%
67891Project 6PM 6Active2083331250008333340%2083331650004333321%20833320500033332%
78912Project 7PM 7Active54167280002616748%54167370001716732%541675200021674%
89123Project 8PM 8Active79167650001416718%7916771000816710%7916780000-833 1%
91234Project 9PM 9Active2291754000-31083 136%2291737000-14083 61%2291725000-2083 9%
01234Project 10PM 10Active62500125000-62500 100%6250078000-15500 25%625006000025004%

<colgroup><col><col><col span="2"><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>

<tbody>
</tbody>


I have been able to create a close visual to the scatter chart I am looking for by putting my data into the format below however it has a few drawbacks:
My data is already in a format for other reporting and I am manually manipulating my data to create this new table.
Along the x axis I am only getting 1, 2, 3 and not January, etc. as that information is not in my table
I am not able to hover over the dot see the project name, I see Period number.
Proj #Project NamePeriodVariance
12345Project 11.0192%
23456Project 21.0258%
34567Project 31.0351%
45678Project 41.0499%
56789Project 51.0528%
67891Project 61.0640%
78912Project 71.0748%
89123Project 81.0818%
91234Project 91.09136%
01234Project 101.1100%
12345Project 12.0144%
23456Project 22.0236%
34567Project 32.0327%
45678Project 42.0449%
56789Project 52.0519%
67891Project 62.0621%
78912Project 72.0732%
89123Project 82.0810%
91234Project 92.0961%
01234Project 102.125%
12345Project 13.018%
23456Project 23.027%
34567Project 33.033%
45678Project 43.045%
56789Project 53.051%
67891Project 63.062%
78912Project 73.074%
89123Project 83.081%
91234Project 93.099%
01234Project 103.14%

<colgroup><col><col><col span="2"></colgroup><tbody>
</tbody>

<tbody>
</tbody>

Any help, tips, advice that you could provide would be appreciated.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
First you will need to rearrange your data as shown below. If it becomes a repetitive task to do it manually then you need the help of VBA.
Then I would probably not show all 40 projects at the same time as it would make your chart a bit confusing I believe, but you can set up your file to have a dynamic range where you can choose the project that you want to show. Also if you use a XY scatter and you want to see the project name you will need a bit of VBA whereas if you use a line chart you won't need it.

download the file


Jmess88.png
 
Upvote 0
Appreciate the information VBA Geek!
I do need to show all the projects at the same time as there is a desire to not only see the outliers month to month by hopefully a general trend throughout the year to forecast projects more accurately.

Regards,
 
Upvote 0

Forum statistics

Threads
1,216,745
Messages
6,132,473
Members
449,729
Latest member
davelevnt

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top