Monday, 12 August 2019

How to get a custom date format in Excel


I need help in Excel to figure out how to get the following date format:



Mon, 9-Jan-2013




Answer



If you already have a date (but the wrong format)



  • format → cells → user defined: DDD, D-MMM-YYYY


If you want the current date in your desired format



  • enter this formula: =TEXT(NOW(),"DDD, D-MMM-YYYY")

  • you can replace NOW() with cell references like [A1] if this cell already have a valid date


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...