Hi,
I have a problem that is analogous to this:
a 4
b 5
a 2
b 7
c 8 etc.
I want to build a formula that gives me the maximum a,b,c. For building a new table with these items and its maximum values:
a 4
b 7
c 8
Thanks
Hi,
I have a problem that is analogous to this:
a 4
b 5
a 2
b 7
c 8 etc.
I want to build a formula that gives me the maximum a,b,c. For building a new table with these items and its maximum values:
a 4
b 7
c 8
Thanks
Last edited by campelliann; 07-11-2015 at 04:14 PM.
You can use the =MAX(IF( array formula to accomplish that.
See sample attached
Formula:Please Login or Register to view this content.
Try this
=MAX(INDEX(($A$1:$A$9=D1)*($B$1:$B$9),0))
Row\Col A B C D E 1a 15a 65 2a 4b 45 3b 45c 57 4b 32 5b 45 6c 57 7c 56 8b 12 9a 65
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
I like that Mr AltKey
You guys are great! thank you very much Blindalley, Alkey and Czeslaw!
You're welcome. Please don't forget to thank those who helped by clicking on Add Reputation * and please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools-> Mark thread as Solved).
Try this...
Data Range
A B C D E 1 ------ ------ ------ ------ ------ 2 A 4 A 4 3 B 5 B 7 4 A 2 C 8 5 B 7 6 C 8 7
This array formula** entered in E2 and copied down:
=MAX(IF(A$2:A$6=D2,B$2:B$6))
** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
Your problem can be solved at all without any formulas, but only with the help of consolidation.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks