# All articles with 'homework' Tag

**107**Comments }

## Sumerian Voter Problem [IF formula homework]

*in*Excel Challenges

Here is a simple IF formula challenge for you. Go ahead and post your answers in the comments section. Can this person vote in Sumeria? Imagine you are the chief election officer in the great country of Sumeria. You have introduced a new eligibility criteria for voters just before the grand presidential elections of 2016. In order […]

Continue »**2**Comments }

## CP053: Excel Data Validation for Dummies

*in*Chandoo.org Podcast Sessions

Podcast: Play in new window | Download

Subscribe: iTunes | Android | RSS

In the 53rd session of Chandoo.org podcast, let’s talk about data validation.

**What is in this session?**

In this podcast,

- What is data validation
- How Excel DV compares with database & software DV?
- Types of data validation rules
- List & custom rules explained
- Input & error messages
- Alternatives to data validation
- Enhancing data validation
- Removing data validation rules
- Homework problem for you
- Resources & show notes

Here is an interesting problem to keep you busy.

Transpose the address data in column A into the format indicated in C:G using either VBA, formulas or Power Query. Once done, post your answers in comments section.

Continue »**128**Comments }

## How many Mondays between two dates? [homework]

*in*Excel Challenges

Here is a quick but challenging homework problem for you.

Let’s say you have two dates – *Start *and *End*.

And you want to find out how many Mondays are there between those two dates (including the start & end dates).

**What formula would give the answer?**

Please post your formulas / VBA functions / DAX measures in the comments section.

Continue »Here is a quick homework to keep you busy this weekend.

**Can you extract number of days from below text.**

`Nov15 PUTS (23 days)`

March15 TIKS (3 days)

March1 TIKS (25 days)

June11 TIKS (10 days)

*Assume the data is from cell A1.*

Your solution should return the following:

`23`

3

25

10

**Post your answers (formulas, VBA code or Power Query M code) in the comments**.

Whenever we talk about product ratings & customer satisfaction, 5 star ratings come to our mind. Today, let’s learn **how to create a simple & elegant 5 star in-cell chart in Excel.** **Something like above.**

Read on to learn how to create the above chart.

Continue »**VLOOKUP** is one of the most useful Excel functions. So much so that I even wrote a book about it. But it has one serious limitation.

It looks up the first occurrence and returns corresponding data.

*What if you want to find the last value?*

Say, for example, you are looking at a task assignment list and want to know what is the last task assigned to employee Emp13?

We want to extract the task “Make amazing workbook”. Of course our good old VLOOKUP stops once it finds Emp13 and returns the answer as “Create intuitive workbook”.

Continue »Analyzing top *n* (or bottom *m*) items is an important part of any data analysis exercise. In this article, we are going to learn Excel formulas to help you with that.

Let’s say you are the lead analyst at a large retail chain in Ohio, USA. You are looking at the latest sales data for all the 300 stores. You want to calculate the total sales of top 10 stores. Read on to learn the techniques.

Continue »**7**Comments }

## Calculating Billy’s total working hours [solution & discussion]

*in*Excel Challenges

Few days ago, I asked you “How many hours did Billy work?” There were more than 100 responses with lots of innovative solutions.

So today, let’s examine various ways to calculate total working hours given start & end times of tasks. Please watch below video.

**Calculating Bill’s total working hours (video)**

**139**Comments }

## How many hours did Billy work? [Solve this]

*in*Excel Challenges

Here is a simple but tricky problem. Imagine you are the HR manager of a teeny-tiny manufacturing company. As your company is small, you just have one employee in the shop floor. He is Mr. Billy. As this is a one person production facility, Billy has the flexibility to choose his working hours. At the […]

Continue »**69**Comments }

## Check if 2 ranges have same values (set equality problem)

*in*Excel Challenges

Hello folks,

Time for another homework problem. **Assuming you have 2 ranges of values like below, how do you check if both of them have same set of values?**

**22**Comments }

## What is the length of longest winning streak? [Excel homework]

*in*Excel Challenges

Here is a fun problem to think about.

Let’s say you are looking at some data like above.

And you want to find out ** what is the longest streak of wins in the list**.

How do you calculate it?

**bonus question: **What formula calculates when the longest streak began?

**85**Comments }

## Can you calculate the sales commission? [homework]

*in*Excel Challenges

Imagine you run a cute little pastry in Rome (Italy). To boost the sales you have a 2 person sales team. Caterina & Antonio. Caterina is the manager & Antonio, her assistant. Apart from basic salary, they will also receive sales commission. This comes from a portion of net profit allocated to “incentive pool”. The […]

Continue »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?**

Last week, we had an interesting homework problem – **What is the average speed of this road trip? **

We received more than 150 answers. But to my surprise, 57 of them are wrong. So today, lets learn how to calculate the average speed *correct way.*