Add to Google Add to Bloglines Add to Newsgator Add to Yahoo! Contact ROI Revolution Sign Up for the ROI Newsletter Unofficial Google Analytics Blog Feed Unofficial Google Analytics Blog
Unofficial Google Analytics Blog by ROI Revolution

Categories Search This Blog Blogroll Archive

| |

November 26, 2007

Google Analytics ROI Calculation Macro

By Jeremy Aube, Google Analytics Support Tech

Glue Gun!If you have used the ROI Calculator Spreadsheet tool that Shawn came out with before, you know that it takes several steps to get to the point where you can start entering in cost data and seeing that ROI. If your need for ROI data is only occasional, then this works great. In addition, if you click on the appropriate link below, you can download the latest version of this spreadsheet, which eliminates step 4 from Shawn's procedure.

Microsoft Excel 2007 Version
Microsoft Excel 97-2003 Version

If, however, you find yourself running through these steps again and again on a frequent basis with no shortcut in sight, there is hope!

Introducing...the ROI Calculation Macro.

Imagine...you log in to Google Analytics, download the file into Excel, click a button and you're done. All that remains is to fill in the appropriate cost data.

Now again, since the setup of this will take some time, this will be most useful for daily or weekly use. The instructions are for MS Excel 2007. If there are enough comments expressing interest in seeing a 97-2003 version of the instructions, we will come out with this in a later post.

You'll need to download this file (Note: You may need to right click and choose "Save link as".):

ROI Calculation Macro for MS Excel 2007

Make sure to save it in a location where you can find it again later.

STEP #1 Open Excel.

STEP #2 Click "View" tab.

STEP #3 In the "Window" box click "Unhide".
If you see PERSONAL in the Unhide dialog box, close Unhide dialog box and proceed to step 4. Do not unhide PERSONAL as this will cause problems later. If you don't see PERSONAL in the Unhide dialog box or if Unhide is unclickable, most likely you do not yet have a personal workbook to store macros in. Go ahead and close the Unhide dialog box.

Follow these instructions to create a personal workbook:

STEP #3a Click the "View" tab.

STEP #3b In the "Macros" box click "Macros", then choose "Record Macro". (Note: if the "Macro" window pops up instead, close it, and try clicking a little lower so that it gives you the option to choose "Record Macro".)

STEP #3c Under "Store macro in:" select "Personal Macro Workbook".
RecordMacro_link.gif
STEP #3d Click the "OK" button.

STEP #3e In the "Macros" box click "Macros", then choose "Stop Recording".

STEP #4 If you have a "Developer" tab, click on it and proceed to step 5. If there is no "Developer" tab, do the following:

STEP #4a Click the Office Button.

STEP #4b Click Excel Options.

STEP #4c Check the box for "Show Developer tab in the Ribbon".
Developer_link.gif
STEP #4d Click the "OK" button.

STEP #5 In the "Code" box Click "Visual Basic".

STEP #6 Right click VBAProject(PERSONAL.XLSB). Note: Do not click VBAProject(Book1).

STEP #7 Select Import File.
ImportFile_link.gif
STEP #8 Find and Select Conversion.bas (It will be where you saved it in the beginning) and click "Open".

STEP #9 Close Microsoft Visual Basic.

STEP #10 Click the Office Button.

STEP #11 Click Excel Options.

STEP #12 Click the "Customize" tab.

STEP #13 Under "Choose commands from:" select Macros.

STEP #14 Select "PERSONAL.XLSB!Conversion" and click the "Add > >" button.
Add_link.gif
STEP #15 Click "Modify".

STEP #16 Select a symbol for the macro button and click "OK".

STEP #17 Click "OK".

Congratulations! You have finished setting up your ROI Calculation Macro.

To Use this macro:

1. Follow steps 2-3 in Shawn's Procedure.

2. Click macro button located in the upper left on the quick access toolbar. It should look like the symbol that you chose in step 16.MacroButton.gif
3. Fill in the cost data. Excellent...

There you have it. If you found this macro useful or if you need any additional help implementing it, please let me know.

Find The Secret To Solid, Sustainable Improvements To Your Website
Learn the insider secrets to making more money from your website than ever before – Guaranteed! Get started right away with the Google Analytics Training Course.

Posted by Jeremy Aube at 6:00 PM









Filed under:

TrackBack

TrackBack URL for this entry:
/mt/mt-tb.cgi/269.

Comments

Sean, another great Tool. I think Google will scoop you away from ROI soon. Timothy, you'd better watch out...

Posted by: Aaron at November 26, 2007 11:07 PM

This is an excellent utility. The instructions for setting up a personal workbook are also very helpful. Thank you.

Posted by: Jason Green at November 27, 2007 8:41 AM

@Aaron:

I can't take credit for this particular macro. Although I came up with the original spreadsheet, our new Google Analytics support team member Jeremy Aube came up with this macro and cleaned up my original workbook. He's an Excel wizard. Thanks for the compliments nonetheless, and thanks for reading!

Posted by: Shawn Purtell, Google Analytics Support Tech Author Profile Page at November 27, 2007 2:42 PM

Hello, Could you show the short description for Office 2003? I would be very gratedul for this.

Posted by: Mariusz Gasiewski at February 28, 2008 6:30 AM

@ Mariusz: I currently don't have access to MS Excel 2003 or else I would have posted instructions for that as well. I believe in 2003 you go to tools::macro::record new macro. Make sure you record it in a personal workbook (I'm assuming it will still give you that option in 2003). Then stop recording. The go to tools::macro::visual basic editor. You should be able to follow the excel 2007 instructions from there till you get to setting up the macro button. Then click here for instructions on setting up a toolbar button for the macro in 2003 (You should skip the first 5 steps).

Posted by: Jeremy Aube, Google Analytics Support Tech Author Profile Page at March 3, 2008 9:47 AM

Post Your Comments

Post a comment

Contacting ROI Revolution

Telephone Number:
(919) 832.3233
ask for Meredith Smith

Office Fax:
(919) 828.3282

Address:
400 Oberlin Road
Suite 200
Raleigh, NC 27605


Authorized Google Analytics Consultant

Google Analytics Certified Service and Support Consultant


Free Webinar!

Join a Live FREE Google Analytics Training Webinar
Register now to learn how to
turn Google Analytics into
pure profit! You'll learn how to use many of the key reports, a ten-step system for properly configuring Google Analytics on your website, and how to apply what you learn to the attainment of your online goals. Register for our free Google Analytics training webinar today.


Subscribe to the
ROI Revolution Google
Analytics Newsletter today

Free monthly email publication that contains valuable, practical tips, secrets, and much more! Subscribe to our free Google Analytics newsletter today.


Looking to Purchase
Urchin 5 Software or Fee
Based Support?

We are a Urchin software certified service and support partner! Buy Urchin 5 software, profile packs, load balancing modules, campaign tracking, or fee-based support today.