Solved

Copying Data

Posted on 2014-10-30
2
77 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 31

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 31

Accepted Solution

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

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
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.

746 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

12 Experts available now in Live!

Get 1:1 Help Now