12 Month Rolling Chart

A 12 month rolling chart in Excel which will update both forwards and backwards dynamically on a chart.

Read More

Conditional Formatting with Format Cell

The article shows how to format an Excel cell with different colours through the format cell feature in Excel.

Read More

Excel Dashboards Essential Updates

This Excel dashboard displays revenue and expense metrics with some additional KPI data.  

Read More

Compare Two Lists on Different Sheets and Output Matches

Compare two lists with the Excel VBA scriting dictionary.  Output the results of the matching cells to a third sheet.

Read More

Copy/Paste Top n Visible Rows

I recently had a question regarding copying data after a filter had been applied.  What if we wanted the top n items from a list to be copied to another place.  The problem to address here is that a filtered list can have cells which are hundreds or thousands of rows apart.

Read More

Dependent and Non Dependent Comboboxes

Cascading combo boxes have been done online and I had a problem recently which knocked me for 6 as we say here in Australia.  Anyone who deals in cascading combo boxes will know only too well that if you are using a list and the Indirect formula to manage the combo boxes then the process can get very unruly very quickly.  One of the issues with comboboxes is that they are set up to work in sequence.  Combo box 1 feeds into combobox 2 which feeds combo box 3.  The combo boxes need to be filled out in that order.

Read More

Advanced Filter a List Automatically

I was recently working on an automated procedure to generate data in a list based on drop down (data validation) selection.  The idea is to change items in a drop down (data validation) and have the corresponding data table filter to the specific items chosen in your drop downs.  I have shown a formula based solution for this method (a long time ago) so if a more simplistic solution hits the mark - the link can be found here.

Read More

Auto-Highlight the Active Row When a Cell is Selected

Something different on theSmallman today - actually something different all together.  Since starting my Excel website and subsequent blog over 3 and a half years ago I have created over 300 pages from financial modelling to dashboard design to unlocking Excel's scripting dictionary.  I have writen every word myself and have drawn extensively on my posts on Ozgrid and Chandoo forums.  Today for the first time someone else is going to do the instructing.  The two handsome gentleman above are Kasper and Mikel.

Read More

Water Statistics Infographic in Excel

The above infographic is a look at how we use water and what is expected to happen if there is a 2 degrees increase in global temperatures .  Governments are good for changing long term policy for change in our world but if you want to enact real change you have to make it yourself.  If everyone collectively agrees to change - change happens in our world.  Our world will continue to grow in population.  If 7 billion people agreed to enact change as a collective - climate change, world poverty etc, would end very quickly in my opinion.

Read More

Excel Create or Remove a Table with VBA

There are times in Excel when you may wish to create a table on the fly with the assistance of VBA code.  I was in this position recently and needed to this with VBA.  A file was uploaded into a sheet and the task was to create a table and then use that table for more data manipulation.  The following Excel VBA procedure was what I ended up with.

Read More

Jump Directly to a Cell with Formula

I was involved in a post to trace the precedents and dependents of a cell.  My answer while accurate was a bit long winded as it turns out (happens more often than I like to admit).  Here is a link to the thread on the Chandoo forum. Chandoo Jump to Cell Thread 

The question was along the lines of how do I jump directly to a cell with formula? I was all about the “click on Formula - Trace Precedents - then click OK and it jumps to the sheet and cell which the formula references.” 

Read More

Excel Climate Change Infographic

There is a stack of information online about climate change.  Excel is a wonderful tool to display and change this sort of data.  I have made an infographic based on our changing climate with statistics from the web showing the current state of affairs, all things climate change.  This Excel inforgraphic displays people's views on climate change and the glaring reality which we face as a result of our actions.  Who would have thought that digging up or siphoning lots of carbon and releasing it back into the atmosphere would not have an affect on our planet's weather.

Read More

Excel Infographic Change

I was reading some statistics on the global condition and decided to create an Excel infographic on the topic.  It is not all bad.  Global poverty has declined in recent years.  The change is heartening and means a better life for millions of people.  Defence spending in first world countries is a problem though.  I believe in peace and looking after your people first.  Spending close to half of your tax revenue on military activities is a questionable use of funds.  Tax evasion or is that avoidance is a problem also.  The big end of town probably have never paid their way.

Read More

Male Female Customer Infographic

So I am on the infographic trail again.  I have been doing a 3 part series for CPA Australia and have decided to make a few additional Excel infographics just for a bit of fun on the side.  With all of the inforgarphics on the site I have not built complex calculation engines.  I simply put a visual display together which is driven by the contents of Excel cells.  The result is an easy to maintain and update visual report.  With any luck some people might find the results useful in the work they do.

Read More

Excel VBA Filter by Icon Sets

Excel has been improving the autofiltering capabilities and this single topic forms the topic which I have happened upon the most.   I am probably like a lot of developers who had their eyes opened by the Excel loop through a range when you set criteria and Excel does the isolation for you.  The problem with this method occurs when you need to loop through thousands of rows.  This can slow your procedure considerably.  Using the autofilter with VBA by contrast is very quick and the time difference between a small list and a large list is negligible.  More recently Excel has introduced the ability to filter by icon sets.  The conditional formatting coloured arrows or chart indicators which appear in cell.

Read More

Excel VBA Autofilter on Multiple Criteria

Anyone who has followed my posts on Ozgrid or Chandoo forum will have noticed how frequently I use the autofilter in favour of any kind of loop.  I have been lead to believe that in some instances that arrays will perform faster than the humble autofilter however for brevity of code and swiftness I really like the simple elegance of the autofilter.  In the article Autofilter on Multiple Conditions I delved into the world of the filer using more than one criteria.

Read More

Excel VBA to Remove Data Which Does Not Match

In the article highlight column differences I touched on the VBA procedure:

Remove Column Differences

The article was introductory where I did a bit of colour coding of cells which did not match and copied the non matching cells to a fresh sheet.  Well this technique can be used in a multitude of ways.  We can remove all of the rows in a sheet which do not meet criteria as specified in a particular cell. 

For example if we had a listing of sales people we might want to isolate only a single sales person order quantity. 

Read More

Excel Copying Variable Columns with Array

My tassie friend Valario asked another interesting and engaging question.  The question came from the blog post ‘Read Individual Columns to An Array’.  The design of the code was a little bit static so Valerio’s question was as follows.

Another question just to ruin your night!

Read More

Excel VBA Send Files to Zip Drive

Zipping up Excel files on the fly can be a most useful activity especially if working with outlook.  You may wish to generate a set of files with Excel VBA then zip those files and send them on to a list of people for review or as part of a monthly reporting procedure.  I have seen plenty of these type of procedures.  The most famous of which is on Ron De Bruin's site.

Ron De Bruin Zipping

The idea behind the concept is to have a file path with files inside it.  The zip procedure runs and sends all of the files to a compressed zip file and saves the file in a designated folder.

Read More