Need help with a function I'm not sure exists

C

Cervantes

I want excel to sum the highest 5 numbers in a row of 20-25. This means
it'll first need to find 5 highest values and then add 'm up.

Example:

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20
would be 20+19+18+17+16 = 90

Does excel allow for an easy way to do this automatically, or do I have
to do this manually?

Thanks in advance
 
D

duane

for the five highest in row 1 (columns a:z)

=SUM(LARGE(A1:Z1,{1,2,3,4,5}))

entered with control+shift+enter
 
C

Cervantes

duane said:
for the five highest in row 1 (columns a:z)

=SUM(LARGE(A1:Z1,{1,2,3,4,5}))

entered with control+shift+enter

hm, I get some kind of error message, saying the formula has an error
The cursor is on z1 after the error message..
 
C

Cervantes

I think my dutch excel doesn't understand the english terms, so I'
gonna have another look in the help file. But thanks cause you helpe
look in the right direction
 
B

Bob Phillips

Cervantes,

Try

=SOM(GROOTSTE(A1:Z1;{1;2;3;4;5}))


--

HTH

RP
(remove nothere from the email address if mailing direct)
 
C

Cervantes

Bob said:
Cervantes,

Try

=SOM(GROOTSTE(A1:Z1;{1;2;3;4;5}))


--

HTH

RP
[/QUOTE]

yeah, that's it, thanks. stupid dutch version, i don't know why i have
it on my system ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top