Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
HRMSN
 
Posts: n/a
Default Timesheet Date Calculation

In designing a time sheet, I need help with a function that will calculate
two weeks worth of dates after the person puts the first date of that pay
period into the timesheet. The catch is, I need the function to no put
nothing in each spot if that first date is not entered. Can anyone help? I
believe it will be an IF function but as of yet I have been unable to make it
work.
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=IF($A$1="","",A1+1)

in B1.

If you need to ignore weekends, use

=IF($A$1="","",A1+1+(WEEKDAY(A1)=6)*2)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"HRMSN" wrote in message
...
In designing a time sheet, I need help with a function that will calculate
two weeks worth of dates after the person puts the first date of that pay
period into the timesheet. The catch is, I need the function to no put
nothing in each spot if that first date is not entered. Can anyone help?

I
believe it will be an IF function but as of yet I have been unable to make

it
work.



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
How do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
search for latest date Sue Excel Worksheet Functions 2 August 2nd 05 11:09 PM
Due Date Calculation? Randy New Users to Excel 11 July 14th 05 07:44 PM
Date calculation USCBrad Excel Worksheet Functions 3 June 21st 05 04:03 PM
Date Calculation Mukund Excel Worksheet Functions 3 January 11th 05 11:29 AM


All times are GMT +1. The time now is 12:33 PM.

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"