S
Svein Erik
how to return 5 largest values from 7 cells?
Chip Pearson said:Use the following array formula:
=SUM(LARGE(A1:A7,ROW(INDIRECT("1:5"))))
Change A1:A7 to the appropriate range. Since this is an array
formula, you must press Ctrl+Shift+Enter rather than just Enter
when you enter the formula and whenever you edit it later. If you
do this properly, Excel will enclose the formula in curly braces
{}.
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com