ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Breaking Data into Tabs (https://www.excelbanter.com/excel-discussion-misc-queries/135583-breaking-data-into-tabs.html)

Vick

Breaking Data into Tabs
 
I'm not sure this even possible, but thought I'd ask. I'm trying to take
data with about 5000 lines and break them into individual tabs, by a
difference in one column. In my example below I would have 3 new tabs with
the name of the city as the tab name, with all the data for that city in the
tab. Is there a macro out there that can do this?

City Amt
Philadelphia 1
Philadelphia 2
Philadelphia 2
Philadelphia 3
Boston 3
Boston 5
Buffalo 1
Buffalo 1
Buffalo 1
Buffalo 1
Buffalo 1
Buffalo 1


Dave Peterson

Breaking Data into Tabs
 

You may want to look at the way Ron de Bruin and Debra Dalgleish approached it:

Ron de Bruin's EasyFilter addin:
http://www.rondebruin.nl/easyfilter.htm

Code from Debra Dalgleish's site:
http://www.contextures.com/excelfiles.html

Create New Sheets from Filtered List -- uses an Advanced Filter to create
separate sheet of orders for each sales rep visible in a filtered list; macro
automates the filter. AdvFilterRepFiltered.xls 35 kb

Update Sheets from Master -- uses an Advanced Filter to send data from
Master sheet to individual worksheets -- replaces old data with current.
AdvFilterCity.xls 55 kb

Vick wrote:

I'm not sure this even possible, but thought I'd ask. I'm trying to take
data with about 5000 lines and break them into individual tabs, by a
difference in one column. In my example below I would have 3 new tabs with
the name of the city as the tab name, with all the data for that city in the
tab. Is there a macro out there that can do this?

City Amt
Philadelphia 1
Philadelphia 2
Philadelphia 2
Philadelphia 3
Boston 3
Boston 5
Buffalo 1
Buffalo 1
Buffalo 1
Buffalo 1
Buffalo 1
Buffalo 1


--

Dave Peterson

Vick

Breaking Data into Tabs
 
The Excel files mentioned in your reply below, where do I find them?

"Dave Peterson" wrote:


You may want to look at the way Ron de Bruin and Debra Dalgleish approached it:

Ron de Bruin's EasyFilter addin:
http://www.rondebruin.nl/easyfilter.htm

Code from Debra Dalgleish's site:
http://www.contextures.com/excelfiles.html

Create New Sheets from Filtered List -- uses an Advanced Filter to create
separate sheet of orders for each sales rep visible in a filtered list; macro
automates the filter. AdvFilterRepFiltered.xls 35 kb

Update Sheets from Master -- uses an Advanced Filter to send data from
Master sheet to individual worksheets -- replaces old data with current.
AdvFilterCity.xls 55 kb

Vick wrote:

I'm not sure this even possible, but thought I'd ask. I'm trying to take
data with about 5000 lines and break them into individual tabs, by a
difference in one column. In my example below I would have 3 new tabs with
the name of the city as the tab name, with all the data for that city in the
tab. Is there a macro out there that can do this?

City Amt
Philadelphia 1
Philadelphia 2
Philadelphia 2
Philadelphia 3
Boston 3
Boston 5
Buffalo 1
Buffalo 1
Buffalo 1
Buffalo 1
Buffalo 1
Buffalo 1


--

Dave Peterson


Gord Dibben

Breaking Data into Tabs
 
You would find them at the site Dave directed you to.

Specifically from that site you can access Debra's Filter Examples workbooks by
clicking on "Filters" to reach another page on her site.

http://www.contextures.com/excelfiles.html#Filter


Gord Dibben MS Excel MVP

On Tue, 20 Mar 2007 14:06:05 -0700, Vick wrote:

The Excel files mentioned in your reply below, where do I find them?

"Dave Peterson" wrote:


You may want to look at the way Ron de Bruin and Debra Dalgleish approached it:

Ron de Bruin's EasyFilter addin:
http://www.rondebruin.nl/easyfilter.htm

Code from Debra Dalgleish's site:
http://www.contextures.com/excelfiles.html


Create New Sheets from Filtered List -- uses an Advanced Filter to create
separate sheet of orders for each sales rep visible in a filtered list; macro
automates the filter. AdvFilterRepFiltered.xls 35 kb

Update Sheets from Master -- uses an Advanced Filter to send data from
Master sheet to individual worksheets -- replaces old data with current.
AdvFilterCity.xls 55 kb

Vick wrote:

I'm not sure this even possible, but thought I'd ask. I'm trying to take
data with about 5000 lines and break them into individual tabs, by a
difference in one column. In my example below I would have 3 new tabs with
the name of the city as the tab name, with all the data for that city in the
tab. Is there a macro out there that can do this?

City Amt
Philadelphia 1
Philadelphia 2
Philadelphia 2
Philadelphia 3
Boston 3
Boston 5
Buffalo 1
Buffalo 1
Buffalo 1
Buffalo 1
Buffalo 1
Buffalo 1


--

Dave Peterson




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

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