View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre Ron Coderre is offline
external usenet poster
 
Posts: 2,118
Default Formula Help - Squaring three highest numbers

In your example, wouldn't the two 4's and the 6 be the largest 3 values...not
just one 4 and the 6?

If that's true, try this formula:
=SUMPRODUCT(LARGE(A1:A5,{1,2,3})^2)

With the numbers 1,2,4,4,6 that formula returns
=6^2 + 4^2 + 4^2
=36+16+16
=68

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Denise" wrote:

I have a form that has six areas where a number of 1 - 6 will be entered.

I need a formula that will square the 3 highest numbers and and add the
three together -

Example -
1
2
4
4
5

The numbers 4 and 5 will be squared and added together for a total of 57