• 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

grouping numbers in Pivot Table|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / grouping numbers in Pivot Table|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
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…grouping numbers in Pivot Table
sp_PrintTopic sp_TopicIcon
grouping numbers in Pivot Table
Avatar
Tina Kinnersly
Member
Members
Level 0
Forum Posts: 39
Member Since:
June 1, 2018
sp_UserOfflineSmall Offline
1
July 15, 2021 - 11:06 am
sp_Permalink sp_Print

Hi everyone,

I am having trouble of grouping numbers to the range I want, can anyone shed some light? I want to have second range starting from '101'. 

0-100

101-500

does it have anything to do with the data? I have tried different starting, ending, and interval... nothing works.

many thanks!

Tina

Avatar
Lionel Baijot
Member
Members
Level 0
Forum Posts: 114
Member Since:
September 9, 2020
sp_UserOfflineSmall Offline
2
July 15, 2021 - 5:14 pm
sp_Permalink sp_Print

Hi, Tina,

Can you share a file with your (anonymised) data? Can you also specify the error message you get?

BR,

Lionel

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
3
July 15, 2021 - 11:39 pm
sp_Permalink sp_Print

Hi Tina

The grouping interval in Pivot Table must be the same, i.e. 0-100, 101-200, 201-300 (interval of 100, for example) etc.

I would suggest you create a helper column to group your data into the different intervals and only then group the helper column using the Pivot Table.

Hope this helps.

Sunny

Avatar
Tina Kinnersly
Member
Members
Level 0
Forum Posts: 39
Member Since:
June 1, 2018
sp_UserOfflineSmall Offline
4
July 19, 2021 - 9:53 am
sp_Permalink sp_Print

hi 

I have uploaded a file, can you please share how to group the data in pivot table like below,

0-100

101-200

201-300

etc...

many thanks!

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4447
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
5
July 19, 2021 - 6:07 pm
sp_Permalink sp_Print

Hi Tina,

Thanks for sharing your file. It's not clear, but I presume you want to group the receipt amounts. If so, please see attached. To create this PivotTable, right-click the row labels in the PivotTable > Group.

Hope that helps.

Mynda

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
6
July 19, 2021 - 8:02 pm
sp_Permalink sp_Print

Hi Tina

If the grouping interval is consistent (100) then what Mynda suggest will work for you.

But you mentioned 1-100, 101-500 (different intervals) in your post. Without seeing what are your intervals I can only make a guess.

I have attached one method where the intervals are not consistent.

I used VLOOKUP to extract the grouping from a table.

The row labels in the PT are manually sorted.

Hope this will point you to the right direction.

Good luck.

Sunny

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Shanna Henseler
Guest(s) 2
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:
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Ray-Yu Yang
George Shihadeh
Naomi Rumble
Uwe von Gostomski
Jonathan Jones
drsven
Forum Stats:
Groups: 3
Forums: 24
Topics: 6210
Posts: 27236

 

Member Stats:
Guest Posters: 49
Members: 31888
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.