Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Automatic Pareto data with Formula

I want to create a data table for use to create an Automatically updated
Pareto Chart, for this I need that the values automatically be sorted in
descending order, so I have the following example scenario:

Column A has Labels and Column B has Values
A -1
B -2
C - 3
D - 2
E -1

If I use the following formula:
=INDEX($A$1:$A$5,MATCH(LARGE($B$1:$B$5,2),$B$1:$B$ 5,0))
I get B, but there are two 2 and if I use the 3rd largest:
=INDEX($A$1:$A$5,MATCH(LARGE($B$1:$B$5,3),$B$1:$B$ 5,0))
I also Get B instead of the required D.

How can I get it so the end results looks like this:
C
B
D
A
E

Thank You.

--
Gabriel Camarena R.
Delphi Tijuana IT Support
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 527
Default Automatic Pareto data with Formula

Use a helper column to find the Nominal Rank of the scores, then use this for
the INDEX.

C2: =RANK($B2,$B$2:$B$6)+COUNTIF($B$2:B2,B2)-1
D2: =INDEX($A$2:$A$6,MATCH(ROWS($1:1),$C$2:$C$6,0))

HTH
Peter

"GCRDelphi" wrote:

I want to create a data table for use to create an Automatically updated
Pareto Chart, for this I need that the values automatically be sorted in
descending order, so I have the following example scenario:

Column A has Labels and Column B has Values
A -1
B -2
C - 3
D - 2
E -1

If I use the following formula:
=INDEX($A$1:$A$5,MATCH(LARGE($B$1:$B$5,2),$B$1:$B$ 5,0))
I get B, but there are two 2 and if I use the 3rd largest:
=INDEX($A$1:$A$5,MATCH(LARGE($B$1:$B$5,3),$B$1:$B$ 5,0))
I also Get B instead of the required D.

How can I get it so the end results looks like this:
C
B
D
A
E

Thank You.

--
Gabriel Camarena R.
Delphi Tijuana IT Support

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
Pareto/Bar charts Adam Excel Discussion (Misc queries) 3 March 10th 08 01:19 PM
How I do the pareto charts? J Murcia Charts and Charting in Excel 3 January 26th 07 09:54 PM
Pareto of data Dave Excel Discussion (Misc queries) 2 October 26th 06 02:23 PM
ROI,Pareto, T test vasanth m k Charts and Charting in Excel 0 May 22nd 06 05:55 PM
Pareto With Excel meral Excel Discussion (Misc queries) 2 December 29th 05 07:38 AM


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

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

About Us

"It's about Microsoft Excel"