Filling in column based on date compare criteria

mare0969

New Member
Joined
Apr 18, 2011
Messages
1
Hello,

I am an Excel 2003 user.

I need to populate a column in one sheet based on a date stamp record falling within start and end time stamps and an additional column value in a second sheet.

I have tried a VLOOKUP function, but I do not know if that is the correct method.

I need to:

1. Check the start time column of the sheet called records.
2. If that start time is greater than or equal to and less than or equal to the start time and end time columns of the team schedule sheet, then populate the team column in the records sheet with the corresponding team letter designation from the team schedule sheet.

The VLOOKUP simply looked at the same row of the team schedule sheet as the records sheet; I don't know if it can examine the sheet in it's entirety. Also, I'm unsure of how to copy the team designation to the team column if a match occurs.

Thank you for your time. I've spent a few hours looking up past threads here, but am not making much progress.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,224,542
Messages
6,179,424
Members
452,914
Latest member
echoix

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