Copy Data from One sheet to another based on the condition column

AlexRub

New Member
Joined
Dec 20, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi, I need help, please.
I saw a few options but nothing worked so far.
My problem is this:
I work with two sheets on the same file, "RawData" and "FinalData"
RawData is summarized data from PowerBI and it varies in the number of rows.
I added a column on that sheet with a condition, with Copy / NoCopy.
All I need is to copy all the rows from RawData to Final that has the 'Copy ' condition (without the condition of course)
Can you please assist?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
as you have 365 how about
=filter ( range , column with Copy/nocopy = "Copy")

=filter (Rawdata!A1:Z20000 , rwdata!Z1:Z20000="copy")

Book3
ABCDEZ
11B11B11copy
23B33B33copy
300000copy
Sheet1
Cell Formulas
RangeFormula
A1:Z3A1=FILTER(Rawdata!A1:Z20000,Rawdata!Z1:Z20000="copy")
Dynamic array formulas.


Book3
ABCDEFYZ
11B11B11copy
22B22B22nocopy
33B33B33copy
44B44B44nocopy
5copy
Rawdata
 
Upvote 0
Well, I need it in vba for a button, this didnt seem to work either, i dont want to filter data, I need to copy since i re edit it later. i copy/paste differerent data each day (to the RawData sheet)...
 
Upvote 0
Well, I need it in vba for a button,
Ok, i dont supply VBA solutions on forums , so another member will need to answer - dont know if you can still update title - but would be worth mentioning that in title or first post
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,179
Members
452,615
Latest member
bogeys2birdies

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