Category Archives: Productivity · Page 8

Reshaping your data easily – Case study [Pivot tables FTW]

Late. Jayaram, my uncle is also a teacher. When I was a kid, I used to spend a lot of time with him, learning all sorts of things. He taught me chess, maths and so many life lessons. I remember one such lesson very vividly. One day, he asked me to do something. I did it in a very long way. After seeing me struggle for several minutes, he chipped in and showed me how to do it easily. He then said, “when someone asks you where your nose is, you don’t twist arm around your head. You just point to your nose directly.” The idea is that when you have a direct, simple way to do something, you should use it. Nose and pivot tables… how are they connected? We are coming to the point. Read on for full case study and solution. Continue reading →

Continue Reading ›

Posted in Productivity

Figuring out Employee Churn with Power Query [HR Analytics]

Let’s say you are the people manager at ACME Inc. You are looking staff list for the months – January and February 2017. You see that we had 4,000 employees in Jan and 4,200 employees in Feb. So what is the churn? Is it just 200? Or is it the sum of people who left and who joined? What if you want to find out how many people moved to new designations / departments or groups? You see, churn is tricky to figure out. So why not invite the pros? ie Power Query. Continue reading →

Continue Reading ›

Posted in Productivity

Kill NULLs – a Simple macro to save time when importing data from SQL Server

As part of a my ongoing consulting gig, I often run painfully long queries on SQL Server to fetch data. This data obviously ends up in Excel for further analysis. Now, some of these queries return NULL values in several columns (did I tell you that the queries have a gazillion left joins on them, oh yeah, […] Continue reading →

Continue Reading ›

Posted in Productivity

Use CTRL to make copies of worksheets quickly

The other day, I found myself making copies of a templated report worksheet. After trying the usual route of “right click on source sheet, select move or copy, check create a copy and press OK” a few times, I thought “well that is asinine.” So I figured, may be CTRL+Drag will create a copy. And what do you know, it does . So that is our quick tip for the day. Whenever you need to make a copy of something, simply hold CTRL key and drag the thing. It works for charts, drawing shapes, worksheets and even ranges . Continue reading →

Continue Reading ›

Posted in Productivity

Find them and Extract them – VBA Macro

I started a new consulting gig with NZ Ministry of Business (aside: when I told my daughter about this, she widened her eyes and said ministry of MAGIC!!! ) . On my first day, while having lunch in breakout area, I chatted with the gentleman sitting opposite me. We got talking about this and that and eventually the topic turned to What I do at MB. So I told him that I am helping the HR with some data analysis and reporting using Excel & SQL Server. He asks me, “So you must be familiar with Excel object model”. I said, “oh, why yes”. He then asks me, “I have this problem that is bothering me for years. You see, I get a lot of data. And I use Find (Ctrl+F) to find all the cells that contain certain code. But the results are all over the place. I want to know how to extract all the finds to a target worksheet – value & address format .” I explained him how to do this while chewing mouthfuls of rice & veggies. But once I am home, I thought, “hey, maybe there are others out in the world who want to do this”. So here we go. Continue reading →

Continue Reading ›

Posted in Productivity

Find them and Extract them – VBA Macro

I started a new consulting gig with NZ Ministry of Business (aside: when I told my daughter about this, she widened her eyes and said ministry of MAGIC!!! ) . On my first day, while having lunch in breakout area, I chatted with the gentleman sitting opposite me. We got talking about this and that and eventually the topic turned to What I do at MB. So I told him that I am helping the HR with some data analysis and reporting using Excel & SQL Server. He asks me, “So you must be familiar with Excel object model”. I said, “oh, why yes”. He then asks me, “I have this problem that is bothering me for years. You see, I get a lot of data. And I use Find (Ctrl+F) to find all the cells that contain certain code. But the results are all over the place. I want to know how to extract all the finds to a target worksheet – value & address format .” I explained him how to do this while chewing mouthfuls of rice & veggies. But once I am home, I thought, “hey, maybe there are others out in the world who want to do this”. So here we go. Continue reading →

Continue Reading ›

Posted in Productivity

Designing awesome financial metrics dashboard [tutorial]

In this amazing guest post, the winner of our 2016 dashboard contest – Chandeep – Explains how he constructed the jaw dropping beauty (shown above) using Excel, creativity, love and sweat. Grab a full cup of coffee (or whatever liquid fancies you) and read on. Take lots of notes and play with the ideas in Excel while reading to maximize your learning. Thanks Chandeep. Continue reading →

Continue Reading ›

Posted in Productivity

Road Trip Planner Template [Excel Downloads]

We recently went on a road trip around parts of New Zealand’s north island. We have been to Taupo, Rotorua, East Cape and Napier. It took us 2 weeks, we drove more than 2,000 km and spent almost NZ $3,000 on the trip. Of course, being a data nerd, I made a plan of the trip in Excel and that helped us budget for this. After getting back to home, I thought it would be fun to polish the planner workbook and share it with you all so you too can plan a fabulous road trip. So here we go. Continue reading →

Continue Reading ›

Posted in Productivity

Get rid of that ugly formatting with two simple tricks

We are on a tiki tour around NZ. So far we have been to Taupo & Rotorua. And we are doing what you do when you are on a holiday – being lazy, going on walks, swimming in lakes, eating copious amounts of food and getting lost. Of course, all this means, I have very little time to access to internet & my blog. So the updates will be slow for next two weeks. Here is a quick tip (well, two of them) to keep you busy and awesome. How to remove ugly formatting from your workbooks? Do you have a colleague or boss (shudder) that loves to apply their special touches to every workbook their mouse lands on? Do you constantly wince and whine when you have to work on that spreadsheet. Here are two handy ways to restore your data to its original glory. Clear formats: Simple, select the data you want formatting gone from, go to Home > Clear > Formats. And Excel will weave an expelliformat spell at your data and make it clean. Here is a quick demo. Continue reading →

Continue Reading ›

Posted in Productivity

Check for two out of three conditions (Homework)

Time for some logic check. Suppose, you have three logic values in A1:C1 (TRUE or FALSE values in each cell) You need to find out if ONLY two of these values are TRUE. How would you write the formula? Got an answer? Awesome. Just post your formula in the comments. Let’s see how much variety we can get from all of our readers. Continue reading →

Continue Reading ›

Posted in Productivity

Untrimmable Spaces – Excel Formula

Let’s talk about the untrimmable spaces. We all know that TRIM() removes extra spaces from the beginning, ending and middle of a text. So for example, if A1 has ” something and one more ” TRIM(A1) will give “something and one more” We can use CLEAN() function to remove non-printable characters (like the ASCII codes 0 to 31). Of course, SPACE is technically a printable character, so CLEAN() won’t remove spaces. The untrimmable spaces…? The other day Sreekanth emailed me a sample of data and asked, “how do I remove the spaces in this list and convert them to numbers?” Naturally I tried to TRIM(). But the data won’t budge. See above. Hmm, let’s investigate why. Continue reading →

Continue Reading ›

Posted in Productivity

Home | Contact Us | About Us | Privacy Policy | Terms Of Use

Copyright © 2026 Management Affair. All rights reserved.