fbpx

Calculate Pi by throwing Frozen Hotdogs !

Share

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn

Did you know you can Calculate Pi by throwing Frozen Hotdogs !

Neither did I until recently.

But better than that is that you don’t need to go to the freezer to get the Hotdogs, you can do it all in Excel.

I recently wrote a post detailing how to develop a model to calculate Pi by simulating throwing hotdogs using Excel.

Hotdog

You can read about the Excel techniques used to make this simulation here: http://www.excelhero.com/blog/2014/11/calculate-pi-by-throwing-hotdogs.html

 

 

 

 

 

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn

Share this tip with your colleagues

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

Chandoo is an awesome teacher
5/5

– Jason

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

100 Excel Formulas List

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

20 Excel Templates

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

Extract words from sentence using FILTERXML - formula tip

#awesome trick – Extract word by position using FILTERXML()

This is CRAZY!!!. I stumbled on a weird use for FILTERXML() while reading a forum post earlier today. So I couldn’t wait to test it. I am happy to share the results.

Say you have some text (sentence / phrase / keyword etc.) in a cell and you want to extract the nth word. Unfortunately Excel doesn’t have SPLIT() formula. So we end up writing obscenely long array formulas or use gazillion helper columns.

Here is the super sneaky trick. Use FILTERXML() instead.

3 Responses to “Calculate Pi by throwing Frozen Hotdogs !”

  1. Derk says:

    Well done! Thank you for both an interesting workbook and the accompanying explanation at the linked site.

  2. joseph says:

    this is so cool, thanks for sharing

  3. […] To mark the occasion I have set up a spreadsheet to calculate pi by drawing random lines, based on blog posts by Excel Hero and Hui at Chandoo.org […]

Leave a Reply