• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Having difficulty with Sort in Pivot Table & creating grand total column|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Having difficulty with Sort in Pivot Table & creating grand total column|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Having difficulty with Sort in Pivo…
sp_PrintTopic sp_TopicIcon
Having difficulty with Sort in Pivot Table & creating grand total column
Avatar
MITUL PARIKH
Member
Members
Level 0
Forum Posts: 68
Member Since:
December 8, 2017
sp_UserOfflineSmall Offline
1
May 19, 2018 - 10:50 pm
sp_Permalink sp_Print

        Hello  Friend;

             Good morning

                   In attached  2 worksheets - workbook below  on Piv. Tab. & getpivotdata worksheet  I tried  to 1)sort dates in A to Z order , but
                    having  difficulty  2)   like to create grand total field for each salesperson,  tried by clicking on Design Tab , In Layout Group , click on Grand
                     Totals & On for  rows, but, it does not do anything. (I MUST be doing something wrong), 3) For Feb. 2015 , for salesperson - John,  and
                     Salespersons - Kevin  Pete are in 2 places , Can you Please advise me what  I did wrong  on adjacent worksheet which is  data for this Pivot.                            Table ?
                                                  
                             Thank you very much.
                    

                              Have a great day.

   

 

 

 

 

       

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 870
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
2
May 20, 2018 - 9:03 am
sp_Permalink sp_Print

Hello Mitul,

Sorry to say, but your dates are in a mess. Some "dates" are typed in so Excel does not recognize them as dates, but as text. I have used conditional formatting to highlight these text dates in red. An easy fix is to just remove the dot and Excel will recognize the data as dates.

By repairing this your issues 1) and 3) gets resolved without any other actions than to refresh your Pivot Table (might be that you need to set the number format again to have the dates showing like Apr-15).
For your issue 2), you need rearrange your data if you want to have a grand total per salesperson.

See attached workbook Piv.-Tab.-Getpivotdata-from-ExcelFunctions.net_CondFormat.xlsx to see the conditional formatting showing which "dates" that are actually text and not dates.

See attached workbook Piv.-Tab.-Getpivotdata-from-ExcelFunctions.net_Fixed.xlsx for a sample showing corrected dates which solves your issues 1 and 3, and for your issue 2, see the last two worksheets for the rearranged data.

I hope you understand what I try to show.

Br,
Anders

Avatar
MITUL PARIKH
Member
Members
Level 0
Forum Posts: 68
Member Since:
December 8, 2017
sp_UserOfflineSmall Offline
3
May 20, 2018 - 10:24 pm
sp_Permalink sp_Print

               Hello  Anders; (my friend)
                    

                   Good  morning

                   How are you?

                  Thank you  for responding to my Pivot Table problems.

                       On ExcelFunctions.net DATA worksheet in cells A10:A12, it was maj/15, changed it to mar/15, (but, on Piv. Tab. & GETPIVOTDATA
                       worksheet), in cell E29, after refreshing & changing number format to Custom -  mmm-yy, it stilll says maj/15 Total

                      Exact same issues on ExcelFunctions.net DATA worksheet cells - A31 : A33,  A52 : A54, A67 : A69  A70: A72 , A79 : A81

                       Exact same issues on  Piv. Tab. & GETPIVOTDATA worksheet Cell E54, E89, E114, E119, E134 (after refreshing & changing number format
                                                                                                                                                   to Custom -  mmm-yy, it does not change

                  Please  advise & correct those problem.

                              Also,  on Rearranged Pivot worksheet, how did you get  Grand Total column? 

                           Thank you very much.

                                Have a great day.

                     Sincerely;

                 Mitul.

 

   

                     
     

                  

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 870
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
4
May 21, 2018 - 12:43 am
sp_Permalink sp_Print

Hello Mitul,

I have worked with your sample file in Excel for Mac, so the approach is a little bit different than it needs to be when done in Windows version, but the result is the same. See the attached file for corrections and comments.

Br,
Anders

Avatar
MITUL PARIKH
Member
Members
Level 0
Forum Posts: 68
Member Since:
December 8, 2017
sp_UserOfflineSmall Offline
5
May 21, 2018 - 11:54 pm
sp_Permalink sp_Print

    Hello  Anders;

    This is Mitul.

   Thank you very much, friend.  I appreciate . 

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 870
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
6
May 22, 2018 - 3:46 am
sp_Permalink sp_Print

Hello Mitul,

I hope you get the picture of what I try to show, that you get the errors due to irregularities in your data. As I see it, you have grasped how to use PivotTable, how to get information from it and structure it, but the errors in the data source messes things up.

Keep struggle on, it is the only way forward. 😉

Br,
Anders Sehlstedt

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Philip Treacy, Moshe Arama
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
yashal minahil
Oluwadamilola Ogun
Yannik H
dectator mang
Francis Drouillard
Orlando Inocente
Jovitha Clemence
Maloxat Axmatovna
Ricardo Freitas
Marko Meglic
Forum Stats:
Groups: 3
Forums: 24
Topics: 6200
Posts: 27183

 

Member Stats:
Guest Posters: 49
Members: 31861
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.