Find highest number in a specific group

Robert305

New Member
Joined
Aug 7, 2015
Messages
7
Hello, i'm trying to find the highest number in a specific group. Basically I have column A which is a period and column B which is a quarter. I want to only show the biggest quarter (B) of a period group (A) in C, kind of like this:
6-15-201611-38-52am4rr29.png


Any ideas how I could accomplish this? I'm completely stuck on this

Thanks,
Robert
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
in C1
=IF(B1=MAX(IF(A$1:A$1000=A1,B$1:B$1000)),MAX(IF(A$1:A$1000=A1,B$1:B$1000)),"")
Array formula, use Ctrl-Shift-Enter

and copy down
 
Last edited:
Upvote 0
Do you want it to look exactly like pictured, where the highest quarter is next to the answer?

Or will this be elsewhere in the sheet, for something like this:


YearHighest Quarter
13
24
32
44
51
64
73

<tbody>
</tbody>
 
Upvote 0
in C1
=IF(B1=MAX(IF(A$1:A$1000=A1,B$1:B$1000)),MAX(IF(A$1:A$1000=A1,B$1:B$1000)),"")
Array formula, use Ctrl-Shift-Enter

and copy down

Wow thanks that did the trick! Only had to change the row since youre going with the first one and my data starts in row 2 but after that it worked!
 
Upvote 0
Ok I just realized this is a little more complicated because I also have groupings that need to be considered:
6-15-201612-15-09pmfuj8s.png

So basically each group in column A needs to be considered and the years in B keep repeating. Is this still doable?
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top