background preloader

Jon's Excel Charts and Tutorials - Index

Jon's Excel Charts and Tutorials - Index
Related:  HOW TO?

Butterfly Chart – Excel Chart with Dual Converging Scales A Butterfly chart is a chart where two entities are compared side by side using scales meeting at the center. Due to its shape, the chart resembles a butterfly and hence the name. These charts are sometimes also known as Funnel or Tornado Charts though I find “butterfly” to be a better description as it allows for a greater variation in shape than a funnel or a tornado does ! So let’s jump straight into creating a beautiful looking butterfly chart. Getting the Data for the chart Although a simple looking butterfly chart is as easy to create as a bar chart, there is some value in adding labels, converging scales and the other embellishments. The first three columns essentially contain all the data related to the business. Making the basic Chart Let’s create a basic chart with five series. Adding the XY series for the dummy scales Once we’ve inserted the XY-Series the chart looks like this: Aligning the XY points to the X axis If you noticed, the points are not aligned to the X-Axis.

vba_corner: Working with Internet Explorer Using VBA - Nightly Ok, Excel probably isn't the first thing that comes to mind when needing to deal with web pages. But sometimes it's necessary to access them from your Excel Application (or Word or any other MS Office Application). And it's easier than you probably think. To make the following code work, you'll need to include the "Microsoft Internet Controls" library in your VBA references first.Go to your Visual Basic Editor, Menu Tools -> References... and select the entry "Microsoft Internet Controls". If you can't find it in the list of available references, search for a file named shdocvw.dll, usually to be found in your Windows directory, subfolder System32. Alternatively, you can skip the referencing and use late binding, defining the pointer to the Internet Explorer instance as Object instead of SHDocVw.InternetExplorer in your VBA code. Before you can do anything with the Internet Explorer, of course you'll need one, and you'll need something to address it.

ExcelRibbon.Tips.Net - Powerful tips on using Microsoft Excel The Daily Graph "The Daily Graph" re-creates charts from The Economist's Graphic Detail blog using standard run-of-the-mill Excel techniques without macros. We do try to milk Excel for all it's worth and apply techniques that may not have been intended in the way we use them. In the end, it's the result that counts. "The Daily Graph" is published whenever we spot an interesting chart on The Economists's blog that looks like it cannot be done in Excel. Typically once or twice a week if we can find the time.The Daily Graph blog comes with a dowloadable version of an Excel workbook so that you can follow what we did... or you can "borrow" our work and use it for something entirely different. "The Economist" is a trademark of The Economist Newspaper Limited.

Using the FSO (File System Object) in VB6 | Visual Basic 6 (VB6) - Nightly The File System Object (FSO) object model provides an object-based tool for working with folders and files. Using "object.method" syntax, it exposes a comprehensive set of properties and methods to perform file system operations such as creating, moving, deleting, and providing information about folders and files. The FSO also provides methods for reading and writing sequential text files, however it does NOT have methods for processing binary or random files. The FSO is (or should be) used primarily with VBScript. VBScript is a scripting language used with ASP for web development; VBScript is also used for Windows scripting. There are some trade-offs in using the FSO with Visual Basic. To use the FSO with your VB project, you must add a reference to "Microsoft Scripting Runtime" (which is the system file "SCRRUN.DLL"). From the References dialog box, check Microsoft Scripting Runtime, as shown below, and click OK. Once you have done the above, you can use the FSO in your VB project. Cls

Filled Histograms Using Excel XY-Area Charts I recently showed how to create Histograms Using Excel XY Charts. This technique produces a human-friendly numerical X axis scale, which is easier to read and harder to be deceived by than the bin labels used by column chart histograms. The drawback of that technique is that it produces histogram bars in outline only, without a fill color. In this post I will show how to extend that technique to fill the bars, using the protocol from Fill Below an XY Chart Series with an XY-Area Combination Chart. I started with the data from Histograms Using Excel XY Charts. The calculated values in the middle column are based on the small table to the right. Area Value = Area Scale Min + (Time - Time Min) / (Time Max - Time Min) * (Area Scale Max - Area Scale Min) or something like this, depending on where the tables are in the worksheet: We need to use both XY and Area chart types. So let’s make the chart. Copy the Area and Counts in the second and third columns, including the first and last row.

How to Create a Panel Chart in Excel To show a concise, clear summary of data for several departments or cities, you can create a panel chart in Excel. It shows all the data in a single chart, with vertical lines separating the groups. My chart shows sales for bars and cookies, in four cities, over the first 7 months of the current year. I learned this technique from Jon Peltier's website, where he also sells a Panel Chart Utility, that creates dot plot and bar panel charts. Panel Chart Steps The instructions for making a panel chart look long and complicated, and I've avoided learning this technique, because it was a daunting process. Last week, I finally took the plunge, and it's not so bad, once you get the big picture in your head. Add a separator field to the source data Summarize the data in a pivot table Copy the pivot table data as values Create a line chart from the copied data Add another series to create vertical dividing lines Add final formatting to clean up the chart Add a separator field Summarize the data

Navigate Internet Explorer using VBA There are certainly a lot of questions out there about the internet and VBA. I use internet explorer quite often with VBA to navigate and perform other various automation tasks. This thread will hopefully give you the basics of navigating the internet with IE through VBA code. Which browser do I use to read webpage source code?They're making it easier to read through stuff, but I would recommend using Firefox to read source code. It is formatted in a very friendly way and you can find data very easily. First thing to know is how to open IE in Access. Code: dim ie as object set ie = createobject("internetexplorer.application") ie.visible = true Navigating from webpage to webpage can be done like this:After navigating to a page, it is always a good idea to pause the code until the page completely loads. While ie.busy DoEvents Wend You may also want to manipulate some data while you're browsing the internet. How do I get a value from a page? ie.document.getElementById("ELEMENT ID").value

Excel Pivot Table Tutorial -- Running Totals With a running total in a pivot table, you can see how amounts accumulate over a period of time, or through a range of products. To create a running total, use the Custom Calculation feature in a pivot table. In this pivot table tutorial, we'll focus on the Running Total custom calculation. In Excel 2010 and later versions, you can also use the % Running Total calculation, to show the current running total amount, divided by the grand total. Video: Create Running Totals To show running totals, you'll u se the Custom Calculation feature in Excel's pivot tables, as shown in this video tutorial.