Close this search box.

MLB Pitching Stats Dashboard in Excel+VBA by our VBA Class Student



Nothing gives a teacher more satisfaction than seeing a student apply the knowledge to do something awesome. So naturally, I jumped with joy when I got this email from Dan, one of my VBA Class students,

Hi Chandoo,

After going thru your VBA Classes, I realized that we can lots of awesome stuff with pivot tables + simple macros. I recently created an Excel Dashboard to depict MLB (Major League Baseball) Pitching Stats. I could not have done this had I not learned VBA. Thank you so much for teaching the class.

I got curious and requested Dan, if I could share the file with you all. Being a lovely person, Dan agreed immediately.

MLB Pitching Stats Dashboard – using Excel + VBA

MLB Pitching Stats in Excel Dashboard

[Click here for larger version]

How does this dashboard work?

Dan used a lot of techniques to weave together this dashboard. Since it would take me until Christmas if I explain everything, I made a short video explaining how this dashboard works. See it below:

You can see it on our youtube channel too.

What techniques are used in this dashboard?

Dan is a regular reader of Chandoo.org, so he used many of the charting & formula techniques we teach here (as well as in my Excel School & VBA classes). Click thru below links to learn them.

Download MLB Pitching Stats Excel Dashboard

Click here to download the Excel workbook and play with the dashboard.

Ready to Create your Own Dashboards & VBA Code?

If you want to create similar stuff and wow everyone at work, then joining my upcoming batch of VBA classes is a good idea. We are re-opening enrollments for this course on September 5th.

Click here for course details.

If you are interested in our VBA class, join our newsletter.

Thank you Dan

Thank you so much Dan for making my day. I really liked the way you have put together many concepts to create a stunning dashboard.
If you liked this dashboard, say thanks to Dan.


Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.

Read my storyFREE Excel tips book

Excel School made me great at work.

– Brenda

Excel formula list - 100+ examples and howto guide for you

From simple to complex, there is a formula for every occasion. Check out the list now.

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Advanced Pivot Table tricks

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

11 Responses to “MLB Pitching Stats Dashboard in Excel+VBA by our VBA Class Student”

  1. rajranja says:

    Hey Dan,

    Thanks a lot... this is too good 🙂

  2. NS says:

    Awesome stuff Dan! very impressed..

  3. dan l says:

    Thanks guys.

  4. m-b says:

    Some nice ideas in there, thanks for sharing. I noticed the list with teams has a missing value though ('Arizona Diamondbacks'). Also when manipulating Pivot Tables with VBA you should be really careful not to try to select a value that isn't in the Pivot Table, if you do all hell breaks loose 🙂 That's not the case here but just some advise as I learned the hard way...

  5. dan l says:

    Ah.....ya caught me.

    dnrTeamName drives both the charts and the drop down list. It refers to:


    If you change A6 to A5, it fixes that little issue.

    A better question though, who actually cares about the Arizona Diamondbacks?


  6. Clarity says:

    Excellent post. Thanks

  7. Adrian Guzman says:

    Great job, Dan! Thanks a million!

  8. madhura says:

    Gr8 work Dan

  9. Andy says:


    I downloaded file, but looks like everything is in xml. Was there suppose to be excel file as well?


  10. Thomas says:

    I'm late to the party, but seeing this file in action and studying the underlying data in this Excel file has been AWESOME. I have TONS of new ideas to implement in my work files now. THANK YOU Dan and Chandoo!

Leave a Reply