+ Reply to Thread
Results 1 to 6 of 6

Create an import file based on another file

  1. #1
    Registered User
    Join Date
    06-13-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    24

    Create an import file based on another file

    I have a spreadsheet that that tracks daily sales by location and payment type. (Cash, Check, Credit Card) I am looking to use this spreadsheet to create an import. Any advice is greatly appreciated. Thanks.

    Maureen

    From This:

    Location Date Cash Check Credit
    Site 1 9/1/2014 5.00 10.00 20.00
    Site 2 9/1/2014 10.00 20.00 30.00
    Site 3 9/1/2014 20.00 30.00 40.00

    To This:

    Site 1 9/1/2014 5.00 cash
    Site 1 9/1/2014 10.00 check
    Site 1 9/1/2014 20.00 credit
    Site 2 9/1/2014 10.00 cash
    Site 2 9/1/2014 20.00 check
    Site 2 9/1/2014 30.00 credit
    Site 3 9/1/2014 20.00 cash
    Site 3 9/1/2014 30.00 check
    Site 3 9/1/2014 40.00 credit

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Create an import file based on another file

    Why do you want to do this?
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  3. #3
    Registered User
    Join Date
    06-13-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Create an import file based on another file

    The "from" is an Access Database export into Excel. the "to" is the format that I need in order to import the transactions into our General Ledger system.

  4. #4
    Forum Contributor
    Join Date
    07-18-2012
    Location
    New York
    MS-Off Ver
    2016
    Posts
    192

    Re: Create an import file based on another file

    If formatting is always consistent you could just set what you want to be the import as a separate table and put a vlookup in the cell where you need the amount. You would basically just have to change the col index number to return the cash column(3), check column(4), or credit column(5). Because it's for an import you'd then probably want to copy and paste as values in a new workbook.

  5. #5
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Create an import file based on another file

    See attached workbook.
    You must be IN the sheet that contains the FROM data to run the Create_Import macro.
    The sheet named Import will be filled with formatted data ready for your import.
    The macro will clear all contents of sheet Import before copying data.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    06-13-2013
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Create an import file based on another file

    p24leclerc - You Rock! Just what I was looking for!

+ 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. Create an import file based on another spreadsheet
    By Maureen405 in forum Excel General
    Replies: 3
    Last Post: 10-17-2014, 04:27 PM
  2. [SOLVED] Macro - Master file to import data from another open file with variable file name
    By jdodz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-10-2012, 10:56 PM
  3. File import - select file and import sheet(1) from closed workbook
    By Armitage2k in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-22-2011, 03:15 AM
  4. Import text file and create new spreadsheet
    By demianill in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-23-2006, 02:25 PM
  5. [SOLVED] can i create an excel xml map without having an import file?
    By RVSutherland in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-01-2005, 12:06 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