+ Reply to Thread
Results 1 to 6 of 6

Need Date formula that Produces Date from Day of the Week

Hybrid View

  1. #1
    Registered User
    Join Date
    05-14-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    4

    Need Date formula that Produces Date from Day of the Week

    Good Morning,

    I am new here and am in desperate need of help with a formula. I work a two week DAY SHIFT schedule based on a rotation of days with the Sheriff's Dept. For example I start a new rotation on Monday. I work Monday, Tuesday, Friday, Saturday, Sunday and then Wednesday Thursday. I want to list the days of week and be able to populate the date for the day of the week based on a cell that has the beginning Monday's date. After the day shift 2 week rotation I then work the same days on a 2 week NIGHT SHIFT schedule. Any help is greatly appreciated.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Need Date formula that Produces Date from Day of the Week

    Assuming that your Monday start date is in A2, put this formula in A3 and copy down to A8

    =A2+INDEX({1,3,1,1,3,1},ROW(A1))

  3. #3
    Registered User
    Join Date
    05-14-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Need Date formula that Produces Date from Day of the Week

    this is what it looks like

    A-Platoon
    NIGHT SHIFT
    WEEK OF
    03/26/12

    MONDAY TUESDAY FRIDAY SATURDAY SUNDAY WEDNESDAY THURSDAY
    03/26/12

  4. #4
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Need Date formula that Produces Date from Day of the Week

    Change it to

    =A7+INDEX({1,3,1,1,3,1},COLUMN(A1))

  5. #5
    Valued Forum Contributor
    Join Date
    03-23-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1,093

    Re: Need Date formula that Produces Date from Day of the Week

    Hello there,

    Attached is a workbook I created. It allows you to select the schedule and will show that day and dates for your current schedule.

    Thanks!
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    05-14-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Need Date formula that Produces Date from Day of the Week

    what is wrong with the following?:

    =IF(C6=K2,(B4+1))


    C6=day of week I work
    K2= validation day of week
    B4= Monday's Date
    B4+1 should equal Tuesday's Date but all I get is #value!

+ 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