ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Getting the MIN and MAX from a column wrt another column (https://www.excelbanter.com/excel-worksheet-functions/11324-getting-min-max-column-wrt-another-column.html)

sando

Getting the MIN and MAX from a column wrt another column
 
Hi,

I have three columns. One column has names of people, one has a alphabet
(e.g. A, B, C, D and E) and the third has a rating (e.g. 1.0 to 5.0) I would
like to get the minimum and maximum of the ratings corresponding to A, then
B, C, D and E.

Can someone help me do this? I can do it using Pivot table, but I dont want
to use it in this case.

Thanks,
Sando

Biff

Hi!

Entered as an array with the key combo of CTRL,SHIFT,ENTER:

=MAX(IF(B1:B8="A",C1:C8))

=MIN(IF(B1:B8="A",C1:C8))

Biff

-----Original Message-----
Hi,

I have three columns. One column has names of people, one

has a alphabet
(e.g. A, B, C, D and E) and the third has a rating (e.g.

1.0 to 5.0) I would
like to get the minimum and maximum of the ratings

corresponding to A, then
B, C, D and E.

Can someone help me do this? I can do it using Pivot

table, but I dont want
to use it in this case.

Thanks,
Sando
.



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

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