Macro to sort data into separate tabs

jimbogarner

Board Regular
Joined
Apr 22, 2010
Messages
100
Hi,

I need a macro that can essentially pick up data from a 'data dump' tab, this then looks up a particular code in column C against a table which will then identify which 'tab' it needs moving to. The data is to then be moved underneath the latest row that has any data in it. The only issue being is that it needs to identify if there is anything in the entire row, as the data won't always start in column A, there could be nothing in columns A-F but data starts in column G, so it needs to know that cell G50 (for example) has data in it and therefore the new data needs moving into row 52 (ideally we'd have a row spacer between each period)

I can't seem to insert an example spreadsheet so I've just added some images, apologies as this is a simplified version I just have a lot of sensitive data in the file I need the macro for so it will take me a while to desensitise it;
Image 1 = Data dump
Image 2 = lookup table
Images 3 & 4 = sorted data examples

Thanks,

James
 

Attachments

  • Image 1 - Data dump.PNG
    Image 1 - Data dump.PNG
    33.1 KB · Views: 21
  • Image 2 - lookup table.PNG
    Image 2 - lookup table.PNG
    26.2 KB · Views: 18
  • Image 3 - sorted data 1.PNG
    Image 3 - sorted data 1.PNG
    35.4 KB · Views: 16
  • Image 3 - sorted data 2.PNG
    Image 3 - sorted data 2.PNG
    30 KB · Views: 17

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi,

Just wondering if anyone had any ideas if this was possible and/or a possible workaround if not?

Thanks
 
Upvote 0
Hi, just bringing this back up again in case anyone could help? Still have this same issue that we're having to do manually
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,260
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top