I have the data in following format
The first two columns show the raw data. The blanks may or may not be there between different sets of data.
Column G,H,and I are the summary I want to achieve. I have tried using data->subtotal, group, ungroup features of excel, but none of them could result the following. I am not sure how to tackle this problem. The number of rows in raw data will be in the range of 200 to 500 items.
I can definitely do some manual work to separate the groups and then apply formulas for smallest and then largest values for them, but I am looking for complete automatic calculation of the summary. So that when I enter the data in the first 2 columns it should give the summary back in G,H,and I columns automatically.
Edit: I have tried the array formula =MAX(IF(A1:A101=A2,B1:B101)) in column C for finding out the Maximum for each group. The result is as follows as you can see the first row of each group is exactly what is required in the summary. Can we somehow remove the duplicates so that only first rows of each group will be left.
Still it requires me to put the formula in Column C and choose the range of the raw data. Which is not what I am looking for. I need something that calculates it automatically.