PC Review


Reply
Thread Tools Rate Thread

Display ranges in a Pivot

 
 
NetNewbie
Guest
Posts: n/a
 
      17th Feb 2010
Hi all,

I have a column called IncomeRange. I need to display the value in ranges
like 0 - 100, 101-200 etc., How can I convert a column in a pivot report to
display as ranges? Is this an option or do I need to do some kind of formulas
or macros?

Thanks for all help
 
Reply With Quote
 
 
 
 
NetNewbie
Guest
Posts: n/a
 
      17th Feb 2010
Just wanted to explain a little more.

Hello,

My requirement is to create a pivot report in which a column called
indexrange is to be displayed as n number of intervals eg: 0-9, 10-19 etc.

The source of data for the pivot is a SQL Server query. I am not sure where
or how can I do it, so I am posting this in both groups.

Is it possible to take a value in a column and calculate and then return
multiple columns for multiple ranges?

example

baseCol values 0-9 10-20 21-30 31-40 etc
15 1
20 1
6 1
33 1
9 1
28 1

Thanks for any help and suggestions

"NetNewbie" wrote:

> Hi all,
>
> I have a column called IncomeRange. I need to display the value in ranges
> like 0 - 100, 101-200 etc., How can I convert a column in a pivot report to
> display as ranges? Is this an option or do I need to do some kind of formulas
> or macros?
>
> Thanks for all help

 
Reply With Quote
 
x szil
Guest
Posts: n/a
 
      19th Feb 2010
Hi Netnewbie

What you need is simple - just use your pivot table's grouping feature.

Try this:

1. From inside your Pivot Table report, right click on any of the values in
the IncomeRange field.

2. Click Group and Show Detail, then click Group.

3. The Grouping dialog box appears. From here, notice these amounts will
pre-populate with default "Starting at", "Ending at", and "By" values, where
"Starting at" will = the minimum value in your IncomeRange field, and
"Ending at" will = the maximum value in your IncomeRange field, and
"By" represents the desired increment of the groupings

4. Modify the values as needed, or click OK to accept the defaults.

Note these groupings will update along with your data, the same way the rest
of the pivot table does



------
XSzil
Spreadsheet Heroine


"NetNewbie" wrote:

> Just wanted to explain a little more.
>
> Hello,
>
> My requirement is to create a pivot report in which a column called
> indexrange is to be displayed as n number of intervals eg: 0-9, 10-19 etc.
>
> The source of data for the pivot is a SQL Server query. I am not sure where
> or how can I do it, so I am posting this in both groups.
>
> Is it possible to take a value in a column and calculate and then return
> multiple columns for multiple ranges?
>
> example
>
> baseCol values 0-9 10-20 21-30 31-40 etc
> 15 1
> 20 1
> 6 1
> 33 1
> 9 1
> 28 1
>
> Thanks for any help and suggestions
>
> "NetNewbie" wrote:
>
> > Hi all,
> >
> > I have a column called IncomeRange. I need to display the value in ranges
> > like 0 - 100, 101-200 etc., How can I convert a column in a pivot report to
> > display as ranges? Is this an option or do I need to do some kind of formulas
> > or macros?
> >
> > Thanks for all help

 
Reply With Quote
 
NetNewbie
Guest
Posts: n/a
 
      19th Feb 2010
Thank you for your response. It does not necessarily work in my case, since
the goruping option is only available if the filed is in the RowLabels
section. I needs them as individual columns in the values section.

I did it using the SQL query.

"x szil" wrote:

> Hi Netnewbie
>
> What you need is simple - just use your pivot table's grouping feature.
>
> Try this:
>
> 1. From inside your Pivot Table report, right click on any of the values in
> the IncomeRange field.
>
> 2. Click Group and Show Detail, then click Group.
>
> 3. The Grouping dialog box appears. From here, notice these amounts will
> pre-populate with default "Starting at", "Ending at", and "By" values, where
> "Starting at" will = the minimum value in your IncomeRange field, and
> "Ending at" will = the maximum value in your IncomeRange field, and
> "By" represents the desired increment of the groupings
>
> 4. Modify the values as needed, or click OK to accept the defaults.
>
> Note these groupings will update along with your data, the same way the rest
> of the pivot table does
>
>
>
> ------
> XSzil
> Spreadsheet Heroine
>
>
> "NetNewbie" wrote:
>
> > Just wanted to explain a little more.
> >
> > Hello,
> >
> > My requirement is to create a pivot report in which a column called
> > indexrange is to be displayed as n number of intervals eg: 0-9, 10-19 etc.
> >
> > The source of data for the pivot is a SQL Server query. I am not sure where
> > or how can I do it, so I am posting this in both groups.
> >
> > Is it possible to take a value in a column and calculate and then return
> > multiple columns for multiple ranges?
> >
> > example
> >
> > baseCol values 0-9 10-20 21-30 31-40 etc
> > 15 1
> > 20 1
> > 6 1
> > 33 1
> > 9 1
> > 28 1
> >
> > Thanks for any help and suggestions
> >
> > "NetNewbie" wrote:
> >
> > > Hi all,
> > >
> > > I have a column called IncomeRange. I need to display the value in ranges
> > > like 0 - 100, 101-200 etc., How can I convert a column in a pivot report to
> > > display as ranges? Is this an option or do I need to do some kind of formulas
> > > or macros?
> > >
> > > Thanks for all help

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ranges in pivot report NetNewbie Microsoft Excel Discussion 2 18th Feb 2010 03:50 PM
Pivot Table Ranges Dave Eade Microsoft Excel Misc 8 23rd Jan 2009 03:13 PM
Pivot Data Ranges Noakesi Microsoft Excel Misc 1 3rd May 2008 04:39 PM
multiple pivot ranges =?Utf-8?B?Qm9yaXNT?= Microsoft Excel Worksheet Functions 0 16th Sep 2005 02:34 PM
Pivot ranges and INDIRECT daveydave60 Microsoft Excel Worksheet Functions 1 22nd Apr 2005 12:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:12 PM.