+ Reply to Thread
Results 1 to 2 of 2

Importing a CSV/DAT file

  1. #1
    Registered User
    Join Date
    02-15-2018
    Location
    England (North East)
    MS-Off Ver
    2010
    Posts
    1

    Post Importing a CSV/DAT file

    Hi all,
    I am currently trying to create a sheet where i can import a CSV without having to run through all of the wizard screens.

    Scenario:
    Each week i receive a .dat file which contains information seperated by spaces i.e. 15/02/2018 10:20 1598465 712.84 -82.63.
    This information will be placed into columns A to E and a formula added to column F that will format the information ready for loading into an application i.e. ("1598465""15/02/2018""10:20""712.84""-82.63")

    I would basically like to use this spreadsheet as a template and any new .DAT files can be easily entered into the spreadsheet without having to go through the wizard each time.

    I hope that makes sense.
    Thanks in advance.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Importing a CSV/DAT file

    Power Query (free add-in for 2010) would be perfect for this.

    If you attach a sample .DAT file, and an example of what your output looks like, then I can write the query.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

+ 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. [SOLVED] Importing a text file by vba referring to a cell for file name & file path
    By Vivek2705 in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 12-01-2017, 08:54 AM
  2. Importing Multiple excel file into one master file using VBA
    By afzal1922 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-09-2017, 05:33 AM
  3. Importing text file. Does entire file get read into memory first?
    By sumdumgai in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-11-2016, 07:28 PM
  4. Importing file as temp and copy paste info into main file!!! HELP PLEASE
    By cory0789 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-05-2015, 02:01 PM
  5. VBA Importing Text File makes the file longer to load everytime
    By Hudas in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-15-2014, 11:26 AM
  6. Importing a data from a text file - user-defined file
    By DaveSev in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2013, 07:02 PM
  7. Importing text file, only option to edit existing file
    By smokey99 in forum Excel General
    Replies: 8
    Last Post: 04-26-2006, 04:08 PM

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