#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Last Entry

Hi All,

I'm kinda stuck. Basically I have a growing spreadsheet (4500 lines at the
moment) which log the daily irregular attendance of over 400 staffs. I
have two sheets, one to record the daily irregularities and the other to
keep a tally of each staff for a period of 12 months from the last entry.
The first sheet contains the date of entry(column A), name of the staff(B),
a code for the infraction(C), and a brief description(D).
The second sheet contains the names of each staff (A), date of last entry
(B), followed by the count of number of infractions listed under different
codes (about 5) but goes as far back as only one year from the date of last
entry.
I could use the sumproduct function to get a count for each code but I am
stuck on obtaining the date of last entry for each staff. Could someone
point me in the right direction please?
Thank You

SLO
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Last Entry

This problem occurs because you have entered your data at the bottom of the
table. The most recent data is the last data.

First invert the table. As you add new records, just insert a blank row at
the top and put the data there. A simple VLOOKUP() will always find the most
recent item.
--
Gary''s Student - gsnu200729


"Stan Lo" wrote:

Hi All,

I'm kinda stuck. Basically I have a growing spreadsheet (4500 lines at the
moment) which log the daily irregular attendance of over 400 staffs. I
have two sheets, one to record the daily irregularities and the other to
keep a tally of each staff for a period of 12 months from the last entry.
The first sheet contains the date of entry(column A), name of the staff(B),
a code for the infraction(C), and a brief description(D).
The second sheet contains the names of each staff (A), date of last entry
(B), followed by the count of number of infractions listed under different
codes (about 5) but goes as far back as only one year from the date of last
entry.
I could use the sumproduct function to get a count for each code but I am
stuck on obtaining the date of last entry for each staff. Could someone
point me in the right direction please?
Thank You

SLO

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Last Entry

?B?R2FyeScncyBTdHVkZW50?=
wrote in
:

This problem occurs because you have entered your data at the bottom
of the table. The most recent data is the last data.

First invert the table. As you add new records, just insert a blank
row at the top and put the data there. A simple VLOOKUP() will always
find the most recent item.


Thank you, just what the doctor ordered!

Stan Lo
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2002 date entry: Cannot get away from d-m-yy entry format Steve Eklund Excel Discussion (Misc queries) 3 May 11th 09 04:57 PM
Control Data Entry - push entry to next cell Ofelia Excel Discussion (Misc queries) 0 July 7th 08 04:19 PM
Auto entry of data based on entry of text in another column or fie Judy Rose Excel Discussion (Misc queries) 2 May 21st 08 01:14 PM
Cell Entry That Locks Selected Cells From Any Data Entry. ron Excel Worksheet Functions 5 February 16th 07 09:52 PM
More help with setting print area to last entry in columns A thru AA and last entry in row 7 KimberlyC Excel Programming 4 July 5th 05 11:01 PM


All times are GMT +1. The time now is 02:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"