# Archive for November, 2013

Published on Nov 27, 2013 in Off-topic, personal

It is thanksgiving week in USA, which means our friends & readers in America are enjoying a fun long weekend with family & friends.

Happy thanksgiving day to you and your family.

Since most of our readers will be enjoying the holiday, I want to save Excel awesomeness for next week. Meanwhile, lets have our very first Ask me anything [AMA].

### Ask me anything.. what is it?

It is very simple. In the comments section, you can ask me anything. I will reply to you.

Anything from Excel to my life, SUMPRODUCT to C23.. you get the drift.

Continue »

## Formula Forensics-No. 036: Calculating Costs that Vary by Year and Age

Published on Nov 26, 2013 in Excel Howtos, Formula Forensics, Posts by Sajan

In this episode of Formula Forensics, lets talk about how to build a model where costs vary per year and age. In this example, we are talking about a plantation project. The costs & yields of plants vary by the year they are planted in and the age of plants. In this case, how do we calculate the total costs or returns with formulas?

Continue »

## Find last day of any month with this simple trick [formulas]

Published on Nov 21, 2013 in Excel Howtos

Here is a handy trick to calculate last day of any month.

Assuming y and m contain the year & month for which you want to find the last day’s date, write

=DATE(y, m+1,0)

That is right, you can use ZERO (0) as the day.

When you do this, Excel tells us the last day of previous month.

Continue »

## Secret Agent KV’s Chops…what’s in HIS Personal Macro Workbook?

Published on Nov 19, 2013 in Posts by KV, VBA Macros

Yesterday, I talked about how you don’t have to know how to code in order to highly leverage VBA. All you need to know is how to Google, Cut, and Paste. As discussed then, I ‘volunteered’ KV under pain of exposure to empty the contents of his secret satchel onto the virtual table, so that […]

Continue »

## What would James Bond have in his Personal Macro Workbook?

Published on Nov 18, 2013 in Posts by Jeff, VBA Macros

You know, I‘m constantly amazed at the depth of knowledge and wisdom that comes up in the comments of this site. For instance, the other day, undercover Excel secret agent KV came up a great list of interview questions in response to Chandoo’s great article What are best Excel interview questions?

I particularly liked this one:
Do you have a Personal Macro Workbook setup ? If yes, what are the most common macros you use in your daily work?

Secret Agent KV obviously has some purpose-built gadgets that he employs to kill inefficiencies. And he obviously also knows the two top-secret reasons to keep code in a Personal Macro Workbook:

1. To keep it safe from international spy rings.
2. So you can whip it out whenever you are cornered by any evil-looking spreadsheet.

While that first point is important, that second is the clincher: code stored in a personal workbook can be unleashed with a simple judo-chop to the throat.

Today, lets understand how to setup your personal macro workbook and open a secret passage-way to Excel awesomeness.

Continue »

## Thank you Sachin [a small tribute]

Lets talk about people who inspire us. People who show us that anything is possible. People who prove that commitment, hard work and perseverance are true ingredients of a genius.

I am talking about Sachin Tendulkar. Those of you who never heard his name, he is the most prolific cricketer in the world. He is the leading scorer in both tests (15,921 runs) and one day matches (18,426 runs). Read more about him here.

Tendulkar has been an inspiration for me (and millions of others around the world) since I was a kid. The amount of dedication & excellence he has shown constantly motivates me. It is a pity that the great man is retiring from test cricket. He is playing his last test match (200th, most by any person) as I am writing this.

So as a small tribute, I have decided do something for him. Of course, I have never been a cricketer in my life. Once in college I was reluctantly asked to be a stand-by player in a game with seniors. I did not get a chance to pad up though. That is the closest I have been to a cricketer. So I did what I do best. Create an Excel workbook celebrating Sachin’s test career.

## Thank you Sachin – his test career in a dashboard

Here is a dashboard I made visualizing his test cricket statistics. It is dynamic, fun & awesome (just like Sachin).

(click on the image to enlarge)

Continue »

## Show pop-up calendar upon right click [Excel VBA]

Published on Nov 13, 2013 in VBA Macros

There are times when we are entering dates into several columns and would like to select a date from a popup calendar instead of manually typing.

Today, lets understand how we can set up a pop-up calendar in Excel so that your users can easily input dates by right clicking on a cell and inserting a date.

Continue »

## Replace formulas with values using this shortcut [quick tip]

Published on Nov 11, 2013 in Excel Howtos

Often in my work, I need to replace a bunch of formulas with values. Blame it on old habits, but this is what I used to do:

1. Copy the cells with formulas (CTRL+C)
2. Press ALT+ESV and then enter.

While this is ok, it does take quite a bit of time and key strokes.

Here is a shorter way I recently learned…

Continue »

## Closing gaps in this Gender Equality Gap chart…

Published on Nov 5, 2013 in Charts and Graphs

Today lets close some gaps.

Recently I saw this interesting chart on Economist Daily Charts page. This chart is based on World Economic Forum’s survey on how women compare to men in terms of various development parameters. First take a look at the chart prepared by Economist team.

### So what are the gaps in this chart?

This chart fails to communicate because,

• All country charts look same, thus making it difficult to spot any deviations.
• We cannot quickly compare one country with another on any particular indicator.
• It does not provide a better context (for eg. how did these countries perform last year?)

But criticizing someone’s work is not awesome. Fixing it and making an even better chart, that has awesome written all over it. So that is what we are going to do. You can see the improved chart above. Click on it to learn how you can create it.

Continue »

## What areas of Excel scare you most? [survey]

Published on Nov 1, 2013 in Learn Excel

Yesterday was Halloween. To our readers who are not familiar with it, ‘Halloween is a colorful festival with lots of costumes, scary stories, theme parties and trick-or-treating, celebrated on 31st October, every year.” I have never celebrated Halloween as it is an unknown tradition in India where I live. But that is no excuse. Especially when the celebration calls for colorful clothes, scary themed houses and shrieking kids.

Of course, we are not going to have a traditional Halloween. Because,

• At our house, we use pumpkins to make sambar, not lights
• The only ones with costumes in our house are my kids.
• If I send my kids for trick or treat, they will get neither.

So that brings us to the only part of Halloween that I can celebrate. Telling scary stories.

So lets talk about the stuff that scares us. But bear in mind that I am not interested in that time when you & your cousin went camping and stumbled in to an abandoned log cabin to discover the …Save it for real Halloween.

We want to talk stuff that scares you in Excel of course.

Continue »