Vlookup problem

tomlarkin

New Member
Joined
Feb 28, 2002
Messages
2
I have 2 Excel spreadsheets, one has a list of procedures with effective dates, the other has a list of personnell trained in the procedures with the date trained

Sheet 1 : 3 columns, code, description, effective date

Sheet 2: Employee no, name, code, description, date trained.

I am trying to construct a third sheet, which will combine data from sheets 1 & 2, to give me table highlighting when someone has not been trained on a procedure after the effective date. I am using Vlookup but this will only work for the first person in the database.

Any Ideas
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
If you start with two sheets in the workbook you could get a third sheet added each time you close the workbook by writing a Workbook_Close event procedure in which you should have code to complete following:
- set up a new column in Sheet2 named Effective Date which is going to use Vlookup for the relevant values from Sheet1
- advanced filter in Sheet2 using as criterion: =E5>F5 (you have three empty rows above the Sheet2 column labels), placed in cell A2; use Copy to another location option, in the same sheet
- copy the filtered list in Sheet3 if you want to have the result placed on a different sheet
 
Upvote 0

Forum statistics

Threads
1,213,543
Messages
6,114,245
Members
448,555
Latest member
RobertJones1986

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