+ Reply to Thread
Results 1 to 2 of 2

Need to create list which pivots from 2 source files

  1. #1
    Registered User
    Join Date
    02-24-2014
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    1

    Need to create list which pivots from 2 source files

    Hi All,

    I'll try and explain this the best I can......

    I have file 1 which contains Products and Prices, each Product is within a Product Category. Say for example I have 10 Product Categories, each contains 10 Products with its own Price. Format is ... Product Category / Product Code / Product Price

    The second file contains a customer base, which is formatted as ... Acc Number / Acc Name / Product Category

    Each customer is listed between 1 and 10 times, depending if they are taking 1 or all of the Product Categories

    The list I am trying to generate is simply a price load file in the format .... Acc Number / Product Category / Product Code / Product Price

    The only common field in both files is obviously the Product Category. So if the first customer has 2 Product Categories which contain 5 Products each, the first ten lines will be (assuming everything is priced at 1.00)
    1000 / PAPER / 1 / 1.00
    1000 / PAPER / 2 / 1.00
    1000 / PAPER / 3 / 1.00
    1000 / PAPER / 4 / 1.00
    1000 / PAPER / 5 / 1.00
    1000 / FILES / 6 / 1.00
    1000 / FILES / 7 / 1.00
    1000 / FILES / 8 / 1.00
    1000 / FILES / 9 / 1.00
    1000 / FILES / 10 / 1.00

    I am racking my brains and need to get something loaded today, so would be grateful for any help. I can provide dummy files if needed.
    I will also try and explain better if needed..........

    Thanks
    Lee

  2. #2
    Registered User
    Join Date
    03-17-2016
    Location
    India
    MS-Off Ver
    2010
    Posts
    83

    Re: Need to create list which pivots from 2 source files

    Hi Shansky,

    It would be better if you upload sample workbook with dummy data

    Thank you......
    Thank You.....

+ 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. VBA to create userform that shows source excel files in PPT presentation (64-bit)
    By Sizzlechest in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-08-2016, 04:27 PM
  2. Replies: 0
    Last Post: 08-05-2015, 11:45 PM
  3. Replies: 0
    Last Post: 10-18-2013, 11:35 AM
  4. Create a list while source is just one row
    By The Intern in forum Excel General
    Replies: 7
    Last Post: 03-22-2011, 05:23 AM
  5. Same Data source for Multiple Pivots
    By anandmr65 in forum Excel General
    Replies: 3
    Last Post: 07-07-2006, 07:47 AM
  6. [SOLVED] programatically change the data source of Pivots
    By Help me in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-10-2005, 01:35 AM
  7. Anyone help with this error in changing data source of pivots
    By Job in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-02-2005, 06:20 PM

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