ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how to add up only certain cells (https://www.excelbanter.com/excel-discussion-misc-queries/53636-how-add-up-only-certain-cells.html)

Mitch

how to add up only certain cells
 
I am taking a class where we have daily quizzes, but only the thirty best
scores are kept. I'm keeping a running tally of how I do on the quizzes but
I've just hit the 30 quiz mark. Is there a way in excel to search an entire
row of numbers and add up only the 30 greatest values?

Bob Phillips

how to add up only certain cells
 
Use an array formula like

=SUM(LARGE(J1:J36,ROW(INDIRECT("1:30"))))

which you commit with Ctrl-Shift-Enter. Replace J7:J36 with your range, but
it cannot be full column like J:J

--

HTH

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


"Mitch" wrote in message
...
I am taking a class where we have daily quizzes, but only the thirty best
scores are kept. I'm keeping a running tally of how I do on the quizzes

but
I've just hit the 30 quiz mark. Is there a way in excel to search an

entire
row of numbers and add up only the 30 greatest values?




Gary''s Student

how to add up only certain cells
 
Put the scores in a column
Sort the column descending
Add the top 30
--
Gary''s Student


"Mitch" wrote:

I am taking a class where we have daily quizzes, but only the thirty best
scores are kept. I'm keeping a running tally of how I do on the quizzes but
I've just hit the 30 quiz mark. Is there a way in excel to search an entire
row of numbers and add up only the 30 greatest values?



All times are GMT +1. The time now is 02:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com