Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

# Adding n cells in a range

### #1 Silver_Fox Posted 29 March 2007 - 09:19 AM

Silver_Fox

Member

• Member
• 44 posts
In a cell range say of A1:L1 I want to add the eight or (n) largest numbers.
Where (n) can vary between 1 and 12
I use Excel 2000
Any help will be appreciated

Since posting the above I have found an "Array formulae" that does what I want !!

The array formulae is:

=SUM(LARGE(A1:L1,{1,2,3,4,5,6,7,8}))

The result in M1

Edited by Silver_Fox, 29 March 2007 - 02:09 PM.

• 0

### #2 piper Posted 29 March 2007 - 04:03 PM

piper

Retired Staff

• Retired Staff
• 2,459 posts
Hi Silver_Fox.

This is what I've got for you:

=SUM(LARGE(A5:A14,{1,2,3,4,5,6}))

This is an array that sums the 6 largest numbers in the range of A5:A14. To change the number of largest, just add ",7,8,9" etc.

If that doesn't make any sense, please post back.

Good luck!
• 0

### #3 Silver_Fox Posted 29 March 2007 - 04:57 PM

Silver_Fox

Member

• Topic Starter
• Member
• 44 posts
Hello Linda

I eventually worked it out for myself and updated my post.

I still appreciate you taking the time to help.

Regards
• 0

### Similar Topics

#### 0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users