Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Rank function with Pivot

Hi All,
I am using Pivot tables on top of an Access DB. What I would like to do is a
calculated column using something like the RANK function wihtin the Pivot.
I have not found a way using this. Is this possible?
Thank you
Roger
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Rank function with Pivot

I'm not sure what's you've got there, but this is what I have done for a
project recently.
PT data is in A3:B12; numbers are in B5:B11 (I'm not including the Grand
Total in B12).

In C5:C11, put 1, 10, 20, 30, 40 50, 60.

In D5, copy/paste this function:
=FREQUENCY($B$5:$B$11,C5:C11)

Click on D5, and select down to D11 (not a fill-down).

With that range selected, click back in the formula bar, and hit ctrl +
shift + enter...all at the same time.

Than you can build fancy little charts and all kinds of fun stuff.

Does that help?


Regards,
Ryan---

--
RyGuy


"Roger Halbheer" wrote:

Hi All,
I am using Pivot tables on top of an Access DB. What I would like to do is a
calculated column using something like the RANK function wihtin the Pivot.
I have not found a way using this. Is this possible?
Thank you
Roger

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Rank function with Pivot

Hi Ryan,
thank you for your feedback. However, it does not solve my problem. What I
would like to do is not counting the frequency of the values but adding a
column with the ranking of the values. So, adding a figure as I can do in
Excel in "normal" tables with the RANK function
Roger

"ryguy7272" wrote:

I'm not sure what's you've got there, but this is what I have done for a
project recently.
PT data is in A3:B12; numbers are in B5:B11 (I'm not including the Grand
Total in B12).

In C5:C11, put 1, 10, 20, 30, 40 50, 60.

In D5, copy/paste this function:
=FREQUENCY($B$5:$B$11,C5:C11)

Click on D5, and select down to D11 (not a fill-down).

With that range selected, click back in the formula bar, and hit ctrl +
shift + enter...all at the same time.

Than you can build fancy little charts and all kinds of fun stuff.

Does that help?


Regards,
Ryan---

--
RyGuy


"Roger Halbheer" wrote:

Hi All,
I am using Pivot tables on top of an Access DB. What I would like to do is a
calculated column using something like the RANK function wihtin the Pivot.
I have not found a way using this. Is this possible?
Thank you
Roger

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,180
Default Rank function with Pivot

This duplicates the RANK function for a Pivot Table.
Two helper columns are added to the source code.
File at:
http://www.savefile.com/files/1727795
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
RANK function Dave F[_2_] Excel Discussion (Misc queries) 4 October 26th 07 10:54 PM
Can I do a RANK calculation in a Pivot Table Ken Excel Discussion (Misc queries) 3 April 11th 07 05:34 AM
Rank a quantity column using a pivot table Pete Excel Discussion (Misc queries) 0 March 5th 07 10:44 PM
Rank in Pivot Table Matt Cantando Excel Worksheet Functions 0 February 9th 06 07:04 PM
pivot table - Rank A Lesner Excel Discussion (Misc queries) 4 December 2nd 04 04:53 PM


All times are GMT +1. The time now is 07:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"