# All articles with 'homework' Tag

Okay, this is an extension of the Neither “A” Nor “B” sum problem we discussed few days back.

Imagine you have a table named * mydata* with a few columns and a stop list named

*as shown above.*

**stop.list**How would you calculate,

- Sum of Hours for all activities excluding those in stop list?
- Sum of all
*Regular*hours for activities not in stop list?

So go ahead and post your answers in the comments.

Continue »Today is Friday the 13th. If you are a raging friggatriskaidekaphobiac, I suggest you to stop reading this post. For the rest of you, I have something fun.

Given a year in cell C3, let’s find out all the months with *Friday the 13th*. Something like above.

**88**Comments }

## Extract the 10 digit number [formula homework]

*in*Excel Challenges

Okay, time for another challenge.

Imagine you have some data like this. Each cell contains 3 numbers separated by line break – CHAR(10) and you need to extract the number that is 10 digits long.

Go ahead and solve this riddle.

Continue »**128**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 »**129**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)**

**140**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?