+ Reply to Thread
Results 1 to 3 of 3

Thread: Formula involving a date

  1. #1
    Registered User
    Join Date
    08-26-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    23

    Formula involving a date

    Hi there,

    I have the following formula

    ="vs "&AF1&" "&( AF3)

    Where AF1 is a name and AF3 is a date. At the moment it is returning the date as a 5-digit number (e.g.40054) rather than in the format dd/mm/yyyy which is what AF3 is formatted to.

    Any suggestions?

  2. #2
    Forum Moderator daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2007
    Posts
    10,057

    Re: Formula involving a date

    You need to use the TEXT function and specifiy the date format you require, i.e. something like this:

    ="vs "&AF1&" "&TEXT(AF3,"dd/mm/yyyy")

  3. #3
    Registered User
    Join Date
    08-26-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: Formula involving a date

    Problem solved.

    Thanks very much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0