ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Use Excel to track hubpages stats in real time (Part 2)

Updated on May 26, 2012

This hub explains how to use excel to track and report hubpage statistics. In part 1 we looked at how to create a live data link between excel and hubpages which refreshes in real time without any need for manual input. Now that we have live refreshable hubpages statistics in excel, we want to start slicing and dicing the data to make it more interesting and useful.

This hub will show a couple of tips to rank by colour our best and worst performing hubs, and I will also show how to create a simple formula to track average hub views per day.

Tracking average hubviews per day

Average daily hubviews are important because we want to see whether our hubs are rising or falling. While hubpages already does some of this to an extent (using the ranking arrow up and down key) we can make this a little more scientific and useful by calculating average daily hubviews over the current, 7 day, 30 day, ever periods. This will give us a good idea as to whether our hubs are rising, falling, gaining or losing momentum. It is a useful indicator to highlight which hubs are getting stale and need refreshing, and to what extent changes such as the panda updates impact on hubs.

The next few steps will show how to apply a quick ranking system to our hubs and how to calculate daily average hub views.

Step 1: Apply conditional formatting to create a "Heat Map" of our hubs

In Part 1 we looked at how to pull the hubpages statistics into excel and create a live refreshable link. Once we have formatted the data and cleaned it up we should have a refreshable statistics page in excel which looks identical to the stats in hubpages. See part 1 for instructions on how to get to this point

Hubpages stats
Hubpages stats

The first thing we want to do is to apply some conditional formatting to our statistics. This is a simple peice of formatting which color codes our hub-statistics to show which ones are doing well and which are not doing so well.

To do this, firstly highlight the 1 day column and then click on the conditional formatting button, then click on the color bars or coding you want to apply. I normally just go for the green-orange-red scheme. To do this highlight the column (i.e. 1 day) and click conditional formatting, then chose the scheme you want to go with.

Highlight the column/cells then apply conditional formatting
Highlight the column/cells then apply conditional formatting
After conditional formatting has been applied to the '1 day' column
After conditional formatting has been applied to the '1 day' column

Once we have applied the conditional formatting to the 1 day column, do the same with the 7 day, 30 day and ever columns.

What you should end up with is a green-orange-red color code system. This is a pretty easy way to view hub stats. Green means the hub is doing well, orange OK, red means not doing so well. Each time the stats refresh, the color coding will update accordingly, so it provides a quick and easy way to view your hubs and get an idea as to which ones are doing well.

After applying the conditional formatting to all columns
After applying the conditional formatting to all columns

Step 2: Create a todays date formula

Next step is to start measuring average daily hubviews. This is a useful measurment because it allows us to spot trends more effectively than by just looking at the 1 day, 7 day, 30 day and ever hubviews.

To begin we need to create a todays date forumla. The todays date forumla is exactly that, it will show the current date and update every day to the current date. The forumla is very simple as follows:


Step 4: Calculate the hub age by subtracting todays date from date published.

OK so once we have made the todays date forumla we then want to calculate the number of days since first published, or hub age (in days). To do this create another column to the right of our todays date column called Hub Age in days.

To calculate the hub age in days we take todays date and subtract the date published. To do this we use the days360 forumla as follows:

=days360(cell reference for "first published", cell reference for "todays date")

Make sure the todays date cell reference in the above forumla is fixed (ie hit F4 to put the $ signs around the referening)

Once you have made the hub age forumla copy it down the rest of the column for each hub row.

Step 4: Calculate average daily hubviews

Once we have created the hub age column, make another column to the right of this called average daily hubviews. Here we want to calculate the average daily hubviews our hubs are getting over thier life to date.

To do this simply divide the number of total hub views (per the ever column) over the hub age (in days) column.

Step 5: Compare 1 day hubviews to average daily hubviews

Now that we have calculated the average daily hubviews we want to compare this to our 1 day hubviews (current). Comparing the average daily hubviews to the 1 day hubviews allows us to quickly see whether our hubs are gaining or losing momentum (compared to historic stats).

To do this I am going to set up a new tab, and copy over the hubtitle, 1 day hub views, average daily hubviews, and total hubviews columns. As shown below:

I am now going to tidy the formatting up on this worksheet and add some totals and some additional conditional formatting. I want to quickly see whether my hubs are currently doing better or worse against the historical average.

The below screenshot shows the finished formatted worksheet

From a quick scan of the above I can see that most of my hubs are doing worse now than against the daily average hubviews (as indicated by the up green, down red arrows from the conditional formatting I applied. I can see that the current daily page views averages 3.12 views per hub, compared to the average daily hubviews ever of 4. This tells me on average that my hubviews are falling.

Now If I refresh the data, the stats should (fingers crossed) update automatically and I should see this hub appear on my new worksheet.

See below for recently refreshed data. The new hub (this one) automatically updates in my worksheet, but because it has not yet been published the date does not show and it is generating an error. This will be solved once I publish the hub.

In summary

This ends part 2, in this hub we looked at how we can use excel to calculate average hubviews and compare this against our current 1 day page views. In the next hub I will explore this idea a little further by comparing the current 1 day page views against the rolling average 7 day, 30 day and ever average page views. This will help us identify trends and get a good idea as to whether our traffic is rising, falling or staying the same.


Submit a Comment

No comments yet.


This website uses cookies

As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at:

Show Details
HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
LoginThis is necessary to sign in to the HubPages Service.
Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
AkismetThis is used to detect comment spam. (Privacy Policy)
HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
MavenThis supports the Maven widget and search functionality. (Privacy Policy)
Google AdSenseThis is an ad network. (Privacy Policy)
Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
Index ExchangeThis is an ad network. (Privacy Policy)
SovrnThis is an ad network. (Privacy Policy)
Facebook AdsThis is an ad network. (Privacy Policy)
Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
AppNexusThis is an ad network. (Privacy Policy)
OpenxThis is an ad network. (Privacy Policy)
Rubicon ProjectThis is an ad network. (Privacy Policy)
TripleLiftThis is an ad network. (Privacy Policy)
Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)