+ Reply to Thread
Results 1 to 5 of 5

How to return date format in cell instead of general format?

  1. #1
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    How to return date format in cell instead of general format?

    Hello all,

    On my first tab, I am referencing a date in cell k2 from the 2nd tab (called actions.).

    Can someone tell me how to amend the formula to show the UK date format: 19/05/2021 instead of 44337 as it is showing at present?

    Thank you
    Attached Files Attached Files
    Thanks,

    R.



  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,366

    Re: How to return date format in cell instead of general format?

    Select Date format?
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: How to return date format in cell instead of general format?

    hI tms, I have to no avail sadly

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,811

    Re: How to return date format in cell instead of general format?

    I think we may need to understand in more detail what you need. Making the "date format" a part of the formula involves converting a number/date into a text/date using the TEXT() function https://support.microsoft.com/en-us/...8-93d29371225c However, converting a number to text usually creates more problems than it solves. I think there is value in explaining exactly why you need the formula to do the date formatting (which stores the number as text) and not use an appropriate number format (which keeps the number stored as a number and changes the display to the desired format).
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: How to return date format in cell instead of general format?

    TY MrShorty, article helps!

+ 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. Only General format allowed, not Date format
    By Goodstart14 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-08-2016, 02:39 PM
  2. Replies: 2
    Last Post: 06-02-2015, 08:42 AM
  3. [SOLVED] Require vba or formula for convert general format data in date format
    By santosh226001 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-10-2013, 03:53 AM
  4. Converting DATE format to GENERAL format?
    By timtim in forum Excel General
    Replies: 9
    Last Post: 08-19-2011, 02:38 AM
  5. Excel 2007 : Changing Cell Format from General -> Date
    By kfk5012 in forum Excel General
    Replies: 6
    Last Post: 09-29-2010, 04:28 PM
  6. Change general format to date format
    By mslynng in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-12-2009, 10:51 AM
  7. Replies: 1
    Last Post: 01-26-2006, 10: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