Look up between dates

shellhutchings

New Member
Joined
May 4, 2023
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hi, I have a spreadsheet that on row one, holds an employee name (a), hours worked such as 40 per week (b) and the dates employee worked 40hrs ie 27/06/20 - 01/09/20 (c & d). However the name is repeated several times due to the different hours so row 2 could be 25 hrs per week for 02/09/20 - 15/12/21 and so on. My second spreadsheet holds columns a and b as with the first spreadsheet but on this, column c is a specific date such as 03/09/21. Is there a way to pull through the specific hrs that the date applies to? I know a vlook up will only pull the first line but in this instance, I'd need the row 2 25 hrs to pull through.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi, I have a spreadsheet that on row one, holds an employee name (a), hours worked such as 40 per week (b) and the dates employee worked 40hrs ie 27/06/20 - 01/09/20 (c & d). However the name is repeated several times due to the different hours so row 2 could be 25 hrs per week for 02/09/20 - 15/12/21 and so on. My second spreadsheet holds columns a and b as with the first spreadsheet but on this, column c is a specific date such as 03/09/21. Is there a way to pull through the specific hrs that the date applies to? I know a vlook up will only pull the first line but in this instance, I'd need the row 2 25 hrs to pull through.
Sorry i mean that the second sheet has column A name then a specific date.
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,975
Members
449,095
Latest member
Mr Hughes

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