Identifying result base on date

becklog

New Member
Joined
Dec 26, 2016
Messages
38
Hi,

I have a data that needs to identify which team does an employee assigned to based on a date.

Example:

Employee A started with Team Red (01/01/2017).
On 02/02/2017, employee was transferred to Team Blue.
On 04/16/2017, employee was transferred to Team White.
On 06/12/2017, employee was transferred back to Team Red.
On 09/11/2017, employee was transferred to Team White.
On 10/24/2017, employee was transferred to Team Blue.

Let's say, the date on my file is 07/24/2017, the formula should give me Team Red as a result since the employee is part of Team Red from 06/12/2017 - 09/11/2017.

Need help. Thanks !
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,215,523
Messages
6,125,317
Members
449,218
Latest member
Excel Master

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top