Copy some portion of the Sheet to different Sheet if Column will have some value

Jyotirmaya

Board Regular
Joined
Dec 2, 2015
Messages
204
Office Version
  1. 2019
Platform
  1. Windows
I have two sheets, "Raw Data" other one "SH"

I want a VBA code that if in the Raw Data sheet AH column there will be some value then the following of Raw Data sheet will be copied to SH sheet. Means the Row will be copied. For example if there will be some value in AH3 of Raw Data then


B3 of Raw Data to C to SH Sheet
C3 of Raw Data to A to SH Sheet
D3of Raw Data to B to SH Sheet
M3 of Raw Data to D to SH Sheet
S3 of Raw Data to E to SH Sheet
Y3 of Raw Data to F to SH Sheet
Z3+AA3 of Raw Data to J to SH Sheet
AB3 of Raw Data to K to SH Sheet
AC3 of Raw Data to L to SH Sheet
AD3+AE3+AF3 of Raw Data to N to SH Sheet
AH3 of Raw Data to O to SH Sheet
Raw Data sheet starts from 3rd row onward & in SH sheet the data should be start copying from Row 4. I need to enter more than 2000 entries in the Raw Data sheet, but I want to copy the only rows where in the AH column of Raw Data sheet will have any value then only it will be copied in SH sheet row 4 onward.
 
Last edited:

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,215,219
Messages
6,123,688
Members
449,117
Latest member
Aaagu

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