Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Pivot row order query


Hi All, I have a table of data, where column A contains the order and
column B the actual data which should appear in on the row within the
pivot table.

What happens however is that the data in column B is sorted
alphabetically within the pivot and not in the order on the base data.

Can this be sorted using VBA?

Many thanks
Love Amy xx


--
AmyTaylor
------------------------------------------------------------------------
AmyTaylor's Profile: http://www.excelforum.com/member.php...o&userid=20970
View this thread: http://www.excelforum.com/showthread...hreadid=518352

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Pivot row order query

If you add the order field as the first row field, the column B items
should sort correctly.

AmyTaylor wrote:
Hi All, I have a table of data, where column A contains the order and
column B the actual data which should appear in on the row within the
pivot table.

What happens however is that the data in column B is sorted
alphabetically within the pivot and not in the order on the base data.

Can this be sorted using VBA?

Many thanks
Love Amy xx




--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Pivot row order query


Debra, thanks so much for your reply, but I dont want the first column
(coumn A) to be visible on the pivot table.
If i follow your suggestion I have to have column A visible.

Amy xx


--
AmyTaylor
------------------------------------------------------------------------
AmyTaylor's Profile: http://www.excelforum.com/member.php...o&userid=20970
View this thread: http://www.excelforum.com/showthread...hreadid=518352

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Pivot row order query

You could create a custom list, and use that as the sort order:

In a cell on a blank worksheet, type your list, then select it
Choose ToolsOptions
Select the Custom Lists tab
Click the Import button, click OK

When you create a new pivot table, items should be in the order of the
custom list.

To sort the items in an existing pivot table, select the field
button, and choose DataSort
Click the Options button, and choose your custom list.


AmyTaylor wrote:
Debra, thanks so much for your reply, but I dont want the first column
(coumn A) to be visible on the pivot table.
If i follow your suggestion I have to have column A visible.


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

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
Changing the order of fields in a query Keith Excel Discussion (Misc queries) 0 September 11th 08 09:18 AM
Microsoft Query - Change the order of the fields richard Excel Discussion (Misc queries) 0 July 20th 07 02:26 PM
Fields change order from MS Query to Excel maryj Excel Discussion (Misc queries) 3 January 31st 07 11:28 PM
Change order of query updates ste1000 Excel Discussion (Misc queries) 1 October 17th 06 05:00 PM
Excel 03 DB query pulls data in wrong order, how to resolve? reperrotte Excel Discussion (Misc queries) 1 June 8th 05 03:03 PM


All times are GMT +1. The time now is 05:46 PM.

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

About Us

"It's about Microsoft Excel"