+ Reply to Thread
Results 1 to 6 of 6

Creating A Spreadsheet from a Complex CSV file

  1. #1
    Registered User
    Join Date
    07-26-2005
    Posts
    11

    Creating A Spreadsheet from a Complex CSV file

    I am trying to create a table that will work with a CSV file that I am getting from UPS. There are multiple values spread over multiple rows that I would have to pull from for each shipment. I would like to be able to just drop each weeks CSV into the spreadsheet and have it automatically calculate for each package shipped.

    Spreadsheet Sample.xls

    Here is the legend for the above sample.

    For Shipment 1 there are 3 rows of information; 1,2, & 3. Only 1 & 2 are important.
    J1 = Freight Discount Amount
    K1 = Billed Freight
    G2 = Published Charge
    J2 = Published Fuel Surcharge
    K2 = Billed Fuel Surcharge

    I would like to be able to pull the information for this shipment to another worksheet on the same spreadsheet on the same row. I could easily copy and paste this information if it wasn't for the size of my file, over 3,000 entries over 25 different accounts.

    Is there an easy way to do this?
    Attached Files Attached Files
    Last edited by tiab86; 01-28-2013 at 06:30 PM.

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Complex Formula?

    After 10 posts here you should know that...

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.



    Make the title more descriptive of the problem and I'm sure we'll be able to help you out.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Complex Formula?

    post self-deleted
    Last edited by FDibbins; 01-28-2013 at 06:35 PM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    07-26-2005
    Posts
    11

    Re: Complex Formula?

    I uploaded a second sample with the end result desired. I couldn't figure out how to delete the first spreadsheet.
    These are the values that I'll be working with. The actual file contains 59 columns. Didn't think that putting all that info in would make a difference, and just make it harder to understand what I was wanting.

  5. #5
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Creating A Spreadsheet from a Complex CSV file

    So are you ignoring the other columns, and only trying to extract information from the ones you've mentioned?

  6. #6
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Creating A Spreadsheet from a Complex CSV file

    Well, assuming that you are ... this code is a bit hacky, but should do what you want.

    However, it does assume that each shipment has "FRT" in the first row of the shipment info in column B - is this always the case?

    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)

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