+ Reply to Thread
Results 1 to 3 of 3

Mapping data from multiple rows into one

  1. #1
    Registered User
    Join Date
    08-15-2012
    Location
    HCMC, VN
    MS-Off Ver
    Office 2010
    Posts
    2

    Mapping data from multiple rows into one

    Hi guys,

    I'm new to the forum so if I make any mistakes in my post then please feel free to let me know and I will endeavour to change it to comply with forum rules immediately.

    Just to explain the problem a little:

    Every month I need to consolidate numbers from 2 separate business entities. In Entity 1, Cost X and Cost Y will be classified in two separate cost codes, 'A' and 'B'. Whereas in Entity 2, Cost X and Cost Y will be classified together in 1 cost code, 'C'.

    Currently I would just add together the two cost codes in entity 1 to get the equivalent in entity 2. However, cost codes in my company are ever changing and today it might be A + B = C but tomorrow it might be A + D = C. Therefore, I need a dynamic way of easily mapping the data by changing only the mapping fields and excel would automatically map the data for me.

    I have attached a sample excel file just for you to get the gist of what I am currently doing.


    Really appreciate any and all available help and suggestions.

    How_To_Auto_Map.xlsx

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Mapping data from multiple rows into one

    It will be good if you explain with the help of your file. You said entity1 as 2 cost codes A & B, but i see 4, A B C and D.

    Why dont you upload a sample output file to show us what you want the output to look like?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    08-15-2012
    Location
    HCMC, VN
    MS-Off Ver
    Office 2010
    Posts
    2

    Re: Mapping data from multiple rows into one

    Quote Originally Posted by arlu1201 View Post
    It will be good if you explain with the help of your file. You said entity1 as 2 cost codes A & B, but i see 4, A B C and D.

    Why dont you upload a sample output file to show us what you want the output to look like?
    Hi Arlette,

    Thanks for your quick response.

    Attached is an example file that I am actually currently using.
    Entity 1 codes 202, 206 and 210 are collated under code 610001 in the reporting template.

    You may see this relationship on the 'Map' worksheet.

    Ideally what I would like is for that in the future, I would be able to adjust the values on the map sheet, and the 'Report' sheet would automatically sum up the correct numbers from the Entity 1 sheet.

    I'm sorry if it is not too clear as I'm finding it a little difficult to explain myself fully. I hope looking at the file will help.

    How_To_Auto_Map_Live.xlsx

+ 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