ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to sort data into a new worksheet (https://www.excelbanter.com/excel-discussion-misc-queries/129509-how-sort-data-into-new-worksheet.html)

[email protected]

How to sort data into a new worksheet
 
I have a worksheet with the following column headings "name" "region"
"date" "author", there are 4 different regions the data can be from.
I would like to create 4 new worksheets within the same workbook, one
for each region, that takes the data from the main worksheet and sorts
it into one of the four worksheets depending on the region. Is there
a way to do this so that if I add an entry to the main worksheet, the
corresponding region worksheet will automatically update with the new
data?


Dave Peterson

How to sort data into a new worksheet
 
I would use the combined worksheet for data entry. Then recreate the other
sheets when you need to.

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

wrote:

I have a worksheet with the following column headings "name" "region"
"date" "author", there are 4 different regions the data can be from.
I would like to create 4 new worksheets within the same workbook, one
for each region, that takes the data from the main worksheet and sorts
it into one of the four worksheets depending on the region. Is there
a way to do this so that if I add an entry to the main worksheet, the
corresponding region worksheet will automatically update with the new
data?


--

Dave Peterson


All times are GMT +1. The time now is 07:07 AM.

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