Thread: Date Population
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jcamacho
 
Posts: n/a
Default Date Population

Cell A1 has your Pay Ending Date

In cell A3 create the formula: =A1-14
In cell B3 create the formula: =A1-13
In cell B4 create the formula: =A1-12
and so on

In cell A4 create the formula: =TEXT(A3,"ddd")
In cell B4 create the formula: =TEXT(B3,"ddd")
In cell C4 create the formula: =TEXT(C3,"ddd")
and so on







"achapman" wrote:

I looked through all the message threads before asking this question.
Hopefully, I didn't miss the answer if it has already been stated.

I have a timesheet. A1 is the "Pay Period Ending x/xx/xxx". I want it so
that when someone enters a date in A1, the date appears in the cells above
the cells labeled Sunday - Saturday. I have 3 weeks in the timesheet because
pay periods are by the date and not the day of the week. We want to make it
easy for the employees by having the date automatically populate by the pay
period date.

It should look like the following:

Pay Period Ending 5/20/06

5/7 5/8 5/9 5/10 5/11
Sun Mon Tue Wed Thur etc.

In other words, whatever the date, the calculation will start with the
Sunday at least 2 weeks prior...