+ Reply to Thread
Results 1 to 5 of 5

what formula auto inputs a date week from now?

  1. #1
    Registered User
    Join Date
    03-31-2014
    Location
    Syracuse
    MS-Off Ver
    Excel 2010
    Posts
    31

    what formula auto inputs a date week from now?

    I have dates in column A and I want column B to show the date 7 days from now... Which formula would i use?

    For example: column a is 7/14/2015... column B should auto generate 7/21/2015

    thank you.

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: what formula auto inputs a date week from now?

    If A1 is a date, then B1 could be

    =if(isnumber(A1),A1+7,"")

    Or use VBA with a worksheet change event.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: what formula auto inputs a date week from now?

    What you need to understand about dates and times in excel is...

    a date is just a number representing the number of days passed since 1/1/900...and then formated in a way that we recognise as a date. So, for instance, today (Tue Jul 2015) is actually 42199

    Time is actually a decimal part of 1 (day), so 06:00 AM is 0.25, 12 noon is 0.5 and 18:00 (or 6 PM) is 0.75

    Once you understand that, it is easier to see that =yourdate+7 will give you a date that is 7 days from yourdate. You may need to format it ad date
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    03-31-2014
    Location
    Syracuse
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: what formula auto inputs a date week from now?

    this formula worked in the past =TEXT(IF(WORKDAY(Q2,5)<=R2,WORKDAY(Q2,5),R2),"mm/dd/yyyy")

    but now but it seems that the way the data out puts from our system is in this format...

    2015-12-01, so is there a formula I can create that will read that date.

    I tried this =TEXT(IF(WORKDAY(J3,5)<=K3,WORKDAY(J3,5),K3),"yyyy-mm-dd") but that didn't work....

    There are to many records, so I cannot go to each record and change the date format from 2015-12-01 to 12/01/2015, unless there is a easy way in excel

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: what formula auto inputs a date week from now?

    Try using Text2Columns...
    highlight the range
    data/T2C/next/next/check DATE and select your format/OK

    Why are you converting you answer to text though? You wont (easily) be able to use that in any other calcs. If you just run the calc and format/date as needed, it should give you what you want

+ 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. [SOLVED] Need help auto-updating a formula for week over week change
    By yanger87 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-14-2015, 12:45 PM
  2. 1 week work schedule = auto change date with button click
    By justspiffy in forum Excel General
    Replies: 10
    Last Post: 03-30-2015, 12:27 PM
  3. Replies: 13
    Last Post: 10-10-2014, 06:50 AM
  4. Date Formula Help to auto populate next day of the week's date
    By symaxf in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-13-2010, 08:04 AM
  5. Auto fill of date (day of week)
    By PEJ in forum Excel General
    Replies: 3
    Last Post: 08-06-2007, 04:25 PM
  6. [SOLVED] auto working week-ending date for timesheet
    By Dm76 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-27-2006, 05:25 PM
  7. Replies: 1
    Last Post: 02-15-2005, 12:06 AM

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