Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Finding top four scores, need to insert zero

I'm using this formula to determine the top four scores of a competitions
series:

=SUMPRODUCT(LARGE(F2:K2,ROW(INDIRECT("1:4"))))

It works great, but not everyone has done four competitions and since those
cells empty, I get a #NUM! error.

Is there a way to insert zeros into the empty cells, or is there a better
formula?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Finding top four scores, need to insert zero

Try this:

=IF(COUNT(F2:K2)<4,SUM(F2:K2),SUM(LARGE(F2:K2,{1,2 ,3,4})))


"Raza" wrote:

I'm using this formula to determine the top four scores of a competitions
series:

=SUMPRODUCT(LARGE(F2:K2,ROW(INDIRECT("1:4"))))

It works great, but not everyone has done four competitions and since those
cells empty, I get a #NUM! error.

Is there a way to insert zeros into the empty cells, or is there a better
formula?

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Finding top four scores, need to insert zero

Try

=SUMIF($F$2:$K$2,"="&LARGE($F$2:$K$2,4))

Hope this helps.

On Mar 10, 9:26 am, Raza wrote:
I'm using this formula to determine the top four scores of a competitions
series:

=SUMPRODUCT(LARGE(F2:K2,ROW(INDIRECT("1:4"))))

It works great, but not everyone has done four competitions and since those
cells empty, I get a #NUM! error.

Is there a way to insert zeros into the empty cells, or is there a better
formula?

Thanks!



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
Fit scores Sciguy Excel Worksheet Functions 4 January 19th 07 09:45 AM
Top 5 Scores [email protected] Excel Worksheet Functions 2 July 31st 06 12:35 AM
Best 4 scores Nigel Greenwood Excel Discussion (Misc queries) 5 May 3rd 06 09:45 PM
max scores Cricket Excel Discussion (Misc queries) 2 February 19th 06 06:45 PM
Finding the top ten scores JeffShone Excel Discussion (Misc queries) 2 February 16th 06 12:38 PM


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

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"