Solved

Copying Data

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

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;…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

810 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