Rupert Bennett
Active Member
- Joined
- Nov 20, 2002
- Messages
- 276
Please help me with a formula, or VBA if necessary, to lookup a name in column"D" of a summary sheet, find that name in column "C" of a table on another page called "BenefitsUsed" and sum any data for that name in Column "E" of this sheet, if the date entered in column "D" of this sheet is for the current year. A name may be entered more than once on this sheet and the date entered in column "D" may be any year in the past.
A copy of a worksheet that is representative of the data on the BenefitsUsed sheet is attached. Thanks for the help you always give.
Rupert
A copy of a worksheet that is representative of the data on the BenefitsUsed sheet is attached. Thanks for the help you always give.
Rupert
Vacation Schedule2.xls | ||||||
---|---|---|---|---|---|---|
C | D | E | F | |||
7 | Names | Dates | VacationHrs | PersonalHrs | ||
8 | Doe,john | 1/15/2005 | 24 | 8 | ||
9 | Mouse,Mickey | 1/18/2005 | 40 | 8 | ||
10 | Poppins,Mary | 1/8/2005 | 32 | 8 | ||
11 | White,Snow | 7/15/2004 | 40 | 8 | ||
12 | Doe,john | 8/2/2004 | 16 | 8 | ||
13 | Mouse,Mickey | 3/16/2004 | 24 | 8 | ||
14 | Poppins,Mary | 11/15/2004 | 32 | 8 | ||
15 | White,Snow | 1/12/2005 | 40 | 8 | ||
16 | Doe,john | 7/25/2003 | 40 | 8 | ||
17 | Doe,john | 1/8/2005 | 16 | 8 | ||
18 | Mouse,Mickey | 11/20/2003 | 24 | 8 | ||
19 | Poppins,Mary | 10/24/2003 | 40 | 8 | ||
20 | White,Snow | 10/23/2003 | 40 | 8 | ||
21 | White,Snow | 1/3/2005 | 40 | 8 | ||
22 | Poppins,Mary | 1/22/2005 | 16 | 8 | ||
23 | Mouse,Mickey | 1/12/2005 | 40 | 8 | ||
BenefitsUsed |