+ Reply to Thread
Results 1 to 2 of 2

Formatting Columns for dates and/or text

  1. #1
    Registered User
    Join Date
    05-18-2016
    Location
    United States
    MS-Off Ver
    Excel 2016
    Posts
    8

    Formatting Columns for dates and/or text

    I have a column that I need to be formatted for either dates or text and I am not sure of the proper formatting.

    Example:


    A
    6/20/2016
    Partial
    6/21/2016
    6/18/2016
    6/6/2016
    NotDone
    8/7/2016
    NotApplicable
    7/7/2016

    Right now, it auto formats to 'General' but I need to paste this information into a MS Access table (data type in Access as 'Short Text') and with general formatting it only pastes the dates, not the text.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Formatting Columns for dates and/or text

    I don't think that formatting is going to help. What might be happening is on the Access side. It is seeing dates come in first and decides that's what you want. Are you getting some error records where the string data should go?

    Try this as an experiment in a helper column use =IF(ISNUMBER(A2),TEXT("mm/dd/yyyy"),A2) and copy this information in. What this formula does is convert the dates to strings that look like the dates.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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. Conditional Formatting based on comparing the dates in 2 columns
    By ghostface in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-11-2014, 05:54 PM
  2. Replies: 4
    Last Post: 08-29-2013, 11:23 AM
  3. Replies: 1
    Last Post: 08-21-2012, 04:32 AM
  4. [SOLVED] Help conditional formatting 2 columns with dates
    By markemark in forum Excel General
    Replies: 1
    Last Post: 05-06-2012, 10:58 AM
  5. Conditional Formatting dates with text
    By summer2010 in forum Excel General
    Replies: 5
    Last Post: 09-24-2010, 05:11 AM
  6. Stop Formatting text as DATES???
    By Alan Mailer in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-24-2005, 01:06 PM
  7. Macro for formatting columns with dates, weekdays, and widths?
    By eetarnold@earthlink.net in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-27-2005, 04:06 PM

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