ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Dissect a file into several sheets or files (https://www.excelbanter.com/excel-discussion-misc-queries/220441-dissect-file-into-several-sheets-files.html)

MrRJ

Dissect a file into several sheets or files
 
Hi,
I have a spreadsheet that I would like to dissect into smaller reports based
on certain criteria in several columns. What is the best approach to this?
Create a macro, if so, can you give me an idea on howabout to do so?
There are 20+ columns and more than 5000 rows.
I can filter certain things in several different rows. After I am done with
my filters, I want to copy the end product to another sheet or file.

I welcome suggestions on the best approach to get this done.
MrRJ


joel

Dissect a file into several sheets or files
 
The question is if you really need a macro or can do it manually. If you are
goijng to use the same set of filters over again then it makes sense to use a
macro. If everytime you make a report it is going to be unique then a macro
is not necessary.

If you want a macro I suggest you record a macro while manually performing
the steps. Start the macro recorder by going to menu Tools - Macro Record
New Macro.

Either if you need a macro or don't need a macro apply the filter by
selecting the column You want to filt and then go to menu Data - Filter -
Auto Filter. Repoeat this for each column you want a filter or select every
column. Then in Row 1 select the filter you want to use. Next copy the
visible cells and paste on a new worksheet..

Then stop recording macro by going to menu Tools Macro - Stop Recording.

"MrRJ" wrote:

Hi,
I have a spreadsheet that I would like to dissect into smaller reports based
on certain criteria in several columns. What is the best approach to this?
Create a macro, if so, can you give me an idea on howabout to do so?
There are 20+ columns and more than 5000 rows.
I can filter certain things in several different rows. After I am done with
my filters, I want to copy the end product to another sheet or file.

I welcome suggestions on the best approach to get this done.
MrRJ


MrRJ

Dissect a file into several sheets or files
 
Thanks for your help Joel. I will be creating a macro.

"Joel" wrote:

The question is if you really need a macro or can do it manually. If you are
goijng to use the same set of filters over again then it makes sense to use a
macro. If everytime you make a report it is going to be unique then a macro
is not necessary.

If you want a macro I suggest you record a macro while manually performing
the steps. Start the macro recorder by going to menu Tools - Macro Record
New Macro.

Either if you need a macro or don't need a macro apply the filter by
selecting the column You want to filt and then go to menu Data - Filter -
Auto Filter. Repoeat this for each column you want a filter or select every
column. Then in Row 1 select the filter you want to use. Next copy the
visible cells and paste on a new worksheet..

Then stop recording macro by going to menu Tools Macro - Stop Recording.

"MrRJ" wrote:

Hi,
I have a spreadsheet that I would like to dissect into smaller reports based
on certain criteria in several columns. What is the best approach to this?
Create a macro, if so, can you give me an idea on howabout to do so?
There are 20+ columns and more than 5000 rows.
I can filter certain things in several different rows. After I am done with
my filters, I want to copy the end product to another sheet or file.

I welcome suggestions on the best approach to get this done.
MrRJ


Gord Dibben

Dissect a file into several sheets or files
 
See Ron de Bruin's Copy/Paste/Merge examples.

http://www.rondebruin.nl/tips.htm

Maybe specifically this page.

http://www.rondebruin.nl/copy1.htm


Gord Dibben MS Excel MVP

On Wed, 11 Feb 2009 14:38:01 -0800, MrRJ
wrote:

Hi,
I have a spreadsheet that I would like to dissect into smaller reports based
on certain criteria in several columns. What is the best approach to this?
Create a macro, if so, can you give me an idea on howabout to do so?
There are 20+ columns and more than 5000 rows.
I can filter certain things in several different rows. After I am done with
my filters, I want to copy the end product to another sheet or file.

I welcome suggestions on the best approach to get this done.
MrRJ




All times are GMT +1. The time now is 02:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com