When using a PivotTable to summarise a large list of data, you may need to count unique occurrences in a particular field.
For example, you may have a list of data like the one below and want to count the number of different customers in each country, or the number of different products that were sold in each country.
If you added the Customer Name field to the Values area of a PivotTable and summarised it with a Count you would get the result below.
However this is counting all of the transactions in each country. We need to count the unique customers making those transactions in each country.
In this blog post we look at how to create a macro that will look in a list and format all the instances of specific words that appear in a cell.
This macro is case sensitive and will also only apply the formatting if it is the whole word. For example, if you are formatting all instances of the word ‘red’, this macro will not format it if used in words like ‘reddish’ and ‘sacred’.
Using the SUM function to total a column of values is an essential skill in Excel. However, it is not always that straightforward. The column of values may contain errors, or the values you want to sum may be on many different sheets.
This article looks at 4 advanced techniques for summing values including;
- Summing a range that contains errors
- Creating a cumulative total
- A consolidated sum from multiple sheets
- Summing Every Nth Value in a Range
Create a battery chart in Excel just like you see on your smartphone, tablet device or even PC. It is a great visual way of viewing the percentage remaining of a value.
In Excel a battery chart could be used to view the amount remaining of a budget, the work remaining on a task, or number of people still to attend training.
There are many reasons why you may want to visualise an amount dropping until it is empty, or complete. A battery chart provides a method that people can relate to easily.
The image below shows a battery chart being used to show the amount outstanding on a training budget.
Drop down lists can be created in Excel to assist with data entry and to prevent potential typos and misspellings. The Data Validation tool in Excel can be used to easily create lists.
However if you have many entries, you may need to break the list into multiple dependent drop down lists. By creating a cascading set of lists, the entry in one is dependent upon the selection made in another.
In Excel 2010 a feature was introduced to easily rank the fields of your PivotTables.
Yes, you can sort the fields of a PivotTable to view items in order from largest to smallest, or smallest to largest depending on what you are trying to achieve. But you may wish to keep your list of products, customers, salespersons or whatever the field is your are ranking in alphabetical order.
Take the table below for instance. This PivotTable displays the number of sales and conversion rate for the members of a sales team.
We would like to add a rank field to the PivotTable for both fields.
This week I am pleased to announce the release of a new online course on How to Create Sports League Tables and Tournaments in Excel.
I have blogged and created videos in the past demonstrating spreadsheets that calculate team rankings and generate cup draws etc. I get many, many messages about these posts so have been planning for a while to put this course together.
The course is now open for enrolments. In the course you will learn:
- How to automatically calculate league table rankings for players or teams as results are entered.
- How to automatically create a random cup draw for knockout tournaments.
- Different formulas to calculate various sports statistics and to determine match results.
- How to calculate different cricket statistics such as net run rate, bowling strike rate, number of balls bowled and more.
You can join this course now using the link below for just $19.
Many Excel users are familiar with lookup functions such as VLOOKUP, INDEX and MATCH to look up information in a list. But how about performing a picture lookup to return a picture dependent upon the contents of a cell.
This requires a little extra thought as a standard VLOOKUP is not capable of returning a picture from a list.
In this blog post we will explore how to create a picture lookup. We will look at how to return the picture of a flag dependent upon the country name that is selected from a list.
When a range of cells are selected, Excel automatically displays formula results on the status bar. This can be an incredibly useful feature of Excel, especially when combined with filtering data.
Excel can display the sum, average, max, min, count of cells containing values and count of cells that are not blank in the status bar.
This blog post looks at how you can get Excel to display your own function on the status bar. For example, you may need to know the median or mode value, or count the number of blanks in the selected range.
In this post we will get Excel to display the number of blank cells in the selected range on the status bar.
With the FIFA World Cup 2014 in full swing. Today I have another World Cup related post to share with you.
Are you good at recognising the flags of different countries? Well here is your chance to impress. This spreadsheet contains the flags of all 32 countries participating in the FIFA World Cup 2014. Your task is to name them.
Download the World Cup Flags Quiz spreadsheet.