Solved

Copying Data

Posted on 2014-10-30
2
83 Views
Last Modified: 2014-10-30
Hi

I using Excel 2010

I have tabs on one spreadsheet - Main, O and B.

In the Main Tab I have the following data (example data)

Matter        Sort              Date
1                  B                  21/10/2011
2                  O                  21/10/2014
3                  B                  20/10/2013

I want to make sure that anything with Sort O - copies that row of data into Tab O (this case would be 1 row)
and anything with Sort B  copies that row of data into Tab B (in the example 2 rows).

The Main tab data gets populated on a daily basis with new data

Any help would be appreciated
0
Comment
Question by:halifaxman
  • 2
2 Comments
 
LVL 33

Expert Comment

by:Rob Henson
ID: 40413222
You can use the Advanced Filter function to copy filtered data to another location.

If doing it manually rather than through VBA, the destination sheet has to be active and the cursor in a blank area when initiating the AF function.

Source sheet has to have unique headers for all columns of data.

Destination sheets have to have the same headers as source sheet but don't have to in same order or even all of them, so long as those that are used are the same as the source.

If using VBA, I would suggest the steps would be:

1) Clear Destination sheets, except headers
2) Run Filter for B with sheet B as destination
3) Run Filter for O with sheet O as destination

Thanks
Rob H
0
 
LVL 33

Accepted Solution

by:
Rob Henson earned 500 total points
ID: 40413229
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question