+ Reply to Thread
Results 1 to 4 of 4

Importing data from a new file to current file

  1. #1
    Registered User
    Join Date
    01-01-2018
    Location
    Misty Mountains
    MS-Off Ver
    2016
    Posts
    2

    Importing data from a new file to current file

    I have two csv files (A & B)

    A file has 10 columns all of which I need for my job (in order as I require)
    B file has 25 columns out of which I need only 10 columns for my job (not in order)


    I need to append contents from file B under file A with matching the columns. What would be the optimal solution to achieve this ?

    Thank you

    Attachment contains A & B files and the AFTER file which has the desired results required.
    Attached Files Attached Files
    Last edited by nishanthhh; 01-02-2018 at 11:16 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,810

    Re: Importing data from a new file to current file

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    01-01-2018
    Location
    Misty Mountains
    MS-Off Ver
    2016
    Posts
    2

    Re: Importing data from a new file to current file

    Quote Originally Posted by alansidman View Post
    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Thank you. I have edited my post

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,464

    Re: Importing data from a new file to current file

    1) Assuming FileA & FileB are in the same folder.
    2) Select FileA first and then FileB
    Please Login or Register  to view this content.

+ 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 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
  3. 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
  4. 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
  5. Saving file to its current location and current file name with current date and "FINAL"
    By ironwill20 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-21-2012, 03:22 AM
  6. Replies: 6
    Last Post: 07-16-2012, 02:12 PM
  7. Importing text file from current workbook directory
    By hluk in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-11-2008, 06:38 AM

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