Find data from a range and then the oldest date from a row when matched

-emma-

Board Regular
Joined
Jul 14, 2006
Messages
183
Office Version
  1. 365
Platform
  1. Windows
Hi,
I am attempting to streamline the parking rota at work, and oh my, is it complicated now with hybrid working in play, 200 staff and 7 parking spaces (yes, 7 spaces!)

What I need is a formula that will display the last time someone was allocated a space. Below is the set up:
Tab 1 = User list - names in Column B. I want Column L to display when the user last was allocated a space
Tab 2 = Car parking rota - space numbers in Column B, Dates of spaces in Row 2 and names in C3:L9 (this is 2 weeks worth of parking spaces).

The info in C3:L9 will be a Data Validation List of the User list. I "just" need a formula that looks for Person 1's name from Tab 1 Column B in Tab 2 cells C3:L9 and where it is a match , provide the latest date from Row 2.

I have attached copies of Taab 1 and 2. I really hope someone can help with this!

Thank you for your time :)
 

Attachments

  • Tab 1.JPG
    Tab 1.JPG
    98.3 KB · Views: 6
  • Tab 2.JPG
    Tab 2.JPG
    108.9 KB · Views: 6

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,217,370
Messages
6,136,154
Members
449,994
Latest member
Rocky Mountain High

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