Solved

Copying Data

Posted on 2014-10-30
2
79 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 32

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 32

Accepted Solution

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Control calculations in Excel using VBA 4 22
Tags from access to excel 3 30
sql server query from excel 3 57
Excel Automation VBA 19 37
Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now