+ Reply to Thread
Results 1 to 6 of 6

Change format - keep date but use text for blank values

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

    Change format - keep date but use text for blank values

    Hello all

    How can I keep a date format in a column which is: 01/01/2022 but have text displayed such as: "No date provided" instead of currently having: 00/01/1900 being returned as a default

    thanks!
    Thanks,

    R.



  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,002

    Re: Change format - keep date but use text for blank values

    Assuming that it was generated by a formula:

    =IFERROR(1/(1/FORMULA_IN_CELL),"No date")
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

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

    Re: Change format - keep date but use text for blank values

    Hi Glenn,

    Sorry a bit more complex than I thought having tried to integrate your solution. Please see see formula in the cell:

    =IF(I212="England",VLOOKUP(F212&"England",'https://sharepoint.com/sites/Access/Documents/General/Client sign offs/[1 - Client List.xlsx]Clients'!$H:$J,3,FALSE),VLOOKUP(F212&"Britain",'https://sharepoint.com/sites/Access/Documents/General/Client sign offs/[1 - Client List.xlsx]Clients'!$H:$J,3,FALSE))


    please advise. thank you!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,686

    Re: Change format - keep date but use text for blank values

    Try this:

    =IFERROR(1/(1/IF(I212="England",VLOOKUP(F212&"England",'https://sharepoint.com/sites/Access/Documents/General/Client sign offs/[1 - Client List.xlsx]Clients'!$H:$J,3,FALSE),VLOOKUP(F212&"Britain",'https://sharepoint.com/sites/Access/Documents/General/Client sign offs/[1 - Client List.xlsx]Clients'!$H:$J,3,FALSE))),"No date provided")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

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

    Re: Change format - keep date but use text for blank values

    thank you guys

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,686

    Re: Change format - keep date but use text for blank values

    Glad to have helped.

    Don't forget that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ 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. Change date text into correct date format
    By Ad Cl in forum Excel General
    Replies: 3
    Last Post: 02-25-2020, 08:18 AM
  2. Change text format to Date format VBA
    By bambino86 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-27-2017, 01:10 PM
  3. [SOLVED] text box change event - format listbox date values
    By nigelog in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-02-2017, 12:31 PM
  4. [SOLVED] How to change text date (eg. July) to actual date format?
    By kellyfirth in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-10-2015, 09:49 AM
  5. Excel:How change the textbox format from text to date format?
    By inpetto in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-10-2013, 08:23 AM
  6. Change Date Format to Text Format
    By lglover39 in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 12-20-2007, 05:53 PM
  7. change date format into text format.
    By adsxvii in forum Excel General
    Replies: 1
    Last Post: 03-22-2007, 02:07 AM

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