+ Reply to Thread
Results 1 to 3 of 3

Convert numbers to date in text string

  1. #1
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Convert numbers to date in text string

    Hi Folks

    Ive put together a string of text which can change depending on the month selected for the dropdown.

    I would like it to display dates but cant converts the formula to show actual dates instead of numbers.

    I have attached a copy of my problem in a small workbook.

    Any help much appreciated.

    Brian
    Attached Files Attached Files
    Last edited by singerbatfink; 09-21-2010 at 06:23 AM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Convert numbers to date in text string

    Hello Brian,

    You can use the TEXT function for this. Enclose each of your VLOOKUPs in that function like this

    TEXT(VLOOKUP(Sheet2!$C$2,Sheet2!$C$3:$G$14,4,FALSE),"d mmmm yyyy")

    you can change the "d mmmm yyyy" to your preference for the date format
    Audere est facere

  3. #3
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Re: Convert numbers to date in text string

    Quote Originally Posted by daddylonglegs View Post
    Hello Brian,

    You can use the TEXT function for this. Enclose each of your VLOOKUPs in that function like this

    TEXT(VLOOKUP(Sheet2!$C$2,Sheet2!$C$3:$G$14,4,FALSE),"d mmmm yyyy")

    you can change the "d mmmm yyyy" to your preference for the date format
    Absolutely Perfect..

    Thanks very much..

    Brian

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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