Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Sort Data Cross Tabs

I have a very large data set in Excel that can't be placed on one page
(over 1.2 mil rows) and therefore it's been organized on multiple
tabs.

Is there a way to sort this data by date (which is a column set) in
each sheet/tab without doing it manually for each tab?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 772
Default Sort Data Cross Tabs

There is, yes, but might some of the data on say sheet 2 go before the data
on sheet 1? It would seem so, if that is the case it will be best to put it
in access first or to read it all into an array and sort that way.
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


" wrote:

I have a very large data set in Excel that can't be placed on one page
(over 1.2 mil rows) and therefore it's been organized on multiple
tabs.

Is there a way to sort this data by date (which is a column set) in
each sheet/tab without doing it manually for each tab?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 638
Default Sort Data Cross Tabs

This will cycle through all of the sheet in the active workbook and
sort each on by column A.
Sub sortEachTab()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
ws.UsedRange.Sort Key1:=ws.Range("A2"), _
Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom, _
DataOption1:=xlSortTextAsNumbers
Next ws
End Sub

wrote:
I have a very large data set in Excel that can't be placed on one page
(over 1.2 mil rows) and therefore it's been organized on multiple
tabs.

Is there a way to sort this data by date (which is a column set) in
each sheet/tab without doing it manually for each tab?


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 220
Default Sort Data Cross Tabs

I'd probably just transfer the data into an Access table, sort it,
then transfer it back.

http://support.microsoft.com/kb/151566/en-us

--
Dan Oakes

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 220
Default Sort Data Cross Tabs

I'd probably just transfer it to an Access table, sort it, then
transfer it back. Here's an example that'll save you some time.

http://support.microsoft.com/kb/151566/en-us

--
Dan Oakes



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I sort or search the sheet tabs? spippin Excel Worksheet Functions 3 October 24th 06 05:19 PM
Is it possible to sort the tabs in a workbook? Jules Excel Discussion (Misc queries) 1 August 3rd 06 07:49 PM
Sort tabs Stan Excel Discussion (Misc queries) 4 April 26th 06 06:18 PM
Default field setting for cross tabs Bob Dobalina Excel Discussion (Misc queries) 1 November 22nd 05 08:09 PM
Re-Sort Worksheet tabs Campbti Excel Worksheet Functions 1 March 10th 05 05:16 PM


All times are GMT +1. The time now is 10:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"