Diaper Genies for analysts (i.e. simple tools and tricks to help you work better)
By Zach Gemignani
April 28, 2006
Find more about:
excel
productivity
tools
With a new baby, you come to appreciate the small inventions that make a big difference. The Baby Bjorn, the Diaper Genie, the baby monitor: these are simple, well-designed technologies that can save your sanity.
Which got me to thinking: What are the Diaper Genies for data analysts? What are the little tools that solve nagging problems in a light, simple, intuitive way? I put together a starter list below of a few of my favorites. The thing that's amazing about these tools and tricks is that they have changed my usage behaviors. By simply eliminating a few clicks or keystrokes, I work differently and more efficiently.
- MWSnap is a bit of freeware by Mirek Wojtowicz that lets you easily capture images on your screen. Pre-MWSnap, I often found myself using the Windows Ctrl-PrtSc function when making presentations. Then I would have to chop down the full screen capture in an image editing program. This application lets you grab just the part of the screen you need, then copy and paste it right into PowerPoint.
- Keyboard shortcuts in Excel. Keyboarding both saves you time and expands your ability to work effectively with large data sets. There are two kinds of keyboarding that we teach: 1) using the Alt key with letters to navigate the menu structure (e.g. Alt-i-r to insert rows, Alt-e-s-v to paste special). 2) using the Ctrl and Shift keys with the arrows to move around and grab blocks of data. See Chris' keyboarding game. Everyone rolls their eyes when we harp on keyboarding as an essential element to being effective with Excel; I've seen too much value from the skill to care.
- Excel Pivot Tables."What's easy about PivotTables?!," you say. Admittedly, this tool doesn't exactly fall under the category of simple and quick to learn. In fact, we are still looking for an intuitive way to teach Pivot Tables. Here are a few good tutorials I've come across. In my experience, you have to put up with a short and mildly painful learning curve; it's worth the trip. I've seen many analysts who still rely on vlookup functions when a simple Pivot Table would let them manipulate their data far more quickly. We are developing a post that offers our tips and tricks on working with Pivot Tables.
- Voice IM (e.g. Google Talk, Skype). There is a form of conversation that requires less focused discussion than a phone call but more verbal interaction than instant messaging. This is where the voice talk features on many IM clients become valuable. Often Chris and I will open a Google Talk call while we work on something together. Long silences suddenly feel acceptable since it's free.
- Windows Alt-Tab. This key combination gives you the ability to flip between applications and can be a huge time saver. I've found it especially useful when I'm pulling data from application and dropping it into another.
- Faster web browsing with Firefox. Mozilla's Firefox browser touts its security, pop-up blocking, and extensions as differentiators. The features I care about are those that help me manage the information better. Ctrl-f gives a 'find' box in the bottom of your browser where you can start typing instantly. It jumps you right to the part of the page with your word/phrase. Tabbed browsing and the ability to jump between tabs (Ctrl-PgUp or -PgDn), close tabs (Ctrl-w), or open a new tabs (Ctrl-t) lets me work with half a dozen web sites at the same time.
- Google Desktop. The new version has a feature where you can press Ctrl twice and it pops a search box. Not only is this a better tool for finding files than Windows offers, but it can quickly find applications. You may never have to go to that Windows Start button again!
We don't claim to be productivity gurus like Merlin Mann of 43 folders or the folks at Lifehack, but I think you'll appreciate how these tools seem to scratch an itch then mercifully leave you alone. They give you a sense of control that is about the opposite of MS Word deciding how your bullets should look.
Correcting a small oversight
By Chris Gemignani
April 27, 2006
Find more about:
excel
A reader wrote to point out a small oversight in last week's introduction of the Excel Chart Cleaner tool.
Installed your chart fixer upper tool...and it seems to have been installed because it shows up checked in my add-ins list. But how do I actually USE it? If I have a sheet of data and make a line chart out of it...where is the button to press to clean it up with your add-in? Maybe I'm too much of a neophyte to be reading your blog and trying this stuff...but maybe you could let people know how to actually use this excellent tool you've provided instead of just installing it.
Thanks so much for putting this stuff out there. I learned more about Excel reading your blog than in several paid training sessions. Worth the price of getting out of bed today!
So, you're one of those sneaky people that actually wants to USE the tool. Hmmm.
Well, here's the secret: the add-in puts a menu item in the Format menu. If you have a chart already selected it will say "Clean this chart..." otherwise, it says, "Clean all charts...". Select the option and you'll get a number of ways to clean and simplify the chart.
Thanks for the kind words. There's a screencast coming on how and why to use the Chart Cleaner tool.
3 comments
Josh said:
Thanks for posting my question. I continue to LOVE chart cleaner. So simple yet so powerful. My charts are so much more elegant now. Thanks again for this little gadget. -jk
Joe said:
I like your chart cleaner concept, but I don't care for the "mil" for million. I've never seen mil used in business charts.
Chris said:
Thanks Joe. I'm not _crazy_ about "mil" either, but I do think most people would understand what it means in context.
The terminology I've seen most for annotating business charts is "M" for thousand and "MM" for million. Personally, I don't think this is very clear either. Why "M"?
Do you have a suggestion?
Add a comment
Best of Juice blog
By Zach Gemignani
April 21, 2006
Find more about:
Welcome to the Juice Analytics blog. We've gotten quite a few new visitors from Chris' podcast discussion with Jon Udell. If you are new, thanks for stopping by. Our blog covers a range of topics, from data visualization to Excel and PowerPoint tips and tricks to our business analytics approach. Here's a brief "best of" list to help you get acquainted:
- Excel tools and tips: Fixing Excel charts; Excel as a BI tool; Problems with Excel charts
- Fun with mapping: Google Earth census heatmaps; geo-coding tools in Excel and Python; and our compilation of resources for using Google Earth
- Better presentations: PowerPoint pile o' ideas; presentation checklist; an approach to developing well-structured presentations
- Visualizing data: Dynamic data; Sparklines; Lessons from Tufte
- Analytics in theory: Misguided BI theories; Success metrics; Common data issues; What is analytics?
- Analytics in practice: Jiffy Lube; Zillow; Budget Rent A Car; Top blogs for data analysis types
- Juice Analytics: If you want to learn more about us, check out our consulting approach and case studies.
Thanks for visiting; we love to hear from our readers so send us an e-mail or leave a comment.
A data warehouse problem...And, cuddling up with Bill Gates
By Chris Gemignani
April 21, 2006
Find more about:
analytics
Andy Hayler from Kalido is a great read for a no-nonsense perspective on business intelligence. He wrote recently.
"Meanwhile, a survey of 1,000 UK business managers at companies with over 250 staff, published by ICS, indicates a widespread need for better BI systems. The study found that over three quarters of respondents were forced to make decisions 'blind' due to late or insufficient business information". By contrast, this is entirely believable, though not for the reason that the article gave. The critical issue is that you can have as many pretty reporting tools and dashboards as you like, but you need accurate and timely information to feed those systems coming from a data warehouse (unless you are one of the few brave souls using EII). The problem is that most data warehouses are entirely unable to keep up with the pace of business change (reorganisations, acquisitions etc) and so are constantly out of date. Consider a data warehouse with just ten source systems. A major change in one of its sources will impact the warehouse schema, and may take three months to fix the schema, the load routines and the reports that are impacted by the change (this is a pretty typical figure in my experience at Shell).
A major change of this type does not happen every day, but is almost certain to happen once a year to each of these source systems, maybe twice. There are then ten sets of separate changes, each taking three months worth of changes needed to the warehouse every year. Even assuming that the changes are neatly spread over the year and that you have plenty of programming resources to fix the changes, so you can do these in parallel, you still have 15 months of change to fit into 12 months; basically the warehouse can never catch up. You may well have more than 10 sources for your data warehouse, so the problem could be even worse than this. This is indeed what happens in reality: the data warehouse is usually out of date, so armies of Excel jockeys in finance get the answers via email and have to manually number-crunch for anything really critical while the warehouse lumbers on with out of date information. This situation is not the fault of the BI tools—it is the fault of the data warehouses that feed the BI tools. Until companies admit that the status quo is failing and start abandoning custom-build warehouses this problem will persist. It is like with treating alcoholism: the first step is admitting that there is a problem.
We've long been skeptical of top-down analytics that try to centralize a businesses information and knowledge. Andy's post highlights one problem with this approach - change happens. Here's another problem - you don't know what you don't know when you build a warehouse.
In other news, I've cut my six degrees of separation to Bill Gates down to two. More later.
Fixing Excel charts...Or, why cast stones when you can pick up a hammer
By Chris Gemignani
April 19, 2006
Find more about:
analytics
excel
tools
visualization
It's always better to suggest a solution than criticise. Recently, we've slung stones at Excel's default charts. The default colors are bad, and some of the built-in charts are "what were the smoking?" ugly.
Edward Tufte and others provide principles for making good infographics, but beating Excel's rusty butterknife into an explanatory sword is hard. People who want to make nice looking charts waste time fixing them up. People who don't care about making nice looking charts inflict those charts on others.
We have a solution. The "Clean Charts" tool turns hard-to-read Excel default charts into Tufte-compliant wonderwerks in a single click. Here's what it does:
- Removes "chart-junk" (the contrast-reducing light grey background on most Excel charts, extraneous lines)
- Formats the axes with easy to read numeric formats (22000 becomes "22k")
- Changes series colors to an optimally chosen set that are designed for maximum contrast and readability
- Removes 3D from the chart. 3D charts introduce distortions that make it hard for people to understand your numbers.
- Fixes axis scaling problems.
- Fixes font and marker sizes to make them readable if you have resized your chart
To try Clean Charts and install it, download both these files into the same directory. Then open the Clean Charts Installer.xls file with macros turned on. Follow the instructions inside the installer.
To turn macros on, go to Tools, Macro, Security. Select Medium security level. Close the workbook and re-open it. On re-opening, when Excel gives the security warning that asks if you want to enable macros, choose "Enable Macros".
The add-in puts a menu item in the Format menu. If you have a chart already selected it will say “Clean this chart…” otherwise, it says, “Clean all charts…”. Select the option and you’ll get a number of ways to clean and simplify the chart.
This project is offered under the MIT License.
28 comments | Show all comments only the last 5 are shown
Slide design vs Noise - Rena slides och diagram Moustache Analytics said:
[...] Se även Juice Analytics exempel på hur excel-grafer kan tvättas för att bli lättare för ögat. Tyvärr så är ju default-funktionen i Excel vad gäller diagram och grafer att fylla dem med linjer och färger som inte känns 100%. Därför är rådet att skapa dina egna standardgrafer som du kan använda (Customized graphs) det bästa du kan göra. Utan linjer på staplarna, 3D-effekter, gridlines bakom och med naturtrogna färger blir graferna mycket mera lättförståeliga. Jämför graferna nedan som har samma data men där den vänstra är default med Excels färger och den andra är gjord med mina val. [...]
Slide design vs Noise -Moustache Analytics said:
[...] Se även Juice Analytics exempel på hur excel-grafer kan tvättas för att bli lättare för ögat. Tyvärr så är ju default-funktionen i Excel vad gäller diagram och grafer att fylla dem med linjer och färger som inte känns 100%. Därför är rådet att skapa dina egna standardgrafer som du kan använda (Customized graphs) det bästa du kan göra. Utan linjer på staplarna, 3D-effekter, gridlines bakom och med naturtrogna färger blir graferna mycket mera lättförståeliga. Jämför graferna nedan som har samma data men där den vänstra är default med Excels färger och den andra är gjord med mina val. [...]
» Knocking Excel 2007 down a peg or two » Jon Plummer said:
[...] Excel 2007 makes some flashy charts. Charts that are maybe too flashy, and requiring of much clicking and prodding to simplify. But why cast stones when you can pick up a hammer? [...]
David Mudge said:
Very nice. Simple to install, simple to use. Just one issue: when I used the "Remove 3D" option, my nice line charts are converted into column charts, which is not wanted.
Peter Basch said:
So, I follow instructions, turn security (in Excel 2003) to Medium, open the workbook, and get this:
This workbook has lost its VBA project, ActiveX controls and any other programmability-related features.
What am I doing wrong?
Thanks, P B
techcommdood said:
This is quite impressive. I'm really liking it!
Aaron said:
Looks appealing, but I couldn't make it work on Mac, Excel 2004... Any hints?
Chris Gemignani said:
Aaron, We don't have a copy of Mac Excel 2004 to test it on.
If you're a code jockey or you know someone who is, the Visual Basic code is available and it is open source.
Another post you may be interested in that should work on the Mac: http://www.juiceanalytics.com/writing/2006/08/tufte-charts-in-excel/
tim said:
I like it - if only your idea of 'nice colours' and my idea where the same... ;o)
Andreas said:
Clean Charts.xla
The xla file does not download at all rather it appears to open in my Firefox browser.
Please advise.
Also, will Clean Charts work with Excel 2000?
thx.
A
andrew said:
Brilliant - I use it often. Thank you for sharing it.
Andreas said:
Sorry, I accidentally submitted this in another thread,it belongs here. I hope someone can help...
I've tried downloading the two files:
Clean Charts Installer.xls
Clean Charts.xla
The xla file does not download at all rather it appears to open in my Firefox browser.
Please advise.
Also, will Clean Charts work with Excel 2000?
thx.
A
Oliver Hofmann said:
Same problem with the Mac Excel version -- getting a runtime error 53 (file not found: user32) which seems to indicate it's looking for a particular window? Did any Mac user get this to work yet?
Chris Gemignani said:
Oliver: I don't think it works on Mac. The code is available if any Mac Excel expert wants to take a shot.
Andreas: I believe it will work in Excel 2000. Sorry to hear about your downloading troubles. I'll take a look at the server side and see if I can figure anything out.
Tim: Hey, they were "scientifically chosen". You might like the colors in our Chart Chooser (http://juiceanalytics.com/writing/2007/11/introducing-chart-chooser/) better. I do.
Chris Gemignani said:
I've joined the two Excel downloads into a zip file. This should solve the downloading woes some have experienced. Thanks for your patience.
Andreas said:
Chris -- Just got around to downloading the zip file and trying to install the add-in as per the directions. When I open the .xls file and select "Enable macros" I then get an error message stating "File error: data may have been lost".
Please advise.
Thx,
Andreas
Andreas said:
Chris -- I also just realized that after I close the above described error message window and look at the Clean Charts Installer.xls file, sheet 1, it has no buttons. Also, after making a chart and selecting "Clean this chart form the format menu, it cleans the chart but leaves with no way to select the chart again.
Please advise,
Andreas
Chris said:
I have the same problem as comment 16. I also don't get buttons like 17. I'm running Office 2000.
Simon said:
This was an excellent find on Google. Thanks a lot. One issue is that it maxes out at 6 series. I have a stacked area chart with 7 series and it made the seventh white. I only just spotted it as I proof read my report!
Andreas said:
Chris -- Just wondered if the problem I had in my December 7 post got addressed. Please advise.
Rgds,
A
Ole said:
Thanks for the cleaner. However, I couldn't make it work in Excel 2003. It did say install, and the macros are on and the menu item is there - but nothing happens when I select a chart and press. Any ideas?
James said:
Ole, I also had that issue in Excel 2003, but only on charts that aren't located in a sheet. Change the location of the chart to inside another sheet and see if that fixes it for you
Vadim said:
Installs and works great on Excel 2k, except that it mangles charts with multiple scale bars (e.g. Amount on Left Y-scale and Date on right Y-scale). But turns out if you turn of the "fix 3d" options, then it leaves the graph in tact.
Also, for a scatter chart type (useful when dealing with dates) it removes the connecting lines, but leaves them for a line chart type. Can this be fixed? Thanks.
Nathan said:
I tried to use this in Excel 2003 - all my charts are in their own sheets. I got some kind of error, and had no idea how to debug, so I uninstalled it.
David said:
Since this was written in VB script, it won't work with Mac versions; well, at least not with Office 2008.
Garth said:
I installed and tried it with Excel 2003 professional and works great. Is there a simple way to change the default color scheme Clean Charts uses? Thanks!
jeff weir said:
This is great. Would be better still if it removed the legend for a one series chart - a bad example of chart junk.
Lohit said:
Cant thank you enough for this wonderful Add in
Was facing issues when the location of the chart was in a separate chart, but works like a charm when the chart is part of a sheet
Thanks again, you have a fan!!
Regards
Lohit
Add a comment
A new member of the family
By Chris Gemignani
April 19, 2006
Find more about:
innovation
I attribute my intolerance for graphics ugliness (see our post on Excel colors) to being the son of an artist/photographer. Growing up, this meant kitchen sinks full of oil paint brushes and new works slowly taking shape in the studio.
His works are figurative and whimsical at times. Or in his words: "The iconography I use centers around people because that's my greatest interest: how people think and feel as individuals, how we interact with each other intimately and as a society." An original mash-up artist.
My dad has just launched Potato Hill Artworks, an online store to sell fine-art limited edition prints of his oil paintings. Check it out if you're looking for something unique. A few of my favorites:
Excel Geocoding Tool v2
By Chris Gemignani
April 18, 2006
Find more about:
excel
geocoding
googleearth
tools
I'm happy to announce a few small revisions to our Excel geocoding tool. The tool takes a list of addresses and will look up the latitude and longitude of those addresses. The addresses can then be exported as a Google Earth map.
A user pointed out that the tool wasn't looking up zip+4 codes properly in Yahoo and this problem is fixed along. Also, I'm sorry to report that Yahoo has lowered their limit of free geocodes to 5,000 per day from 50,000 per day.
68 comments | Show all comments only the last 5 are shown
Alan said:
I've been working with data that only has ZIP and ZIP+4 info so this new version is a huge help and works great! Much faster than batchgeocode.com.
Any way to add batch processing of data to get travel time and distace?? I would bow at your feet if this was possible in a similar fashion!!!!
Clayton said:
Is there a way to support Canadian Postal codes? Yahoo can process them, but is there a way to change the tool to allow this?
Thanks!
Landmine_Mapper said:
Just the macro that spits out the kml from the spreadsheet is awesome.
Have you seen anything that could do the same thing from an MSaccess database?
For some reason the kml file is not opening automatically when excel spits it out.
I checked paths. Running GEbeta4. Output.kml will open fine when double clicked.
I guess placing the export button on the toolbar and then allowing user to select
ranges for the X,Y,label,and multiple attributes would make it all 100% perfect
Many many thanks!
exceltool.info » Blog Archive » said:
[...] Excel Geocoding Tool v2 - Juice AnalyticsI m happy to announce a few small revisions to our Excel geocoding tool. The tool takes a list of addresses and will look up the latitude and longitude of those addresses. [...]
Underdetermined said:
I keep getting an error saying:
Compile Error:
Can't find project or library
Do you have any advice?
Thanks. UD
dave said:
hi
can this be used for other countries other than the USA , if it could be developed to do so it would be great
seth said:
For some reason, this tool no longer works. That's a shame. I loved this tool. So fast and easy.
Marc said:
Great macros! Thanks.
What would need to be changed to make it possible to change the icon based on other data. For example, you could make republicans red and democrats blue.
Ujval Gandhi said:
Chris,
The http.send is preventing me from running the file. Could you tell me which Tools--> References to click to make this work ?
Sebastian said:
Works perfectly for me using a Yahoo API key. Thanks for a easy to use and great tool!
Dawn said:
I'm in love with this! Sadly, I can only do 1,000 records at a time, then it bombs with a runtime error. I want to do 210,000 records.
Adi said:
Chirs,
Its seriously great work, I just cant tell how much its helping me. As Dawn said apart from the error, it just works great. I also want this to give be results for about a 100,000 records. Let me know if I can be of any help. I am working on my VBA Skills.
Jay said:
Chris,
I am probably doing something wrong but
I have clicked on the link above Geocoding Tool v3.1.xls which sends me to http://media.juiceanalytics.com/downloads/Geocoding%20Tool%20v3.1.xls
which just hangs.
Thanks in advance for your help.
Jay
R. J. said:
Chris,
I have the same problem as Ujval Gandhi, the VBA bails on the http:send line. Any suggestions on how to solve the problem?
~ R. J.
Amanda said:
I tried to sign up for a geocoder.us username/password and never got one. So I signed up for a yahoo! account at:
https://edit.yahoo.com/registration?.intl=us&new=1&.done=http%3A//mail.yahoo.com&.src=ym
and it worked great!
Thanks for this great resource!
Amanda
Nathan said:
I'm not sure that the zip+4 is working. Shoud it show "zip+4" in the Precision field? When I compare a a zip+4 with just the same Zip i am getting the exact same XY coord and both precision fields say "zip". Please let me know if this is working correctly or what i can do to get Zip+4 working. Thank you.
John said:
Fantastic! Works well for UK and USA
Dicki Smits said:
Hello dear devoleper,
It seems a great program you wrote in excel. but is it possible to ad the field COUNTRY to the macro? than i can use it for the netherlands as well.
Now it is not working well for this country.
Thanks and i hope to hear from You.
Greetings
Bob said:
The link to the yahoo registration page for the geocoder seems to have moved (link broken). Not finding it on a quick google search. Can you post updated info?
bob said:
I am not finding the spreadsheet to work using the provided sample data. I am getting all "address not found" results. Haven't modified the file other than adding in username and password, and selecting geocoder.us. Any ideas on how to debug? Hve internet connections, and hear the beep and see the status bar entry for the geocode address data.
Alan said:
Cool tool! -- I need to figure out how to adapt this for Access. Parsing the XML is my big stumbling block
WirelessGuru said:
Awesome Tool, So much faster than batchgeocode.com. Seems very accurate. i did 4,000 recodrs in one shot with no problems.
Thank you!!!
Kevin said:
Great Tool!
I used this tool a while back, and it worked great!
However, I just tried to use it today, and it keeps bombing out on me. I am getting the following error:
"A connection with the server could not be established".
This is thrown in the mGeoCode Module, at the http.send command in the yahooAddressLookup Function.
Any ideas why this might be happening? I looked up the API documentation on Yahoo's website, and the URL path in the same function/module has changed from what is in the VBA code. Could that be the error? I tired to change it myself, but it still bombed out. Thanks!
Kevin said:
Is it possible to include additional information in the KML output file to be displayed in various ways in Google Earth? For example, if I have information that details the income level of the head of household at each address, can that information somehow be included in the KML file so it can be color-coded in Google Earth? Or what if I have a flag that says a particular address is a "Friend" vs. "Business Partner" vs. "Family" for example. Can that information be included?
If so, how do I incorporate that information in the xls spreadsheet?
Thanks in advance for your help.
Kevin
Ken said:
Having the same connection issues. Seems to work fine as long as the address the querry address is well formed and findable, if the address cannot be found the script often errors out with "a connection could not be established"
Ken said:
EDIT: And now the script is working fine again. Strange. Seems odd that yahoo would be having server issues....
Tanya said:
I try downloading the file and get errors:
Mod_python error: "PythonHandler django.core.handlers.modpython"
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
result = object(req)
File "/usr/lib/python2.5/site-packages/django/core/handlers/modpython.py", line 177, in handler
return ModPythonHandler()(req)
File "/usr/lib/python2.5/site-packages/django/core/handlers/modpython.py", line 150, in __call__
response = self.get_response(request)
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py", line 59, in get_response
response = middleware_method(request)
File "/usr/lib/python2.5/site-packages/django/middleware/cache.py", line 55, in process_request
cache_key = get_cache_key(request, self.key_prefix)
File "/usr/lib/python2.5/site-packages/django/utils/cache.py", line 134, in get_cache_key
headerlist = cache.get(cache_key, None)
File "/usr/lib/python2.5/site-packages/django/core/cache/backends/memcached.py", line 19, in get
val = self._cache.get(key)
File "/usr/lib/python2.5/site-packages/python_memcached-1.40-py2.5.egg/memcache.py", line 619, in get
check_key(key)
File "/usr/lib/python2.5/site-packages/python_memcached-1.40-py2.5.egg/memcache.py", line 888, in check_key
raise Client.MemcachedKeyCharacterError, "Control characters not allowed"
MemcachedKeyCharacterError: Control characters not allowed
Bonnie said:
Same problem as Tanya above. Am I supposed to get a spreadsheet? Am I doing anything wrong?
Chris Gemignani said:
Bonnie/Tanya: It should link correctly to the spreadsheet now. Thanks.
Susana said:
Apparently I am not the only one with this problem. When I try to run the macro I am getting the message that the server name or address can not be resolved. How can I fix this?
Pete said:
I just tried to view my output.kml file and I'm getting a Google Earth error. Opening of file failed... parse error at line 11, column 20...not well-formed (invalid token). Is this due to the new version of Google Earth?
Nathan said:
Thanks for this very usefull tool. I used the same idea to create my own Geocoding program in MS Access. I wrote an application that gets the lat, long and precision from both GOOGLE and YAHOO servers, determines which one is best precision, and even calculates the distance between them. I was wondering about the 5,000 daily limit. Lately I have been doing way more, about 30,000 - 40,000 a day with no problems. Does anyone know if they lifted the limit?
James said:
Nathan - Using the GeocodingTool v3.1.xls, I have been able to Geocode way more than the said 5,000 limit. So it would appear to me the limit has been lifted.
on a side note - does anyone know how to Geocode locations outside of North America?
Wes said:
I have been able to geocode 55K in one day with Yahoo. The API has been lifted in conjunction with Y! Search Boss.
http://developer.yahoo.com/search/boss/
Tim said:
Nathan - I am interested in your Access geocoding program. Do you have plans to make it available?
Mark said:
I'm italian and we use the decimal char = comma ",", so I have to edit the output.klm file and change the string
coordinates>12,90542,43,912535,0</coordinates> in
coordinates>12.90542,43.912535,0</coordinates> (change "," withh ".".
Is possible to change the program for European use?
Thanks very mutch.
Salah said:
All,
Can someone suggest a good geocoder that will also correct addresses and is in executable format ? I can't use API's.
Thanks,
Sal@khattak.com
Simon said:
Hello! very nice tools! Bravo!
We use it to map some of our point of sales. Plus, it is possible to change the icon and the color used allowing to display different POS in different way (red=bad, green=good, etc...).
I have the same problem then Mark. I lived in canada and our decimal separator is also a coma (65,0000). i have to manually change the KML file. however, i think I can manage modifying the macro by myself
Scott said:
I love the geocoding tool. Works great for addresses. Can this tool work for intersections? I have a list of motor vehicle accidents which only locational information is the intersections and need lat-long.
Dave M said:
It does work with intersections, use "AND"
e.g., Main St AND North St
Jonathen said:
I get the "A connection with the server could not be established" error that people were getting awhile back. The error is the "http.send" line in the "mGeoCode" module. I get the error with Yahoo and geocoder.us no matter which one I have selected to use. (I have set up an account with both).
James said:
Jonathen - I am having the same issue. It appears this tool stopped working sometime within the past week or two.
Chris - any chance you can take a look at this?
Many thanks,
James
Sal Khattak said:
This is a GREAT TOOL.
I use it almost everyday to geocode properties. I am glad the guys at Juice took the time to develop this and save me countless hours... :-)
David CO said:
Very nice tool! Thank-you. Using Yahoo it also works for european countries provided you change the zip cleaning funtion [Function geocodecleanZip] in the code (Zipcodes in Belgium have 4 numbers, for exemple), and change "state" by "country" in the "URL =" line from the [Function yahooAddressLookup]in the mGeoCode Module. Some special character cleaning is also usefull. =New options for version 4?
SinginInTheRain said:
if comma "," needs to be replaced by period "." you need to
1. open the Visual Basic Environment in Excel ( [Alt] + [F11] )
2. on the upper left corner expand the Tree to VBAproject (Geocoding) -> Module and double-click mKML
3. go to line 100 and insert
latitude = Replace(latitude, ",", ".")
longitude = Replace(longitude, ",", ".")
4. save and retry
Carl R said:
Has anyone converted this to *.xlsx?
Marty O said:
I was excited to find this tool, appears to be exactly what I need. Unfortunatley I can't seem to get it to work with either the supplied data examples or my data. After reading through these comments, I've run it with my firewall turned off ... still get the "not found" result. I'm using it with a Geocoder.us account.
Appreciate any thoughts or suggestions on how to overcome this problem.
matt said:
Is there any chance that an option to use the Google geocoder can be added? The Yahoo! one almost never understands addresses given as street corners.
Joy said:
somehow i can't get color coded markers when i upload the file to google maps. i'd like to designate different levels of prospects or clients. please help!
Sal Khattak said:
I tried to follow the instructions and added the two lines of code to start using google for geocoding with google but where do I insert my google API key and where do I select google to geo code with google ?
I can really use help with this or if anyone already has the juice utility working with google, can you guys e-mail it to me please ?
Thank you in advance !
SAl
Sal Khattak said:
I tried to follow the instructions and added the two lines of code to start using google for geocoding with google but where do I insert my google API key and where do I select google to geo code with google ?
I can really use help with this or if anyone already has the juice utility working with google, can you guys e-mail it to me please ?
Thank you in advance !
SAl
sal@khattak.com
KrezzyKid said:
It stopped working;
Yahoo must have done something to their api or changed the syntax or something.
Dear Chris Gemignani, can something be done about that?
I have too little understanding of this matter to do something about it.
strangely enough http://www.batchgeocode.com/ still yahoo-geocodes my addresses. I just can't modify the kml-output and in my opinion it is too intricate for anyone in my office to use...
Aperi said:
Recently, We have been able to geocode only around 350-360 address in the excel tool.. Is this a know problem?? Is there a way to bring the # back to 5K, Any repsonses would be greatly appreciated,
THanks!
Sal Khattak said:
If you can no longer geocode more then a few hundard address via yahoo. Please release / renew your IP address. You have to keep repeating this every minute.
Yahoo is treating constant requests as a DDOS attack I guess.
Sal Khattak said:
Does anyone have this utility working with GOOGLE YET ?
Please e-mail me:
sal@khattak.com
Aries said:
This is a great tool. Is there any way I can change it to work with Google Maps API?
jk said:
Great tool! I'm modifying it for use in an Access database.
http://riceball.com/d/content/ms-access-geocoding-and-distance-reporting
Chuck said:
I rec'd a error message in excel 2007 even with the dummy data, it reads: Microsoft Visual Basic - Run-time error '429' Active-x component can't create object
Bernard said:
Hi, great tool. One problem I have though is I get a
Parse error at line 21. Not well formed (invalid token). Line 21 is where I have an api chart url for display as the point icon. The url works fine when I paste it into a browser or paste it directly into G Earth as a custom icon. However I can't add the kml which your tool creates. There are no blanks etc. Any help would be excellent,
ta,
Bernard
Greg said:
I'm looking to geocode all addresses by zip code or some other means. Is this possible?
One problem I have is that I have a list of address, but I know some are missing and address ranges don't help.
I also understand that the 2010 census is collecting lat/longs for all addresses collected. Any chance that these will be used in fucture geocoding applications?
Marian said:
hi there,
has anyone got a solution concerning the "http:send" line yet?
the macro always seems to stop at that point.
thanks for your help
marian
Chrispy1 said:
Hi Marian,
I'm running into the same problem and believe it's because I'm running the code while inside my company's firewall. if i'm at home and not connected to my company's network, everything runs beautifully. I'm currently investigating a workaround, and will post back here if I figure something out.....
Chris
Marian said:
hi folks,
in my case it doesn`t work at home either :( not sure whether the firewall is causing this problem. Chrispy, did you work it out yet? appreciate any help on this.
cheers
marian
Fillipe said:
Hi All,
I had the same problem at the company's network. I just unplugged the cable and went to the aircard and it worked. So it must be something related to firewalls.
Cheers
Fillipe
Kirnbauer said:
Hi,
When I use the latest geocoder tool (v3.1.xls) and click view in google earth, I get a message that says "could not open file documents output.kml" - how do I fix this? I don't want to have to click "ok" then navigate to the file and double-click it (which will work but is not ideal).
Many thanks.
El-Noor said:
Fantastic tool! I modified the code to accept Canadian postal codes. Very comprehensive programming - completely impressed for a free tool like this.
Martin said:
Hello. El-Noor, is it possible to ask for your version supporting canadian postal codes. I would need that. If you can share it. You can email to martin_chalifoux@hotmail.com
Andy said:
Hi,
Worked perfectly the fist time I used it but now I'm getting inconsistent results. Some times it finds the location and other times it just comes up with "not found". It's the same location so how can it find it one time and not the next?
Any ideas what's going on?
Thanks,
Andy
Add a comment
Sparklines in Excel: Simplicity Itself
By Chris Gemignani
April 18, 2006
Find more about:
analytics
excel
sparklines
Sometimes the best ideas are the simplest ones. Sparklines are little, word-like graphics. A sparkline can shows a single time-series or the occurance of events. The idea is that as you can pick up the gist of the data in the flick of an eye. This lets you say things like:
The New Jersey Nets
have been streaky all year while the Boston Celtics
have been the picture of consistency--consistent mediocrity.
A note on interpretation: green upward whiskers are wins, red down whiskers are losses. So how can ordinary business folks make these things? Until now, sparklines have been the domain of programmers and graphic artists.
Thankfully, Bissantz, a German company, had an elegant idea. The created a set of special sparkline fonts and an easy to use tool that you can use to build sparklines in Excel using their fonts. The tool looks like this.
Sample sparklines look like this:


It works in Excel and it really is fun and easy.
If you want to learn more about sparklines and see some beautiful examples; the canonical page for sparkline theory and discussion is here. Edward Tufte provides a chapter on sparklines from his newest book followed by a back an forth discussion with practitioners in the field. Lots of great examples!
1 comment
Fabrice said:
Thanks your inspiring blog,
Here is a free alternative to Bissantz Sparkmaker and Bonavista MicroChart :
Sparklines for Excel --> http://sparklines-excel.blogspot.com/
It includes 11 types of sparklines ... and more to come
Regards
Add a comment
Taking BI vendors to task
By Zach Gemignani
April 16, 2006
Find more about:
bi
visualization
Steve Few in his blog on the Business Intelligence Network says:
“Most business intelligence software vendors don’t understand data visualization. Even their basic charting functionality is embarrassing. They ought to be experts in this field, because it is critical to effective business intelligence. They’ll only become experts when their customers stop asking to be entertained with flash and dazzle and begin to demand effective visual analysis and communication functionality that is firmly rooted in an understanding of how people see and think."
We agreed. I pulled up demo dashboards from a couple of the Google featured advertisers for 'executive dashboard'. Here's the kind of chart-junky stuff they show off:
Steve isn't done with these folks. In his white paper called Visual and Interactive Analytics: Fulfilling the Promise of Business Intelligence, he takes the industry to task for its immaturity:
"The BI industry has helped us build huge warehouses of data that we can now access at lightening speeds, but most of us look on with mouths agape, feeling more overwhelmed than enlightened...BI is still a fledgling industry, awkwardly struggling with good intentions to mature beyond adolescence"
That doesn't stop the enterprise BI vendors from promising the moon. Check out the banner on the top of the MicroStrategy web site:

"All your data" and "better decisions everyday by everyone." "Imagine", they say. Yes, you best keep on imagining. How can promises like that not fail to deliver? The fallacy of this approach is wrong on so many levels:
- It assumes you know what specific data you need at every part of your organization to make smarter decisions. It is rare (impossible?) to understand your business that well.
- It emphasizes reporting and scorecards over analysis.
- It suggests having access to more data is better. In most situations, the problem is understanding what the data is saying that is the core problem.
- It puts tools ahead of people.
We are talking with a growing number of business intelligence practitioners that recognize that this industry hasn't yet cracked the code on how to make value from the data. Hopefully we can help move it forward.
You are not alone -- common enterprise data problems
By Zach Gemignani
April 11, 2006
Find more about:
analytics
bi
dashboard
metrics
I like the bumper sticker that goes: "Never forget that you are unique, like everyone else." Most of our clients believe they suffer from the ugliest pile of unmanageable numbers possible. Guess again; you're probably no worse off than the next guy.
In an attempt to ease your fears of being alone with your data troubles, we've put together a list of common data-related issues we see in our client work:
- No unique identifier. Faced with numerous enterprise systems and any number of customers and employees entering data, many organizations are unable to maintain unique customer identifiers. With unique identifiers, you can match customers across their interactions with the organization; without them, it becomes very hard to get a full view of the customer experience.
- Blocked by the reporting front-end. Many enterprise systems (CRM, ERP, etc.) do you the "favor" of bolting on a reporting engine. Set up correctly, these tools can be modestly satisfying in their ability to spit out metrics and support basic slicing-and-dicing analysis. However, when you start to ask complex questions or want to dig into the raw data, you find that your reporting engine is more of a door than a window.
- Too many reports. A big stack of dashboards, key performance indicators, and success metrics is piling up on your desk—and yet you don't feel like you understand the state of the business. As we pointed out here, too many metrics can mean you don't fully understanding business drivers, but want to create that facade.
- Inconsistent data definitions. What does "customers" mean? For marketing, it is the number of people brought in the door. Operations only counts the number of active users. This leads to any number of unproductive conversations trying to explain discrepancies in the numbers.
- Messy, unstructured data. Data is rarely arrives in an easy to use form. Sometimes it is spread across tables in Excel (or worse, PDFs). Dimensions and measures are poorly labeled and not defined.
- Access. Getting to the right data can mean a well-formed and informed request to the IT group. When IT and business folks struggle to communicate, data stays locked away. Our friend Dratz writes a great blog that offers nice perspective for business folk like me.
- Data shmata. Sometimes all the good analysis falls on deaf ears. "Some people in an enterprise apparently aren't really looking for a single version of the truth. It can be easier for them to work with common assumptions and 'dance with numbers' during management meetings", says Bill Hostmann of Gartner.
- The data warehouse is late to the party. This has to be our favorite. While working for AOL, I watched as on two separate occasions as expensive data warehouses were delivered just as the business changed direction.
Do any of these sound familiar? We'd love to hear your stories of data trouble. Or leave us a comment if you're interested in our strategies for tackling these problems.
A few other resources on data and business intelligence troubles:
- The Open Source Analytics blog discusses data marts, data warehouses and the related philosophical debates.
- Gartner's take on "BI's seven fatal flaws"
- SearchDataManagement.com has a host of articles about enterprise and customer data integration
When metrics attack
By Zach Gemignani
April 5, 2006
Find more about:
Sometimes success metrics can create unexpected, misguided, and counter-productive behaviors. I heard a great anecdote recently from a client, Celia. She is a former marketing head at an airline, so she knows of what she speaks:
The other week Celia was rushing to catch a United Airlines flight in Pittsburgh. She arrived late to the gate and found the United employees were intent on closing the door to the airplane ten minutes in advance of the flight. She had to argue to get herself on the flight. At United, it seems, success is measured by the percentage of flights that push-back from the gate before the scheduled time. These employees were perfectly willing to slam the door in Celia's face rather than face having to fill out paperwork and other repercussions tied to missing the success targets.
No doubt push-back time was considered something employees could control and reasonably correlated with on-time arrivals. In addition, push-back time is straightforward to measure -- unlike the seething anger of a customer like Celia.
3 comments
Tony said:
A company my father worked for had metrics about "how fast calls were closed" and "how many calls were handled in a day" and "response time to priority 1 calls" and "amount of overtime" worked.
If a call needed to be closed within 4 hours, you would simply close out the call, request parts and ask the customer to re-open the case tomorrow. That helped several metrics.
If you needed to be "active" on a priority call, just call dispatch and have them mark you as active right away, even if you haven't finished what you are working on.
When there were overtime caps, just keep working afterhours but stop reporting it. When the stick for not meeting the metrics is big enough, the metrics take on a life of their own.
Mike said:
I can share a UA story related to this metric:
I leave from Denver to SFO and there are times when the UA team KNOWS they'll be stuck on the tarmack for a long time (record for me is 2 hours) before they'll be allowed to take off due to backups at SFO. . . that doesn't keep them from pulling back in time!
Janet said:
In a macroeconomics class focused on the soviet and post-soviet economies, the professor gave an example I've never forgotten: the centralized planners would send the factories a quota: if it was for 200 tons of lamps, the factories would make lamps and fill the bases with lead. 200,000 sweaters? baby sweaters it is!
Add a comment
New ways to lie with numbers
By Chris Gemignani
April 5, 2006
Find more about:
analytics
Last night while watching a cooking show I came across a great example of how to lie with numbers. The show was describing how a vast quantity of a particular candy bar were produced each year. As a point of fact, if those candy bars where placed end-to-end they would reach 12,000 miles, or over "two times around the moon."
Technically true, but misleading. As my sister quickly pointed out, this moon wrapping means the candy bars would go twice around the surface of the moon, not twice from the earth to the moon. This creates a verbal lie-factor of nearly 99%, which may be a record.
2 comments
Scott said:
This may not be a "new" way, but thought I'd add another example of marketing having fun with numbers. (I'm sure you could find several per day if you're looking, but my wife and I were joking about the following example just the other day, so it's still fresh in my memory)
We bought a bottle of the Purell Hand Sanitizer that boasts the claim "Kills 99.99% of most common germs that may make you sick". Obviously, with qualifying words such as "most", "common", and "may" I guess I'm not really sure what percent of germs it's actually killing.
P.S. My posts are found insightful by 99% of most common blog readers who may be reading this.
Chris said:
Ah yes, weasel words. Another thing that really gets me going are media reports of an "emerging trend", invariably backed up by an anectdote or two but no real numbers.
Here are some links to weasel hunters.
http://www.cjrdaily.org/politics/weasel_words.php
http://www.slate.com/id/2086882/
http://www.slate.com/id/2086925/
Add a comment
5 rules for successful success metrics (and a template)
By Zach Gemignani
April 2, 2006
Find more about:
dashboard
metrics
Analytics truism: everyone wants a dashboard (a.k.a. key performance indicators (a.k.a KPIs), success metrics, scorecards). Managers want a barometer of performance, a hammer to use on their subordinates, and a straightforward quantification of their business. Below are a few of the guidelines we use when we take on this task:
1. Actionable metrics. Ask yourself: what would I do if the metric is out of line? Do I have the levers that can impact it? Measures that track final outcomes like revenue or total customers don't give you much time to react or guidance about what to do next.
2. Less than five. When I first started at AOL, a friend of mine pointed to the dozens of reports flying around the organization and remarked (I paraphrase): "This many 'important' metrics just indicates that nobody really understands this business." If you struggle to boil down, you should spend more time defining success and understanding the factors that drive performance.
3. Simplicity over comprehensiveness. We don't agree with Thomas Davenport's call for more proprietary metrics:
You know you compete on analytics when...You not only are expert at number crunching but also invent proprietary metrics for use in key business processes.
In our experience, you're better off if you choose metrics that can be understood outside your corner of the world. One common trap we've seen is a desire to create a single comprehensive metric; this metric is often an index that combines a number of factors into an overall measure of performance. The result: numbers that are meaningless without a lot of context and difficulty in interpreting deltas.
4. Presentation matters. Your dashboard should be easy to understand and provide enough data to give your audience context. I've seen many dashboards that stubbornly show only the current state of a metric and the change from the previous week. Why so stingy with historical data? At Juice, we always show trending and try to give users a means to "cut" the data - by business line, customer type, month, etc. Check out our template for creating a success metric dashboard (more info below).
5. Evolve to goals. Metrics without goals can be a waste. Unfortunately, getting people to agree to specific targets can be painful. After all, goals start us down a slippery slope toward clear accountability. Here's what I've found works: start by focusing your energy on getting people to buy-in to the success metrics. Get clarity on definitions, show trending, and incorporate them into the organization's vernacular. Be patient: one day someone will raise their hand in a meeting and ask if there are targets for the metrics. Pretend to act surprised by the cleverness of this suggestion.

The success metrics template makes it easy to quickly put together a top-line report for your organization. The 'data' worksheet gives you a place to put in your weekly (or daily, monthly, etc.) metrics. Add in dimensions where appropriate. Saving and re-opening the spreadsheet will refresh the pivot tables. Shoot me an e-mail if you have questions.
The Dashboard Spy has a great blog about business dashboards.
8 comments | Show all comments only the last 5 are shown
ACI said:
It would be helpful, when posting templates if you would explain how they work. While clearly you are doing something clever with script and pivot tables I think that how it works (and thusly what folks can configure and what they should leave alone) is unclear. As reference, please see the step-by-step instructions for creating a 'speedometer' chart provided by MS Excel MVP John Peltier at http://www.peltiertech.com/Excel/Charts/SpeedometerXP.html.
While templates are great, they are even better when you know how they work so that you can modify them to your own use more effectively.
Sarab Singh said:
i love your blog
Andreas said:
I've tried downloading the two files:
Clean Charts Installer.xls
Clean Charts.xla
The xla file does not download at all rather it appears to open in my Firefox browser.
Please advise.
Also, will Clean Charts work with Excel 2000?
thx.
A
Jeremy Crane said:
Chart cleaner files don't seem to be available for download. The link simply redirects to this blog topic. Is the Excel plugin still available?
Chris Gemignani said:
Jeremy, Andreas: I've joined the two Excel downloads into a zip file. This should solve the downloading woes some have experienced. Thanks for your patience.
You can find the zip file on this page.
http://www.juiceanalytics.com/writing/2006/04/fixing-excel-chartsor-why-cast-stones-when-you-can/#commentform
James Gallman said:
Hi Chris.
The link is not fully shown on the page. Can you please repost it?
Chris Gemignani said:
James:
The link is: http://media.juiceanalytics.com/downloads/CleanCharts.zip
Thanks
Bennett said:
Saw most of the comments were 'why didnt it work' so thought I'd add - thought this page was excelent and informative in relatively plain English. Will help with my job interview presentation :-)








3 comments
Fred said:
I fully agree with your comment on Excel keyboard shortcuts... I feel like I'm missing an arm and a half if I can't use these shortcuts.
So here's my question: I'm switching to Mac, and Excel 2004 doesn't appear to have support for this type of navigation. Is there any way around this, or to get it to work with the shortcuts as in Windows?
Thanks
Zach said:
You question could hardly be more timely for us. We are also looking at switching to the new MacBooks. As you know, we are obsessive about Excel keyboarding (it can feel like a superpower) and the fear is that we will be reduced to the typing equivalent of hunt-and-peck people.
Here's a good article I found about keyboarding on Macs:
http://www.macworld.com/2004/09/secrets/septworkingmac/index.php/
hjmm said:
perfect information!enjoyed!Thank You!
<a href="lalal.ru" rel="nofollow">click</a>
said:
Add a comment