+ Reply to Thread
Results 1 to 5 of 5

Today plus 30 days is showing numbers instead of a proper date

  1. #1
    Registered User
    Join Date
    07-19-2014
    Location
    London, England
    MS-Off Ver
    2007
    Posts
    2

    Today plus 30 days is showing numbers instead of a proper date

    Hi,

    I am trying to use the following
    Please Login or Register  to view this content.
    which displays something like 41869. In the cell F6 I have used =Today() which works as intended. I am simply trying to add 30 more days. I've tried searching for similar issues and tried a few things to solve it but no luck so far.

    Some of the things I did:
    Selecting the cell and formatting it, however it did not make any difference. I've also checked under settings > advanced > that formulas in cells is unchecked. Then I tried using the following
    Please Login or Register  to view this content.
    but that produced the same result.

    How can I display the date (30 days ahead) in the format dd-mm-yyyy.

    I am using Windows 7 with Office 2007.

    Thanks in advance,

  2. #2
    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,929

    Re: Today plus 30 days is showing numbers instead of a proper date

    Hi and welcome to the forum

    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 combining date/numbers and text, you need something like this...

    ="Some text goes here "&TEXT(F6+30,"mm/dd/yy")&"."

    You can change the sequence and the seperator of needed
    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

  3. #3
    Registered User
    Join Date
    07-19-2014
    Location
    London, England
    MS-Off Ver
    2007
    Posts
    2

    Re: Today plus 30 days is showing numbers instead of a proper date

    Quote Originally Posted by FDibbins View Post
    Hi and welcome to the forum

    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 combining date/numbers and text, you need something like this...

    ="Some text goes here "&TEXT(F6+30,"mm/dd/yy")&"."

    You can change the sequence and the seperator of needed
    Hi, thank you.

    It worked though I had to modify it a little bit, to: ="Some text goes here "&TEXT(F6+30; "mm/dd/yy")&"."
    Thanks for the fast reply and help

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Today plus 30 days is showing numbers instead of a proper date

    unusual for someone in the uk to use ; as a regional separator!
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  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,929

    Re: Today plus 30 days is showing numbers instead of a proper date

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to you)

+ 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: 4
    Last Post: 05-08-2014, 10:13 AM
  2. [SOLVED] Macros for: If Today's Date minus other date is greater than certain amount of days Then
    By lottidotti in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-24-2012, 04:46 PM
  3. create a macro to alert me if today's date is within 5 days of expected delivery date
    By ashmcclure in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 09-25-2008, 05:51 PM
  4. Launch excel showing today's date
    By Richard V in forum Excel General
    Replies: 3
    Last Post: 10-04-2005, 12:05 PM
  5. Adding a column of numbers which fall between today and 30 days ago
    By MEATBALL in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-01-2005, 05:20 PM

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