Results 1 to 12 of 12

Aggregate text files

Threaded View

  1. #1
    Registered User
    Join Date
    07-02-2009
    Location
    Cannock, England
    MS-Off Ver
    Excel 2007
    Posts
    13

    Aggregate text files

    This has had me pulling my hair out for three days now...


    Here's the goal: To go through all the database files (.txt format) in a designated folder in order to update an Excel Sheet with the required information from those database text files. Then to summarise the information in a simple table.

    The text files are individual Market Exports from a game I play, and are titled as "Region-ItemType-YYYY.MM.DD HHMMSS.txt"

    eg. "Heimatar-Tritanium-2009.07.02 133353.txt".

    I need to know how to sift through the text files to find the most recent one with matching "Region-ItemType" parts in the file name, and refresh the Excel Sheet with the updated data.

    After that, I need to be able to combine all of the cheapest sale prices for each item, with a minimum amount for sale (differs per item), while also being limited to location the item is being sold at, into a single sheet of the important information I wanted to extract in the first place.

    At the end of the whole process, I need to have a single Excel Sheet with every different item's lowest price for each different place, displayed in a table I can use to make formulas from.

    So if I have an export from a place called "place1" and one from "place2", looking at the same item called "item1", I should have two rows of tabulated data, one for each place's lowest price. And this should update at the touch of the "Refresh All" button, or... However you'd have to do it


    I have attached a copy of one of the database text files.

    Thanks for ANY help received, rest assured if you reply you've made the world a better place for me to live in :P
    Attached Files Attached Files
    Last edited by danrayson; 07-03-2009 at 09:30 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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