![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Posts: 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 |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Brampton
Posts: 324
|
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 |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|