I want excel to pick the two largest of three numbers where the cells are not adjacent. Example; total two largest numbers out of D4, G4, J4. Thank you for your help.
I want excel to pick the two largest of three numbers where the cells are not adjacent. Example; total two largest numbers out of D4, G4, J4. Thank you for your help.
Last edited by AliGW; 05-05-2019 at 06:11 AM.
Hi
to be confirmed with control+shift+enter
=SUM(LARGE(CHOOSE(ROW(1:3),D4,G4,J4),ROW(1:2)))
Regards
-----------------------------------------------------
At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.
Please, mark your thread [SOLVED] if you received your answer.
Administrative Note:
Welcome to the forum.
We would very much like to help you with your query, however the thread title does not really convey what your request is about.
Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).
Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.
(Note: this change is not optional. As you are new here I have done it for you this time.)
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Hi again
a small formula could do the trick too
=D4+G4+J4-MIN(D4,G4,J4)
Regards
Thanks again Xor LX
Just for exercise
=SUMPRODUCT(LARGE((D4,G4,J4),N(+ROW(1:2))))
Thank you for replying to my post. I entered your formula and it gives an answer of false where I am looking for a number. I appreciate any further assistance you may be able to offer. Again, thank you!
I've tried all of the formulas posted and they all return a FALSE answer insted of a number. Thanks to all in trying to help me solve this problem.
Can you share what values you have in D4, G4 and J4? I can't think what you have there that could return a value of FALSE for all (in fact any) of the offered formulas.
And, can't resist, here is another possibility:
Formula:Please Login or Register to view this content.
-13, -11, -8, the answer is -24. Maybe I structured the question incorrectly. It is for a golf contest I run where you get to use your two best scores out of three golfers. The numbers are usually negative numbers but not always. Your last formula picked the two lowest, probably because I'm dealing with negative numbers. Thanks again for all the help from everyone!
Similarly, if the right answer is -24, then change max to min in my post-10 formula. As follows:
Formula:Please Login or Register to view this content.
All the other formulas in this thread could be changed similarly, so take your pick!
Problem solved, thanks to all!!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks