All articles in 'Excel Howtos' Category
Ensure cleaner input dates with conditional formatting [quick tip]
![Ensure cleaner input dates with conditional formatting [quick tip]](https://chandoo.org/wp/wp-content/uploads/2015/05/cleaner-dates-demo.gif)
Here is a familiar problem: You create a workbook to track some data. You ask your staff to fill up the data. Almost all the input data is fine, except the date column. Every one types dates in their own format. Here is a fun, simple & powerful way to warn your users when they […]
Continue »Find and Highlight all blank cells in your data [Excel tips]
![Find and Highlight all blank cells in your data [Excel tips]](https://chandoo.org/wp/wp-content/uploads/2015/04/find-highlight-blank-cells-in-excel.png)
True story:
On Friday (17th April – 2015), I flew from Vizag (my town) to Hyderabad so that I can catch a flight to San Francisco to attend a conference. As I had 10 hours of overlay between the flights in Hyderabad, I checked in to a lounge area so that I can watch some sports, eat food while pretending to do work on my laptop. There was a gentleman sitting in adjacent space doing some work in Excel. As I began to compose few emails, the gentleman in next sitting space asked me what I do for living. Our conversation went like this.
Me: I run a software company
He: Oh, so you must be good with computers
Me: smiles and cringes at the stereotyping
He: What is the formula to select all the blank cells in my Excel data and highlight them in Yellow color
Mind you, he had no idea that I work in Excel. We were 2 random guys in airport lounge watching sports and eating miserable food.
Me: Well, what are you trying to do?
He: You see, I am auditing this data. I need to locate all the blank rows and set them in different color so that my staff can fill up missing information. Right now, I am selecting one row at a time and filling the colors. Is there a one step solution to this problem?
Needless to say, I showed him how to do it faster, which led to an interesting 3 hours at the lounge.
End of true story.
So today, let’s understand how to find & highlight all the blank cells in the data.
Continue »How to insert a blank column in pivot table?

We all know pivot table functionality is a powerful & useful feature. But it comes with some quirks. For example, we cant insert a blank row or column inside pivot tables.
So today let me share a few ideas on how you can insert a blank column.
But first let’s try inserting a column
Imagine you are looking at a pivot table like above.
And you want to insert a column or row. Go ahead and try it.
Continue »Use apply names to create readable formulas [quick tip]
![Use apply names to create readable formulas [quick tip]](https://chandoo.org/wp/wp-content/uploads/2015/03/apply-names-in-excel-demo.gif)
We all know that using named ranges is a good practice. So you went ahead and created names for every value in your complex workbook. But now, what about those formulas which still refer to cells by their addresses? Here is a quick tip to make your formulas readable by replacing cell addresses with the names in one go.
Use Apply Names feature.
Continue »
Learn two techniques to conditionally format the background of a chart based on some external value.
Continue »![Who is the most consistent seller? [BYOD]](https://chandoo.org/wp/wp-content/uploads/2015/02/who-is-the-most-consistent-seller-data.png)
Who is the most consistent of all?
Imagine you are a category manager at a large e-commerce company. Your site offers various products, but you don’t really make these products. You list products made by other vendors on your site. Every day, these vendors would send you invoices for the amount of product they have sold. Above is a snapshot of such invoices.
Looking at this list, you have a few questions.
- Who is the best seller?
- Who is the most active seller?
- Who is the most consistent seller?
- Which seller has fewest invoices?
Let’s go ahead and answer these using Excel. Shall we?
Continue »![How to consolidate data that is different shapes [BYOD]](https://chandoo.org/wp/wp-content/uploads/2015/02/consolidating-data-in-different-shapes-excel-problem.png)
Last week, I asked my email newsletter readers to submit “one data analysis problem you are struggling with”. We called it BYOD – Bring your own data. More than 100 people have emailed various interesting (and often very difficult) problems. This week (between 16th of February to 20th of February), let’s take a look at some of these problems and solve them.
Consolidating data in different shapes
We can use either VBA or Excel’s consolidation features to combine data that has same shape (ie same number & type of columns). Here is one way to do it.
But what if we need to consolidate data that is in different shapes?
Something like above.
In such cases, we can use 3 powerful tools.
- Multiple Consolidation Ranges – Pivot Tables
- VBA
- Power Query
So let’s examine how to use these approaches to consolidate data in different shapes.
Continue »
Did you know you can use Excel 95-03 Color Names or Color Numbers in your Custom Number Formats in all Excel versions up to an including Excel 2013?
This post will show you how.
Continue »Unleash the pattern power with Excel Fill [quick tip]
![Unleash the pattern power with Excel Fill [quick tip]](https://chandoo.org/wp/wp-content/uploads/2015/01/patterns-in-excel.png)
When you are a “work from home” dad, you can see a lot of patterns. Here is one.
My kids come home from school by noon (they are too young for full day school). Right after lunch they watch their favorite cartoon program, Team Umizoomi, in which few fictional characters go about solving problems in the Umi city using maths. Milli, one of the characters is an expert with patterns. She solves problems by identifying patterns and unleashing pattern power.
Team Umizoomi & Excel Fill – How do they link up?
Here is how they link up.
Imagine you have a workbook where you need to follow a pattern, like above.
You too can unleash the pattern power. What more… you needn’t break in to a song sequence every-time you unleash the power.
Continue »
Want to write formulas faster? Here is a quick tip.
Use Auto-correct!
That is right. Excel’s auto-correct feature can be setup to help you write formulas faster. See above demo. Read on for details.
Continue »
Recently my iPhone 4 crashed. It is 3.5 years old. And just like any other 3 year old, it started acting weird & crazy one night. The next morning it went silent. It won’t go beyond the Apple logo whenever I start it. Since I couldn’t wait for the phone to start, I took out the SIM card (the phone is unlocked, if you are wondering) and placed it in my old Nokia phone. But alas, none of my contacts are on the SIM. They are in “cloud”.
After a day of answering phone calls from everyone including my mom as “Chandoo here”, I’ve decided to get my contacts back. So I logged in to iCloud to download a backup. And the backup was a .VCF file.
Since I wanted to have all my contact numbers in a spreadsheet, I did what any Excel nerd would do. I built a template that can convert VCF data to Excel worksheet.
Continue »Looking up when the data won’t co-operate (case study)

Occasionally we deal with data that is so uncooperative that we might as well give up and go back to calculators & ledger books.
Recently I found myself in such a situation and learned something new.
Introducing … data that won’t play nice
Drum roll please. Here is a data-set that I got from somewhere.
The problem – build a lookup formula
And the problem. Oh, simple. Write a lookup formula to find how many customer walk-ins we have on any given day.
But how?
Continue »
Here is a charming little problem to kick start your day.
Lets say you run a cute little bakery around the corner. Since you want your prices to look charming, you have a policy to round them down or up based on below rule.
If the price ends with 0, 1 or 2 cents, round it down to 9 cents.
If the price ends with 3, 4 or 5 cents, round it up to 5 cents.
If the price ends with 6, 7, 8 or 9 cents, round it up to 9 cents.
For example,
So how do you round to nearest charmed price? You could do it manually. But you would rather bake a few more of those Tiny Cup Cakes than waste time rounding the prices. So you want an automatic way to round prices. This is where Excel helps.
Continue »CP021: How to quickly compare 2 lists in Excel

Podcast: Play in new window | Download
Subscribe: Apple Podcasts | Spotify | RSS
In the 21st session of Chandoo.org podcast, lets compare lists. Quickly
What is in this session?
Comparing things is a favorite pastime for analysts all over the world. Sadly, it is also an area where we waste hours. So in this episode, I share my top secret comparison techniques to save you time.
Note: This is a short format podcast. That means you spend less time listening to it, while becoming more awesome.
In this podcast, you will learn,
- Why I sound like I am on a secret mission at a mafia hideout.
- 5 ways to compare 2 lists
- Manual method
- Conditional Formatting
- Row Differences
- LOOKUP formulas
- COUNTIF formulas
- Bonus tip: Removing duplicates
- Conclusions
Drag to multi-select slicer items [quick tip]
![Drag to multi-select slicer items [quick tip]](https://img.chandoo.org/q/drag-to-multiselect-slicer-items-demo.gif)
Hola folks…
My trip to Houston & Dallas was very successful, fun & awesome. I got back home on Friday and instantly I am in another fun, awesome & happy place with my kids, Jo (my wife), rest of the family & friends.
Today, I want to share a very simple yet super awesome trick with you. I learned this from Augie, one of the Houston Masterclass participants.
You can drag slicer items to multi-select them.
Selecting multiple items in a slicer quickly
We know that slicers are powerful, friendly and fun way to filter the pivot tables, pivot charts, power pivot tables and regular tables (only in 2013). They are visual filters that can be used to instantly filter the data (or report). But when it comes to selecting multiple items, slicers can be hard. We must hold CTRL key and tap multiple slicer items one at a time to select them. At least that is how I used to do it.
Do you know we can drag to multi-select?
See this demo:
Continue »