ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Changing dates automatically with the computer date (https://www.excelbanter.com/excel-discussion-misc-queries/251128-changing-dates-automatically-computer-date.html)

Sherees

Changing dates automatically with the computer date
 
I want to set the program, so as all the payslips sheets, excluding some
sheets (nearly 30sheets) will automatically update payment date in payslip
with the computer date whenever i open that excel file.

I also have two more date columns apart from payslip date, that is paymnet
period i usually enter (say, 01/12/2009 to 31/12/2009) against payment
period, when i openmy file the programme should identify the system date and
change these dates too,

illustration
If I open my XL salary file today, my payslip payment date should
automatically show todays date and at the same time the payment period date
must show 01/12/2009 to 31/12/2009.
--
Life isa journey not a destination

T. Valko

Changing dates automatically with the computer date
 
This will return the date based on the computer date:

=TODAY()

That will change every day!

You'll have to provide more detail on the pay period question.

--
Biff
Microsoft Excel MVP


"Sherees" wrote in message
...
I want to set the program, so as all the payslips sheets, excluding some
sheets (nearly 30sheets) will automatically update payment date in payslip
with the computer date whenever i open that excel file.

I also have two more date columns apart from payslip date, that is paymnet
period i usually enter (say, 01/12/2009 to 31/12/2009) against payment
period, when i openmy file the programme should identify the system date
and
change these dates too,

illustration
If I open my XL salary file today, my payslip payment date should
automatically show todays date and at the same time the payment period
date
must show 01/12/2009 to 31/12/2009.
--
Life isa journey not a destination




Fred Smith[_4_]

Changing dates automatically with the computer date
 
If you want something like the 1st day of the current month, and the last
day of the current month, use:
=date(year(today()),month(today()),1)
=date(year(today()),month(today())+1,0)

Regards,
Fred

"Sherees" wrote in message
...
I want to set the program, so as all the payslips sheets, excluding some
sheets (nearly 30sheets) will automatically update payment date in payslip
with the computer date whenever i open that excel file.

I also have two more date columns apart from payslip date, that is paymnet
period i usually enter (say, 01/12/2009 to 31/12/2009) against payment
period, when i openmy file the programme should identify the system date
and
change these dates too,

illustration
If I open my XL salary file today, my payslip payment date should
automatically show todays date and at the same time the payment period
date
must show 01/12/2009 to 31/12/2009.
--
Life isa journey not a destination




All times are GMT +1. The time now is 03:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com