+ Reply to Thread
Results 1 to 14 of 14

Time sheet date question

Hybrid View

  1. #1
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Try the following...

    B3, copied down to B9:

    =IF(MONTH($B$1-(CELL("row",$B$9)-ROW()))=MONTH($B$1),$B$1-(CELL("row",$B$9)-ROW()),"")

    B15, copied down to B21:

    =$B$1+(ROW()-ROW($B$15)+1)

    Hope this helps!

    Quote Originally Posted by chapm4
    That works great, thanks! The first Monday-Sunday (Cells B4-B10) are correct. Names of the days of the week are in column A, but I changed your formula to B. The problem is that the sheet then skips down to B15 to start the next 7 days. The formula then assumes that the first day is 2/11/2005 when it should be 2/7/2005.

    I know this is screwey and would be very easy to rewrite the sheet, but it is one the whole school district uses and I can't redo it.
    Last edited by Domenic; 02-24-2005 at 04:23 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1