+ Reply to Thread
Results 1 to 9 of 9

PIVOT Sort doesn't work with addition of column field?

  1. #1
    Registered User
    Join Date
    07-27-2010
    Location
    Long Island, NY
    MS-Off Ver
    Office 365
    Posts
    6

    Unhappy PIVOT Sort doesn't work with addition of column field?

    Hi All,


    I'm probably missing something simple here. In this example, I can successfully sort by "Return Units" in my pivot until I drop my fiscal year field into the "Columns" area. This blows out the sort and I'm unable to restore it.


    What am I missing?

    Thanks very much.

    Attachment 801807Attachment 801806
    Attached Files Attached Files
    Last edited by pmjewett; 10-21-2022 at 05:03 PM. Reason: Appending attachment

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: PIVOT Sort doesn't work with addition of column field?

    read big yellow banner at the top of this site

  3. #3
    Registered User
    Join Date
    07-27-2010
    Location
    Long Island, NY
    MS-Off Ver
    Office 365
    Posts
    6

    Re: PIVOT Sort doesn't work with addition of column field?

    Quote Originally Posted by sandy666 View Post
    read big yellow banner at the top of this site
    Excel file attached.

    Thanks!
    Last edited by pmjewett; 10-21-2022 at 05:03 PM.

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: PIVOT Sort doesn't work with addition of column field?

    and you want to sort Return Units: smallest to largest or largest to smallest ?

  5. #5
    Registered User
    Join Date
    07-27-2010
    Location
    Long Island, NY
    MS-Off Ver
    Office 365
    Posts
    6

    Re: PIVOT Sort doesn't work with addition of column field?

    Largest to smallest

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: PIVOT Sort doesn't work with addition of column field?

    smallest is : -13180
    largest is : 0 ?

    did you think about move Fiscal Year into the filter ?
    Last edited by sandy666; 10-21-2022 at 06:08 PM.

  7. #7
    Registered User
    Join Date
    07-27-2010
    Location
    Long Island, NY
    MS-Off Ver
    Office 365
    Posts
    6

    Re: PIVOT Sort doesn't work with addition of column field?

    Return Units without Fiscal Year in Columns should sort from top (22,764) to 0

    With Fiscal Year across the top I'd want the Return Units column to sort from largest returns down to zero for each of the two years...though starting to occur to me that might not be possible this way..

    hmmm
    Fiscal Year needs to stay where it is so the user can easily compare to the prior year...unless there's another way to do this?
    Last edited by pmjewett; 10-21-2022 at 07:03 PM.

  8. #8
    Registered User
    Join Date
    07-27-2010
    Location
    Long Island, NY
    MS-Off Ver
    Office 365
    Posts
    6

    Re: PIVOT Sort doesn't work with addition of column field?

    It would be helpful if even the first year FY2022 Return Units could at least sort largest descending to 0

  9. #9
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: PIVOT Sort doesn't work with addition of column field?

    this is Pivot with Fiscal Year from raw data sorted by Index

    btw. there are negative numbers so 0 is largest (red colour with brackets means: negative)
    Attached Files Attached Files
    Last edited by sandy666; 10-21-2022 at 07:11 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Sort pivot table by field 2 items (not field 1)
    By csmith-han in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 06-21-2017, 07:58 PM
  2. Why the sort doesn't work here?
    By woshichuanqilz in forum Excel General
    Replies: 11
    Last Post: 04-17-2017, 11:38 AM
  3. [SOLVED] Why DOESN'T this Sort Code work?
    By CaptMac in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-18-2016, 02:42 PM
  4. Pivot table field list doesn't appear
    By donkrafft in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 12-08-2014, 12:46 PM
  5. "Show Field List" in Pivot Table Toolbar doesn't work
    By Flyer27 in forum Excel General
    Replies: 0
    Last Post: 04-11-2006, 07:10 PM
  6. I inserted a field =Amount1 - amount2 -PivotTable-doesn't work
    By mark ivanowski in forum Excel General
    Replies: 0
    Last Post: 03-21-2006, 03:45 PM
  7. [SOLVED] why doesn't sort work when it's choosen before protecting sheet
    By Mearll in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-01-2006, 03:35 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1