Copying rows from Master sheet (sheet 1) to mulitple sheets 2-13 based on value in column D of Master

Ajones170

New Member
Joined
Jul 14, 2021
Messages
8
Office Version
  1. 365
Platform
  1. Windows
I am trying to copy rows from master sheet (sheet 1) to multiple sheets based on the value in column D.
EX. If column D value = 1577 or 1603 copy to sheet 2
If Column D value = 5047 or 6425 copy to sheet 3.
Suggestions without adding a button on each sheet????
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Are those four the only values you want to use as the criteria for copying the rows? It would be easier to help if you could use the XL2BB add-in (icon in the menu) to attach a screenshot (not a picture) of your Master sheet.
 
Upvote 0
No I have multiple values. I cannot give the data due to privacy issues.
Here is what I need.
sheetCode in column D
Sheet216034995
Sheet315736073
Sheet45015504850586425
sheet51577503050595074510861768733
sheet6165550678646
sheet7503350356290
sheet8506550255028506063547126
sheet916057208
sheet105037504316177197
sheet1116075045780534026238
sheet125071161527664521547227665468546754735461
sheet1350645048
 
Upvote 0
Based on the data you posted, the row with code 1603 would be copied to Sheet2, the row with code 1577 would be copied to Sheet5 and the row with code 5064 would be copied to Sheet13. Is this correct?
 
Upvote 0
Based on the data you posted, the row with code 1603 would be copied to Sheet2, the row with code 1577 would be copied to Sheet5 and the row with code 5064 would be copied to Sheet13. Is this correct?
That is correct.
 
Upvote 0
What column are the sheet names in? I assume that there can be multiple rows for any one sheet. Is this correct?
 
Upvote 0
What column are the sheet names in? I assume that there can be multiple rows for any one sheet. Is this correct?
You can just call them sheet 2, sheet 3, sheet 4 etc. and then I can rename them
 
Upvote 0
OK but I need to know in which column the sheet names are located.
 
Upvote 0
What column are the sheet names in? I assume that there can be multiple rows for any one sheet. Is this correct?
There will be multiple rows that equal the value in D. Each row needs to be copied to the respective sheet.
 
Upvote 0
Please answer my question: The data you posted in Post #3 shows that the code is in column D but does not show in which column the sheet names are located. In which column are those sheet names located in your sheet?
 
Upvote 0

Forum statistics

Threads
1,215,159
Messages
6,123,346
Members
449,097
Latest member
thnirmitha

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