Shading an area chart with different colors for up & down movements [case study]

Shading an area chart with different colors for up & down movements [case study]

We all know that area charts are great for understanding how a list of values have changed over time. Today, let’s learn how to create an area chart that shows different colors for upward & downward movements.

The inspiration for this came from a recent chart published in Wall Street Journal about Chinese stock markets.

We will try to create a similar chart using Excel. We are going to create the above chart in Excel.

Looks interesting? Read on…

Continue »

Announcing Awesome August

Hi folks,

I am excited to announce Awesome August. It is a month-long effort to make you awesome in various aspects of Excel.

Awesome August - 31 days, 31 awesome posts - from Chandoo.org

Awesome August… What is it?

For each and every day of August 2015, I am going to publish a new piece of content – an Excel tip, a formula technique, a charting solution or a productivity booster. 31 days – 31 pieces of awesome content.

Sounds Yummy? Participate in Awesome August:

There are 4 ways to participate in Awesome August

  1. Sign-up to Chandoo.org newsletter. Get weekly emails with links to all the Awesome August content.
  2. Comment & Win: Comment on any of the Awesome August posts. 31 random commenters will each get $31 Amazon gift-card.
  3. Follow Awesome August in social media – on twitter, facebook, youtube and iTunes
  4. Ask your friends & colleagues to participate. Send them to Chandoo.org/AwesomeAugust
Continue »

CP039: May the FOR Loop be with you – Introduction to For Loops in Excel VBA

In the 39th session of Chandoo.org podcast, Let’s learn about FOR loops.

There is a special giveaway in this podcast. It is a workbook with several FOR loop VBA code examples. Listen to the episode for instructions.

Introduction to Excel VBA FOR Loops - What are they, how to use them - Chandoo.org Podcast - Session 039

What is in this session?

In this podcast,

  • Announcements
  • What is a loop – plain English & technical definitions
  • For Loop vs. other kind of loops (While & Until)
  • For Next loops
  • For Each loops
  • Nested For loops
  • Special tips on For loops
  • Performance issues & infinite loops
  • Conclusions & giveaway
Continue »

How to find out if a text contains question? [Excel formulas]

How to find out if a text contains question? [Excel formulas]

On Wednesday (15th July), I ran my first ever webinar, on a topic called, “How to be a BETTER Analyst?” (here is the replay link, in case you missed it).  It was a huge success. More than 1,100 people attend the live webinar and hundreds more watched the replay. As part of the webinar, we had interactive Q&A. Viewers posted their questions and I replied to as many of them as I can.

After the webinar, I wanted to make sure I covered all the questions. So I downloaded the chat history. There were more than 700 messages in it. And I am not in the mood to read line by line to find-out the questions. A good portion of chat messages were not questions but stuff like ‘hello everyone, I am from Idaho’, ‘Wow, Chandoo has beard!”, “Enjoying a beer in Belgium while watching webinar” etc. So I wanted a quick way to flag the messages as question or not.

Continue »

Quickly filter a table by combination of selected cell values using VBA

Quickly filter a table by combination of selected cell values using VBA

Filtering is one of the most used feature in Excel. It is a quick way to take lots of data and narrow down to the subset we want.

But here is one common filtering scenario that is slow as snail.

Imagine you are looking at some sort of sales data (if you can’t imagine, look at the above demo).

Now, you want to filter this list for gender=male, profession=self-employed, product category = chocolates and  quantity = 1.

If you use the right click, filter > filter by selected value approach, this will take several clicks.

Wouldn’t it be cool if you can select the entire combination and say filter?

Unfortunately, no such feature exists in Excel.

But you are not aiming to be ordinary in Excel.  You are aiming to be awesome in Excel. That means, you don’t take no for answer.

Fortunately, we can quickly write a VBA macro that filters a list by selection. So let’s do that.

Continue »

Please join 50 ways to analyze data course to become an awesome analyst

Hi friends & readers of Chandoo.org

I am very happy to invite you to our newest online class, 50 ways to analyze your data. This program is aimed to make you an awesome analyst, training you on vital skills like data analysis, data science, visualization of outputs, modeling business problems and finding best solutions.

Please click here to know more about this program & enroll.

What is this course?

50 Ways to analyze your data - an online course from Chandoo.org to make you a better analyst

It is the age of big data. Alas, what we need is big insights. But finding even small insights buried in our data is a hard task. To find the stories hidden in your data, you need to follow a process like this:

  1. Collect & clean data
  2. Structure the data
  3. Model business problems
  4. Analyze the data (or solve the problem)
  5. Visualize results
  6. Find conclusions
  7. Add layers of complexity to the problem
  8. Build what-if scenarios
  9. Reach conclusions
  10. Take action

This is where the 50 ways to analyze your data course. In this program, we analyze 50 familiar, important and diverse business situations using several of the above steps.

My goal is to make you say “YES” every-time your boss asks “Can you analyze this data and tell me what is going on?”

Continue »

CP038: Data to Ink Ratio – What is it, How to optimize it, Techniques & Discussion

CP038: Data to Ink Ratio – What is it, How to optimize it, Techniques & Discussion

In the 38th session of Chandoo.org podcast, Let’s optimize data to ink ratio of your charts.

What is in this session?

In this podcast,

  • Announcements
  • What is Data to Ink Ratio?
  • Obvious ways to optimize Data to Ink Ratio
  • More ways to optimize Data to Ink ratio
  • Highlighting what is important
  • Conclusions
Continue »