+ Reply to Thread
Results 1 to 3 of 3

Date Function Help

  1. #1
    Registered User
    Join Date
    01-19-2016
    Location
    canada
    MS-Off Ver
    2010
    Posts
    1

    Date Function Help

    Hello, I have a worksheet that has 7 tabs at the bottom; each one for the day of the week. I.E. Sunday, Monday, Tuesday, Wednesday. Each sheet is a maintenance log for my work that has a date at the top right. I need to have the date change to correspond with the day of the tab. Can someone help me make it so that after the day of the tab has passed it automatically inserts the new date in the worksheet for the following week.

    For example,

    On the Tuesday tab the day would show "Tuesday, January 18 2016" but tomorrow if I open the tab I want it to say "Tuesday, January 25 2016" since the previous day has already happened. I would like to be able to open the worksheet and click print and not have to worry about constantly changing the date of each tab every time to refresh the entire worksheet.


    Thanks for the help!!!!!!
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Date Function Help

    Not clear display in the cell or message box?
    Last edited by kvsrinivasamurthy; 01-19-2016 at 04:28 AM.

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Date Function Help

    Formula from Sunday to Saturday respectively.

    =TEXT(TODAY()-WEEKDAY(TODAY(),1)+IF(WEEKDAY(TODAY(),1)>1,8,1),"Dddd, Mmmm dd yyyy")
    =TEXT(TODAY()-WEEKDAY(TODAY(),1)+IF(WEEKDAY(TODAY(),1)>2,9,2),"Dddd, Mmmm dd yyyy")
    =TEXT(TODAY()-WEEKDAY(TODAY(),1)+IF(WEEKDAY(TODAY(),1)>3,10,3),"Dddd, Mmmm dd yyyy")
    =TEXT(TODAY()-WEEKDAY(TODAY(),1)+IF(WEEKDAY(TODAY(),1)>4,11,4),"Dddd, Mmmm dd yyyy")
    =TEXT(TODAY()-WEEKDAY(TODAY(),1)+IF(WEEKDAY(TODAY(),1)>5,12,5),"Dddd, Mmmm dd yyyy")
    =TEXT(TODAY()-WEEKDAY(TODAY(),1)+IF(WEEKDAY(TODAY(),1)>6,13,6),"Dddd, Mmmm dd yyyy")
    =TEXT(TODAY()-WEEKDAY(TODAY(),1)+IF(WEEKDAY(TODAY(),1)>7,14,7),"Dddd, Mmmm dd yyyy")

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 11-16-2015, 08:57 AM
  2. Replies: 4
    Last Post: 06-12-2014, 11:37 AM
  3. Replies: 2
    Last Post: 05-21-2014, 02:26 PM
  4. [SOLVED] Function/formula to compare and insert todays date or yesterdays date
    By TC922 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-17-2013, 05:28 AM
  5. Replies: 0
    Last Post: 05-30-2013, 07:50 PM
  6. Function to pull month-to-date, year-to-date for 2009
    By cacjr in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-14-2010, 07:57 PM
  7. Date Function formula that will return the date of a specific week
    By Greg in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-12-2006, 12:10 PM

Tags for this Thread

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