# Speedometer Graph in Excel

I have seen some speedometers in some of the professional dashboards. I thought how? How do they do it? So I did some preliminary research and came up with this speedometer. Kindly comment for any changes required.

## Step 1: Insert Values

Open a new workbook and enter
Value in cell B2
Max in cell C2
27 in cell B3 (exact value)
100 in cell C3 (maximum value)

Hi there, not sure if you have answered this question before but I have 2 conundrums hoping you can solve:

1) I sometimes have negative values which need to be "in the green" so to speak, while positive values also need to be in the "green". For example -\$1000 to +\$10000 should be represented as green while anything below -\$1000 should progressively become "redder" or worse.

2) I also cannot have the gauge going past the horizontal axis (as my users play around with the gauge it can tend to spit out a range of results which makes it go right round into "transparent" territory. How best can I fix this?

Thanks I find this tutorial definitely the best on the web and most appreciate the maths behind it!

You'll see in the example that cash flow (-\$1570 should be in the green - while should the cash flow be positive then this should be even more green!) and invested I need to have the same issue (as the negative sign is messing things up! I tried making it an absolute value but that didn't work :( )

artworker (author)  scott.havemann7 months ago

Cool! Thanks for letting me know. I don't know if I can fix these issues. Rest assured that I will do a brainstorm for the same. If I can fix this, will surely do the victory dance. Will keep you updated.

7 months ago

There will be two victory dances. #nopressure

kerrylangley8 months ago

Great instructions ... easy to follow and easy to customize to my specific application.

I do have one question ... I need to copy as a link the final "speedometer graph" into Word & Powerpoint (as I am building an editable template)... but when I try to do this in Word, it separates the two charts ... so my only solution is to copy and paste as a picture (which very problematic)

Any thoughts?

Thanks

(Using Office 2007, Windows 7)

artworker (author)  kerrylangley8 months ago

Damn! That is a serious issue you mentioned. I was totally devastated for some time. Got the solution!
After pasting into word right click on the graph which you want to put on top and set it's wrap value as in front of text. Now you can drag it over the other graph.

wintersaigon20139 months ago

Well, so great!.Thanks!

jjdaly1 year ago

This is wonderful and clearly described. I thank you and am using it.

artworker (author)  jjdaly1 year ago

Thank you! Appreciated!

jraikes3 years ago
You could use XLGauge (www.pendragonsystems.com)
3 years ago
There was also a speedo graph with an attractive customizable background here (www.ExcelDashboardWidgets.com)
abaker53 years ago
I love this it's so helpful, especially the example.
knowledgeshare3 years ago
Gr8 job art worker.
This will be useful to create dashboards in excel itself.
kelseymh5 years ago
Very nicely done! It's always fun to see some actual mathematics used in Excel (pity you have to do the conversion from degrees to radians by hand, though).
5 years ago
Excel has a built-in function known as RADIANS(angle) where angle is the angle in degrees you wish to convert to radians. For example, the Excel expression used to convert 270° to radians would be RADIANS(270) which equals 4.712389 radians

From here

You can simplify the expressions to

4 years ago
Thanks PKM.

Its really an easy way !!!
artworker (author)  PKM5 years ago
Thanks PKM for the simplification. I got the formulae, but did not had the time to update the instructable. Appreciated!
andrejgano4 years ago
thank you, nice guide
finton4 years ago
Wonderful! Now the folks at work can be amazed by "MacroMan"'s graphing abilities as well. We'll keep it our secret right? ; ]
I've had a play around with this today: if one sets things up like in the attached pic, one can enter data (eg scores out of 20) on another sheet and have the graph reflect this. And yeah, there are many and better ways of setting things up, - as I said, just a play around!
Adding the Redline cell easily allows one to change where the red extends to, which might be useful if one has to use this graph for different criteria.
Well done artworker: I'd not have come up with that one on my own, so thanks! Any other graph tricks you can show us? I'd be keen...
artworker (author)  finton4 years ago
Very nicely done! I am fattered, I mean flattered! :P
Toebak4 years ago
This is a very cool method for making data visual in a different way! Cool.
PKM5 years ago
Good work- you'll have me out of a job!  I can't think of a way to improve this graph (simplicity is the key to a good dashboard) but for people who would want to customise theirs further you might want to explain the math you used in step 3 to get the points for the speedometer needle.

For more fun with this you could play with the Data -> From Web tool- it gets the contents of part of a website into your spreadsheet.  If the thing you want your dashboard speedometer to show is available on the web somewhere, you can probably get it this way.
artworker (author)  PKM5 years ago
Thanks PKM for the comment. It is a nice idea to have a web query connected to this graph. I will implement this on my share price sheet. As for the formula shown, I am looking for words to explain the same. Will do it ASAP.