Code/Formula to copy data from one table to another on same worksheet

hmltnangel

Active Member
Joined
Aug 25, 2010
Messages
290
Office Version
  1. 365
Platform
  1. Windows
Hello,

I need some help please with creating some sort of formula or code. I need to move data on my worksheet from one table to another, depending on certain conditions.

The data I input each day is in a small table covering B4:G300.

In the table, column E contains either "1" or "0". If column E has a "1" I want columns B:G of that row transferred to the another table in the same sheet spanning I4:N300. Basically it is looking for discrepancies in the data (identified by the "1" in column "e) and I want it to show the discrepancies on a new table just next to the original data.

All the column headers are the same on each table.

Thanks!
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Thanks - that kinda works. It just copies it into the same location on the second table. Is there a way for it to bin the blanks? For instance - only around 6/7 rows will be a match in this situation and its only those I need to move into the second table. Id rather they were all bunched in one group at th etop instead of spread over 300+ rows.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,326
Members
452,635
Latest member
laura12345

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