Forum

Notifications
Clear all

Cut and Paste Data

4 Posts
2 Users
0 Reactions
127 Views
(@meytithveasna)
Posts: 70
Estimable Member
Topic starter
 

Hi Expert,

i have data in sheets" Database"I want to fetch data to sheet2 only data match ID in A3,i also want to fetch data with status cancel to sheet3.

herewith attached file

regards,

 
Posted : 22/07/2017 3:19 am
(@sunnykow)
Posts: 1417
Noble Member
 

Hi Mey

You can use Advanced Filter to do that. No need VBA.

1) Output sheet must have all the required headers

2) Go to sheet 2 and select any blank cell (eg H1) to the right of the header (do not select the headers)

3) Select Data Sort & Filter - Advanced

4) Select Copy To Another Location

5) Select List Range  - Database range A5:F11

6) Select Criteria Range - Database range A2:A3

7) Select Copy To - Sheet2 range A1:F1

8) Click OK

Do the same for Sheet3 but the criteria is Database range F2:F3

Hope this helps

Sunny

 
Posted : 22/07/2017 4:45 am
(@meytithveasna)
Posts: 70
Estimable Member
Topic starter
 

Hi Sunny,

Could you give me to fetch only data with status cancelled to sheet2 by macro?

thanks in advance

 
Posted : 22/07/2017 5:27 am
(@sunnykow)
Posts: 1417
Noble Member
 

Give this a try.

Sunny

 
Posted : 22/07/2017 10:55 pm
Share: