+ Reply to Thread
Results 1 to 10 of 10

Sort data by color thro Pivot table

  1. #1
    Forum Contributor
    Join Date
    12-18-2015
    Location
    Mumbai, India
    MS-Off Ver
    MS Office 365
    Posts
    136

    Sort data by color thro Pivot table

    Hi All,

    Hope everyone is safe & doing well.
    I have a excel sheet as a Progress tracker for multiple products manufactured at different sites and i need to track the activity related to gathering of data for a Risk assessment exercise.

    so basically, for any product you have the information in columns as below:
    - Product
    - Product configuration (volume in ml or mg)
    - Site (at which the product is produced)
    - Pack format (e.g.- bottle, vials etc.)
    - Pack details (specs of the pack format)
    - RPT no (Database no. which needs to be looked thro for the below mentioned details):
    - DPQ (sort of questionnaire)
    - Specs (just indicating whether the specs are available in full (green), if data is in WIP then it is amber colored, if not available or pending, then it is Red
    - Suppliers (1,2,3 indicating different suppliers - all cells against these suppliers would turn green, amber, red, depending upon the data they are required to furnish for risk assessment - details are mentioned in the excel sheet)

    So, basically am looking to create a summary of the data (may be a pivot table); where I should be able to see the data sorted by color for respective products (with ther respective sites). There might be cases where for a specific site there could be multiple products.
    Also, I am looking to get the count of the progress for columns H thro L , meaning, DPQ, Specs & Suppliers (either could be completed (which means green color) is in WIP(which means Amber color) or Pending(which means Red color))

    Hope I was able to explain myself in a proper manner.

    I have attached sample excel sheet with some example data.

    Please help/support.

    Thanks,
    Mahesh
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    12-18-2015
    Location
    Mumbai, India
    MS-Off Ver
    MS Office 365
    Posts
    136

    Re: Sort data by color thro Pivot table

    Hello Excel experts/ Moderators,

    Does this post have to be moved to Excel Charts & Pivot table? If so, kindly help and move the post to the appropriate forum.

    Thanks,
    Mahesh

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Sort data by color thro Pivot table

    Suggest you post a mocked up solution for the data shown. Not sure what you want the solution to look like.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Sort data by color thro Pivot table

    Is this what you are looking for as output (sort by button press - see attached)?

    Another idea is to create a UDF like this

    Please Login or Register  to view this content.
    Then in M2 use this formula

    =IF(GetFillColor(H2)=10,1,IF(GetFillColor(H2)<0,999,GetFillColor(H2)))

    Drag across and down as many rows and columns you need, then sort by column M, N, O......
    Attached Files Attached Files
    Last edited by Croweater; 06-04-2021 at 02:49 AM.

  5. #5
    Forum Contributor
    Join Date
    12-18-2015
    Location
    Mumbai, India
    MS-Off Ver
    MS Office 365
    Posts
    136

    Re: Sort data by color thro Pivot table

    Hi Croweater,

    The idea is good, but i am unable to follow the count theory. When i press the sort by color button across each columns; the count changes and sometimes weirdly with numbers, 1, 44, 999.

    I am shortly posting a mock-up solution in the thread continuation; to get better clarity.

    Thanks anyways for your time & efforts.

    Mahesh

  6. #6
    Forum Contributor
    Join Date
    12-18-2015
    Location
    Mumbai, India
    MS-Off Ver
    MS Office 365
    Posts
    136

    Re: Sort data by color thro Pivot table

    Hi all Experts,

    I have now attached my file with some minor changes and also added a Summary tab (which is a mock-up of the solution I am looking for).

    Please go through and suggest if the solution is possible as I have mentioned in the Summary tab.

    Thanks,
    Mahesh
    Attached Files Attached Files

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Sort data by color thro Pivot table

    Don't find a Summary Tab nor do I see any difference between the two files.

  8. #8
    Forum Contributor
    Join Date
    12-18-2015
    Location
    Mumbai, India
    MS-Off Ver
    MS Office 365
    Posts
    136

    Re: Sort data by color thro Pivot table

    My apologies...please find the updated file attached.
    Attached Files Attached Files

  9. #9
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Sort data by color thro Pivot table

    Quote Originally Posted by MaheshK5277 View Post
    Hi Croweater,

    The idea is good, but i am unable to follow the count theory. When i press the sort by color button across each columns; the count changes and sometimes weirdly with numbers, 1, 44, 999.

    I am shortly posting a mock-up solution in the thread continuation; to get better clarity.

    Thanks anyways for your time & efforts.

    Mahesh
    What count theory? There is no count.

    The numbers you see is the colour number of each cell (row) in that column! That is what it sorts on. Forget that column, I thought I hid it anyway.

    And of course it changes...that's what 'sorting' does!

  10. #10
    Forum Contributor
    Join Date
    12-18-2015
    Location
    Mumbai, India
    MS-Off Ver
    MS Office 365
    Posts
    136

    Re: Sort data by color thro Pivot table

    Dear,

    Can anyone help/support please. Sharing the attachment once again; if missed by you all, where i have described the mock-up solution which I am looking for?

    Thanks in advance
    Attached Files Attached Files

+ 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. Sort data in pivot table
    By Back2Basics in forum Excel General
    Replies: 7
    Last Post: 05-06-2020, 01:13 PM
  2. [SOLVED] Sort data in several columns without using pivot table
    By KIBAAKO in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-20-2019, 06:48 AM
  3. Sort Old Data into a Pivot Table
    By DontExcelAtMuch in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-01-2013, 10:33 AM
  4. Sort data in Pivot Table
    By Mearsy in forum Excel General
    Replies: 1
    Last Post: 04-10-2008, 07:55 AM
  5. [SOLVED] how do i automatically sort data in a pivot table
    By Debra Dalgleish in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  6. [SOLVED] how do i automatically sort data in a pivot table
    By Esche in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. how do i automatically sort data in a pivot table
    By Esche in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 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