Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 46
Default Show Top 3 Values

Hello,

I have a worksheet with several records(rows) and each record contains
several columns (5) with values. What I would like to do is to display the
top 3 values from that record. How would I set that up?

Sample Data:
For Row 1
ColA: 100
ColB: 150
ColC: 250
ColD:115
ColE:250

Top 3 Values would be from the list above would be: 250, 250, and 150. I
don't want to manually do this for 1500 records. Is there a way to write a
function for this?

Thanks in Advance.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Show Top 3 Values

In column F

=LARGE($A1:$E1,1)

in G

=LARGE($A1:$E1,2)

in H

=LARGE($A1:$E1,3)

HTH

"Bagia" wrote:

Hello,

I have a worksheet with several records(rows) and each record contains
several columns (5) with values. What I would like to do is to display the
top 3 values from that record. How would I set that up?

Sample Data:
For Row 1
ColA: 100
ColB: 150
ColC: 250
ColD:115
ColE:250

Top 3 Values would be from the list above would be: 250, 250, and 150. I
don't want to manually do this for 1500 records. Is there a way to write a
function for this?

Thanks in Advance.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 46
Default Show Top 3 Values

That works well Toppers. I'm going to take a step further and wanted to see
if I can have a function that will sum up the top 3 values from the row. Is
there a function for that?

So instead of creating a function for each column to get highest, 2nd
highest, and 3rd highest, just have the system sum up the to three values in
one column say column F?

Thanks in advance.

"Toppers" wrote:

In column F

=LARGE($A1:$E1,1)

in G

=LARGE($A1:$E1,2)

in H

=LARGE($A1:$E1,3)

HTH

"Bagia" wrote:

Hello,

I have a worksheet with several records(rows) and each record contains
several columns (5) with values. What I would like to do is to display the
top 3 values from that record. How would I set that up?

Sample Data:
For Row 1
ColA: 100
ColB: 150
ColC: 250
ColD:115
ColE:250

Top 3 Values would be from the list above would be: 250, 250, and 150. I
don't want to manually do this for 1500 records. Is there a way to write a
function for this?

Thanks in Advance.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Show Top 3 Values


=SUM(LARGE($A$1:$E$1,1),LARGE($A$1:$E$1,2),LARGE($ A$1:$E$1,3))

"Bagia" wrote:

That works well Toppers. I'm going to take a step further and wanted to see
if I can have a function that will sum up the top 3 values from the row. Is
there a function for that?

So instead of creating a function for each column to get highest, 2nd
highest, and 3rd highest, just have the system sum up the to three values in
one column say column F?

Thanks in advance.

"Toppers" wrote:

In column F

=LARGE($A1:$E1,1)

in G

=LARGE($A1:$E1,2)

in H

=LARGE($A1:$E1,3)

HTH

"Bagia" wrote:

Hello,

I have a worksheet with several records(rows) and each record contains
several columns (5) with values. What I would like to do is to display the
top 3 values from that record. How would I set that up?

Sample Data:
For Row 1
ColA: 100
ColB: 150
ColC: 250
ColD:115
ColE:250

Top 3 Values would be from the list above would be: 250, 250, and 150. I
don't want to manually do this for 1500 records. Is there a way to write a
function for this?

Thanks in Advance.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Show Top 3 Values

=SUM(LARGE(A1:E1,{1,2,3}))

Or, say you wanted to sum the largest 50 from column A:

Array entered:

=SUM(LARGE(A:A,ROW(INDIRECT("1:50"))))

Biff

"Toppers" wrote in message
...

=SUM(LARGE($A$1:$E$1,1),LARGE($A$1:$E$1,2),LARGE($ A$1:$E$1,3))

"Bagia" wrote:

That works well Toppers. I'm going to take a step further and wanted to
see
if I can have a function that will sum up the top 3 values from the row.
Is
there a function for that?

So instead of creating a function for each column to get highest, 2nd
highest, and 3rd highest, just have the system sum up the to three values
in
one column say column F?

Thanks in advance.

"Toppers" wrote:

In column F

=LARGE($A1:$E1,1)

in G

=LARGE($A1:$E1,2)

in H

=LARGE($A1:$E1,3)

HTH

"Bagia" wrote:

Hello,

I have a worksheet with several records(rows) and each record
contains
several columns (5) with values. What I would like to do is to
display the
top 3 values from that record. How would I set that up?

Sample Data:
For Row 1
ColA: 100
ColB: 150
ColC: 250
ColD:115
ColE:250

Top 3 Values would be from the list above would be: 250, 250, and
150. I
don't want to manually do this for 1500 records. Is there a way to
write a
function for this?

Thanks in Advance.



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 46
Default Show Top 3 Values


Thanks to everyone for their suggestions. The formula below works perfectly.
"T. Valko" wrote:

=SUM(LARGE(A1:E1,{1,2,3}))

Or, say you wanted to sum the largest 50 from column A:

Array entered:

=SUM(LARGE(A:A,ROW(INDIRECT("1:50"))))

Biff

"Toppers" wrote in message
...

=SUM(LARGE($A$1:$E$1,1),LARGE($A$1:$E$1,2),LARGE($ A$1:$E$1,3))

"Bagia" wrote:

That works well Toppers. I'm going to take a step further and wanted to
see
if I can have a function that will sum up the top 3 values from the row.
Is
there a function for that?

So instead of creating a function for each column to get highest, 2nd
highest, and 3rd highest, just have the system sum up the to three values
in
one column say column F?

Thanks in advance.

"Toppers" wrote:

In column F

=LARGE($A1:$E1,1)

in G

=LARGE($A1:$E1,2)

in H

=LARGE($A1:$E1,3)

HTH

"Bagia" wrote:

Hello,

I have a worksheet with several records(rows) and each record
contains
several columns (5) with values. What I would like to do is to
display the
top 3 values from that record. How would I set that up?

Sample Data:
For Row 1
ColA: 100
ColB: 150
ColC: 250
ColD:115
ColE:250

Top 3 Values would be from the list above would be: 250, 250, and
150. I
don't want to manually do this for 1500 records. Is there a way to
write a
function for this?

Thanks in Advance.




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
Show Values in KG and LBs sahafi Charts and Charting in Excel 4 April 11th 07 04:52 AM
3 values, show which ones are same AmyTaylor Excel Worksheet Functions 4 December 6th 05 07:29 PM
Show zero values johnny Excel Discussion (Misc queries) 4 December 5th 05 03:12 PM
How can I get the zero values at the end of a chart not to show? wabmreo Charts and Charting in Excel 3 December 2nd 05 11:01 PM
Show values from other sheet TONY Excel Worksheet Functions 0 August 31st 05 03:03 PM


All times are GMT +1. The time now is 10:56 AM.

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"