+ Reply to Thread
Results 1 to 3 of 3

Transform an Excel sales table with multiple monthly sales column into an Access DB

  1. #1
    Registered User
    Join Date
    06-15-2012
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Lightbulb Transform an Excel sales table with multiple monthly sales column into an Access DB

    Getting sales volumes and quantities from a SAP-based system into an Excel sheet, I'm looking for an easy way (VBA or function) to transform those data into an Access DB.

    The actual format of the data is looking like this:

    Material-ID Product segment Factory Sub-group 1 Sub-group 2 Jan-12 Feb-12 Mar-12 ... Dec-12
    xyz-1 PS-A F1 SG1 SG11 1213 1312 2450 1223
    xyz-2 PS-B F1 SG3 SG32 2415 2543 4785 2315
    After transformation, the data should look like this:

    Material-ID Product segment Factory Sub-group 1 Sub-group 2 Date Sales
    xyz-1 PS-A F1 SG1 SG11 Jan-12 1213
    xyz-1 PS-A F1 SG1 SG11 Feb-12 1312
    xyz-1 PS-A F1 SG1 SG11 Mar-12 2450
    xyz-1 PS-A F1 SG1 SG11 ... ...
    xyz-1 PS-A F1 SG1 SG11 Dec-12 1223
    xyz-2 PS-B F1 SG3 SG32 Jan-12 2415
    xyz-2 PS-B F1 SG3 SG32 Feb-12 2543
    ....

    Thanks in advance for your good suggestions !

  2. #2
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Transform an Excel sales table with multiple monthly sales column into an Access DB

    There is no easy way to transfer data to access. Do you have a table setup and what does the fields involve?
    Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
    I am the real 'Napster'
    The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

    If you receive help please give thanks. Click the * in the bottom left hand corner.

    snb's VBA Help Files

  3. #3
    Registered User
    Join Date
    06-15-2012
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Transform an Excel sales table with multiple monthly sales column into an Access DB

    Small display fromat in my previous question.
    The table should look like this:

    Material-ID ¦ Product segment ¦ Factory ¦ Sub-group 1 ¦ Sub-group 2 ¦ Jan-12 ¦ Feb-12 ¦ Mar-12 ¦ ... ¦ Dec-12
    xyz-1 ¦ PS-A ¦ F1 ¦ SG1 ¦ SG11 ¦ 1213 ¦ 1312 ¦ 2450 ¦ ¦ 1223
    xyz-2 ¦ PS-B ¦ F1 ¦ SG2 ¦ SG21 ¦ 1413 ¦ 2312 ¦ 450 ¦ ¦ 2223

    After transformation, the data should look like this:

    Material-ID ¦ Product segment ¦ Factory ¦ Sub-group 1 ¦ Sub-group 2 ¦ Date ¦ Sales
    xyz-1 ¦ PS-A ¦ F1 ¦ SG1 ¦ SG11 ¦Jan-12 ¦1213
    xyz-1 ¦ PS-A ¦ F1 ¦ SG1 ¦ SG11 ¦Feb-12 ¦1312
    xyz-1 ¦ PS-A ¦ F1 ¦ SG1 ¦ SG11 ¦Mar-12 ¦2450
    xyz-1 ¦ PS-A ¦ F1 ¦ SG1 ¦ SG11 ¦ ... ¦ ....
    xyz-1 ¦ PS-A ¦ F1 ¦ SG1 ¦ SG11 ¦Dec-12 ¦1223
    ....

+ 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