Excel User Group
Microsoft Excel blogs, forums, files. Read, ask questions, provide answers.

Combining Two Sets of Data

Latest post Wed, Oct 7 2009 5:30 AM by rebsbails. 0 replies.
  • Wed, Oct 7 2009 5:30 AM

    • rebsbails
    • Top 500 Contributor
    • Joined on Thu, Aug 20 2009
    • Posts 4
    • Points 68

    Combining Two Sets of Data

     

    Hi,

    I have put this in the general section as I don't know if I need VBA or if I can do this with a look up.

    Basically I have two sets of data;

    Set 1 eg.

    Promo Code       Detail                                         Creative      Offer               Expense          Date Live

    XF2                   PPC Promotion Jan 09                   N/A             10% Off          $2000             1/1/09

    GGH                  Geographic Magazine Jun 09          Red             15% Off         $100               5/1/09

    ......

     

    Set 2 eg.

    Date         Customer         Revenue         Promo        City

    1/1/09      John                $400               XF2            NY

    1/1/09      Fred                 $200              -                WA

    1/1/09      Joe                  $300              XF2             SF

    .....

     

    I want to combine the two sets of data so I can do evaluations on the type of promotions that worked best in each city, the type of creatives that worked better, the ROM on activity etc...

    Initally I did a VLookup to match the promocode and it's variables to Set 2 however if the promocode had no return then it doesn't appear in the data and I'm having trouble putting the cost in the right place.

    This is the pivot I would like to do

                      JAN                              FEB

    Promos       Expense    Revenue       Expense    Revenue

    XXF             400           5000            0              200

    HHG            200            0                0              500

    KKK             4000          20              4000         8000

    ....

    Any suggestions???

     

    Thanks!

    • Post Points: 5
Page 1 of 1 (1 items) | RSS
Copyright Excel User Group and the relevant contributors, 2010. All Trade Marks acknowledged. This site is a peer-to-peer site and NOT affiliated in any way to Microsoft Corp. All rights reserved.