Bottom line: In this article and video I explain 3 ways to remove duplicates to create a list of unique values. We look at the Remove Duplicates feature and a macro that makes the process much faster. I also added a video on how to use the Advanced Filter to list unique values.
Skill level: Intermediate
Bottom line: Learn two different ways to quickly (join) concatenate a range of cells. This includes the Ctrl+left-click method, and a free VBA Macro that makes it quick & easy to create the concatenate or ampersand formulas.
Skill level: Intermediate
This add-in will help you filter and analyze results for long formulas using SumIfs, CountIfs, or AverageIfs functions, and it's FREE!
This post explains how to quickly create absolute references for table formulas using the Absolute References Add-in. This add-in will save you time when writing formulas with structured references (table syntax), and it's FREE!
An add-in file is an Excel file that contains macros (code) and has the extension “.xla” or “.xlam” (2007 and later). When opened, the worksheets in the file are hidden and the macros are typically accessed through buttons that are added to the toolbar or ribbon. Once installed, an add-in will automatically open every time Excel is opened.
Here is a video that walks through how to install the add-in.
Please see my video below on how to add the add-in's folder location to the Trusted Locations list. This is now a critical step due to a July 2016 Office Security update.
Installing the add-in is pretty easy, and should only take a few minutes.
Important Note: There is one additional step to this installation due to an Office Security Update released in July 2016. Here is a video that explains it in more detail.
The folder that the add-in file is saved in needs to be added as a Trusted Location in Excel. The instructions on how to trust the folder location are below. I also have an article and video that describes this issue in more detail.
Some users still have issues with the add-in’s ribbon disappearing after trusting the folder location. If this happens to you, you will need to Unblock the file by changing a file property.
You will only need to do this unblock one time. However, if you download an updated version of the file then you will have to repeat the steps above to unblock it.
Hopefully these additional security steps will be fixed in a future update to Office. If you completed all the steps above then you should see the add-ins ribbon tab load every time you open Excel.
Installing An Excel Add-in - Guide (672.2 KB)
Paste Buddy – Create custom keyboard shortcuts for the paste special commands like paste values.
Formatting Shortcuts Add-in – Keyboard shortcuts to change font & fill color and cell styles.
When you have a dashboard with small panel charts it is nice to be able to zoom in on the charts to see the trends better. The ‘Zoom_Chart' macro included in the workbook allows you to add a zoom button (shape) over the top left corner of the chart to zoom in on the chart. It's available for free download below. The macro actually resizes the chart to enlarge it, then returns it to it's original size when the zoom button is pressed again. See the animated screen capture below.
You can control the zoom amount by changing the percentage values for Zoom Width and Zoom Height in cells P5:P6 on the worksheet. These can also be hardcoded in the code if you don't want the user to change the size of the zoom.
The video above contains a detailed tutorial on how to add the zoom buttons to your own workbook. It's really a matter of copying and pasting the macro (VBA code) and buttons into your workbook, and then assigning the macro to the buttons. You should still be able to implement this even if you aren't familiar with VBA or macros. It is important to line up the buttons on the chart correctly and give each button a unique name. So it's best to watch the video to make sure you don't miss anything. The steps covered in the video are listed below.
The zoom feature works really well with dashboards and reports where your screen area is limited. If you would like to learn more about charting and dashboards I highly recommend the dashboard course from My Online Training Hub. Checkout my full video review of the course and learn how to become an Excel Superhero! 🙂
The VBA can be further enhanced to add data labels, legends, axis labels, and any additional chart components when the zoom in button is pressed. Please leave a comment with some of the enhancements you made, or would like to see.
Zoom on Excel Charts.xls (82.9 KB)
Zoom on Excel Charts - Bottom Right.xls (84.5 KB)
Zoom On Excel Charts - Top Right.xls (85.0 KB)
The “Bottom Right” file contains modified code that allows you to place the zoom button in the bottom-right corner of the chart. The chart zooms from the bottom-right and expands up and to the left. Zooming from the top-left or bottom-right are the only two options for button placement with this code.
The “Top Right” file contains code that allows you to place the zoom button in the top-right corner of the chart. This option can cause problems if the chart is too close to column A and tries to expand beyond the left side of the worksheet. The location of the chart will move and the chart will need to be manually resized and moved back to align with the zoom button.
Please leave a comment below with any questions or modifications you have made.
The Find All Form for Excel allows you to type a search query in a text box and have the results appear in a list box. The results are narrowed down as you type. This is similar functionality to Google's auto fill or auto suggest feature when doing a Google search. See the animated screen capture below.
This is a very basic application that mimics Excel's built-in Find All feature. The code uses Chip Pearson's FindAll Function in combination with the KeyUp Event in the text box to return results in the list box as you type. A sample workbook with all the code is available for free download below.
The features and capabilities can be greatly expanded to meet your needs. I've used this in an add-in that runs searches on general ledger (GL) account codes. The user can quickly search for account codes from the GL or database, and quickly insert them into the worksheet. In my application, the tables containing the account codes are stored in the add-in workbook. I've also developed additional processes to automatically update the GL tables as they are updated in the system. This makes the searches extremely fast since the underlying source data is stored in the add-in.
What could you use this tool for? Leave a comment below.
Find All VBA Form.xls (464.9 KB)
File Find All VBA Form (Results on Form).xls (474.6 KB)
The “All Sheets” file above searches all the sheets in the file. The sheet name is included in column 2 of the results along with the cell address. When an item is clicked in the results, the resulting sheet and cell are selected.
The “Copy Paste” file above pastes the clicked item in a list on a Results Sheet. This allows you to track which items the user clicks on in the results list on the form.
In the following video I explain the difference between the color palettes and a solution for making your new workbooks look the same when opened in Excel 2003 or earlier.
The new theme based color palettes in Excel 2007, 2010, and 2013 are great for designing spreadsheets and charts that are visually appealing. But did you know that those colors are being converted to the old 56 color palette when opened in a previous version of Excel? This means your new spreadsheets could look like the following when opened by clients or colleagues using Excel 2003 or earlier versions.
Excel 2007 workbooks contain a 56 color palette that will be used when the file is opened by previous versions of Excel. You can see this palette by opening an Excel workbook and going to: Office Button > Excel Options > Save (option in left sidebar) > Colors… button (after: Choose what colors will be seen in previous versions).
This is the default color palette in older versions of Excel, and Excel automatically converts your new theme colors to these colors.
Does this sound confusing, time consuming, and frustrating? Well don't worry…
The Color Palette Conversion Tool is a simple utility that retrieves the colors you've used in your workbook and updates the previous version palette automatically. With the click of a few buttons you will ensure that all Excel users see the same colors you do in your fonts, borders, and background fills. This is critical for presentation purposes, and general sanity if you have Excel 2007 at work and a previous version at home.
The tool has a few advanced features that allow you to control your previous version palette colors, plan for future designs, make updates in multiple workbooks, and easily view or restore default palette colors. The tool is just a single worksheet in a workbook that contains macros to run this process. You can use it as a stand alone, or add in to your workbooks if you want to make frequent updates.
Here is what your spreadsheets will look like in previous versions after using the Color Palette Conversion tool.
If you're currently going into your previous version palette and modifying colors, you know how time consuming it can be to change the colors. You have to manually type in the RGB codes for each color you use from the new theme palette. It's a painful process, but must be done if you want your spreadsheet colors to be universal with all Excel versions. This tool eliminates all that work. I explain the color palettes in more detail on the download page. I hope you find this tool useful and please post questions or suggestions below.
You probably find yourself formatting the same spreadsheets in the same way daily, weekly, or monthly. This can be a very time consuming and redundant task. And even if it only takes you five to ten minutes to apply page layouts or format header rows; those minutes add up and you may lose some consistency if you forget something.
The Format Copier tool automates the process of applying page layout and formatting options to multiple sheets in multiple workbooks. And you can store your formatted sheets, which we will call templates, to use when you have to format the same unformatted reports in the future.
The Format Copier is a workbook that contains:
With the press of a few buttons you will be able to apply your template formatting to multiple worksheets and workbooks.
You've probably already figured this out, but the Format Copier will save you lots of time. Especially if you're formatting the same reports over and over again. The tool is very easy to use and even stores your formatting preferences so you don't have to remember which formatting options you use for each template.
This tool will help if you spend time doing any of the following in Excel:
Ok, that's an Office Space reference… And with this tool you won't ever have to worry about messing up your reports and angering your boss. You might have a general ledger reporting software that exports reports in an plain looking format, or doesn't format them at all. The Format Copier will transform these reports to your specification, making them easy to read and print. And you will produce reports that are formatted consistently, without having to dig up reports from previous months to compare.