+ Reply to Thread
Results 1 to 6 of 6

Problem formatting the date in imported data

  1. #1
    Registered User
    Join Date
    12-06-2018
    Location
    Bristol
    MS-Off Ver
    Excel for Mac version 16.14
    Posts
    3

    Problem formatting the date in imported data

    Hi!
    I'm wondering if someone can help? I'm having the following problem:
    Importing data from our accounts software. Date column is showing as JAN/18 (for example) I need to convert it to Jan-18. The only way I can make this work is to overtype it as I want but then I can't copy this down a whole row of data with different dates obviously. If I go into custom format and select the mmm-dd option it just doesn't do anything. It's coming through as 'txt' which I'm assuming is part of the problem? Is there a way to convert it to date and then into the right format so I can change the whole column in one go? Hope that makes sense! Thanks in advance

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Problem formatting the date in imported data

    Hello and welcome to the forum.

    You can convert the text date into a real date by using a formula like this (let's say in B2):

    =EOMONTH(A2+0,-1)+1

    Copy the formula down column B and then you can wither leave it there or copy and paste as values back into column A.

    Once you have a real date in there, you can format it however you'd like.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Problem formatting the date in imported data

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.

    If it really is text in the way you describe then you'll need a either a two column lookup table or the equivalent lookup in the formula to convert he text 'Jan' to a month number. Then a

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    However as with so many of these things this is a much simplified example and might not represent all your data. We often find that when we give an answer to what is a trivial non representative example when the solution is used with the real world data it doesn't work because of factors like string length and other stuff which is important but hasn't been mentioned.

    Therefore upload your real workbook as mentioned
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    12-06-2018
    Location
    Bristol
    MS-Off Ver
    Excel for Mac version 16.14
    Posts
    3

    Re: Problem formatting the date in imported data

    Amazing thanks so much this has solved the problem!

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Problem formatting the date in imported data

    You're welcome. Happy to help.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  6. #6
    Registered User
    Join Date
    12-06-2018
    Location
    Bristol
    MS-Off Ver
    Excel for Mac version 16.14
    Posts
    3

    Re: Problem formatting the date in imported data

    Ah thanks I was wondering how to do that as I could see other threads marked as solved - will do now, thanks again

+ 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. imported data from web: comma separator and date format problem (vba)
    By homecore in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-20-2012, 02:57 AM
  2. Imported data not formatting as time
    By cooksteve09 in forum Excel General
    Replies: 2
    Last Post: 05-16-2012, 07:28 AM
  3. Replies: 1
    Last Post: 12-09-2011, 04:59 PM
  4. Formatting: Date imported from Oracle
    By besian in forum Excel General
    Replies: 8
    Last Post: 12-18-2008, 04:04 AM
  5. [SOLVED] Formatting imported data
    By Jsb in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-26-2006, 06:55 PM
  6. [SOLVED] Formatting web imported data correctly
    By Bob Smith in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-23-2005, 11:15 AM
  7. Imported Data Date Format Problem
    By Craig in forum Excel General
    Replies: 1
    Last Post: 12-20-2005, 10:30 AM
  8. Imported data problem
    By greg7468 in forum Excel General
    Replies: 3
    Last Post: 05-23-2005, 11:45 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