Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JD MPLS
 
Posts: n/a
Default Cells populate on specific dates

I am trying to set up a vacation / holiday tracking form. In my company, we
receive all government holidays, but we cannot use the time until the holiday
has occurred. How can I get the form to populate 8 hours on the specific
holiday dates.
For example, the next holiday is presidents day, Monday February 20. On that
day I want cell R6 to automatically insert 8 hours for the earned time off.

The cell locations are R2 - R13.

Thanks in advance for the help.
Joel D MPLS
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JNW
 
Posts: n/a
Default Cells populate on specific dates

I'll use President's day as an example. Let's say the date for president's
day is in R2 (it has to be in date format to work)

=IF(AND(TODAY()=R2,TODAY()<="12/31/2006"),8,0)

The logic is:
If today is at least 2/20/2006 (in this case) and no later than 12/31/2006
than 8 is placed in the cell, otherwise it is populated with 0.

If you want the formula without the end of the year restriction than use the
following:
=IF(TODAY()=R2,8,0)

Hope that helps

"JD MPLS" wrote:

I am trying to set up a vacation / holiday tracking form. In my company, we
receive all government holidays, but we cannot use the time until the holiday
has occurred. How can I get the form to populate 8 hours on the specific
holiday dates.
For example, the next holiday is presidents day, Monday February 20. On that
day I want cell R6 to automatically insert 8 hours for the earned time off.

The cell locations are R2 - R13.

Thanks in advance for the help.
Joel D MPLS

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
VBA code to populate 1000's of cells? [email protected] Excel Discussion (Misc queries) 14 March 31st 06 06:12 AM
How can I find and format specific cells automatically in Excel? Amy Excel Worksheet Functions 1 August 6th 05 03:00 PM
how to delete contents of cells having specific data steve Excel Discussion (Misc queries) 2 July 20th 05 10:42 PM
Count cells in a column that contain dates Cachod1 New Users to Excel 1 March 29th 05 08:56 PM
Locate and delete specific cells David Smith Excel Discussion (Misc queries) 1 January 19th 05 04:45 PM


All times are GMT +1. The time now is 01:05 AM.

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

About Us

"It's about Microsoft Excel"