ThrottleWorks
Excel Ninja
Hi,
Please see attached file for reference.
At row number 2 is how actual data will look.
At row number 15 is the result I am trying to get. Please note, I am trying to get the result row number 2 itself.
This attached file is just for reference.
Original file will be like this.
Table one range A2:J11, this is my base table.
Table two is range L2:Q6
Once I arrange the data from table two, result will be similar to range L15:Q24 but will be arranged from range L2 itself.
There are 2 factors to be checked from table 1, Region and Account.
Please see row 3, table one region is Pune and Account is ABC12 so macro will find out combination of these two from second table and paste in row 3.
If you check original table 2, then row 3 has Nashik and XYZ55 so we need to re-arrange this table. Please see row 16 from table 2.
Ideally this should be the result in row 3 for second table. In this fashion we will arrange all the 4 records from table 2 against table 1.
I am using simple filter options in the macro to get the result but this is really time consuming.
One important thing is, one combination can have n number of records. For example Region Pune and Account ABC12 can have 3 records in table 1.
Can someone please guide me with a better method to arrange the data please. Take care.
Please see attached file for reference.
At row number 2 is how actual data will look.
At row number 15 is the result I am trying to get. Please note, I am trying to get the result row number 2 itself.
This attached file is just for reference.
Original file will be like this.
Table one range A2:J11, this is my base table.
Table two is range L2:Q6
Once I arrange the data from table two, result will be similar to range L15:Q24 but will be arranged from range L2 itself.
There are 2 factors to be checked from table 1, Region and Account.
Please see row 3, table one region is Pune and Account is ABC12 so macro will find out combination of these two from second table and paste in row 3.
If you check original table 2, then row 3 has Nashik and XYZ55 so we need to re-arrange this table. Please see row 16 from table 2.
Ideally this should be the result in row 3 for second table. In this fashion we will arrange all the 4 records from table 2 against table 1.
I am using simple filter options in the macro to get the result but this is really time consuming.
One important thing is, one combination can have n number of records. For example Region Pune and Account ABC12 can have 3 records in table 1.
Can someone please guide me with a better method to arrange the data please. Take care.
Attachments
Last edited: