Creating Bandings with Pivot

AndrewKent

Well-known Member
Joined
Jul 26, 2006
Messages
889
Hi folks,

I was wondering if anyone could help me optimize a Pivot Table.

I have somewhere in the region of 20K rows of data. One of the columns contains a decimal figure, which can be anything from 1.00 up to 17.00. Each row contains a decimal within that range.

Now, what I want to be able to do is create a Pivot Table that will display these 20K records but "band" the decimals into 10 groups. So for example;

>= 1.00 - < 1.25
>= 1.25 - < 1.50

The groups of course won't be even but that's not important.

I could do this by adding a formula column containing an elaborate IF function to do this, then link the Pivot Table to it, but I was wondering if there is any way to get this result without having to add extra columns?

Andy
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Add that field as a row field and then right-click it and choose Group.
 
Upvote 0
Exactly what I needed thank you!

Is there any way to be more specific with the groupings, for example if I wanted to sat 1.00 to 1.25, 1.25 to 1.50, 1.50 to 2.50?

Andy
 
Upvote 0
No, they have to be regular. If you need irregular groupings you should use a table of bands and a lookup formula column in the source data.
 
Upvote 0

Forum statistics

Threads
1,224,507
Messages
6,179,176
Members
452,893
Latest member
denay

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top