Dear Excelists,
I'd appreciate your comments on the following problem:
I do have a data table with the project name in the 1st colum, duration of the problem in the 2nd colum and some parameter in the 3rd colum.
I want ro review the (min/max) duration of activities for project A or B, but only including those activities that already produced some output (parameter).
For the minimum duration, I'm trying to do this by using the subtotal function =subtotal(105;B2:B11). But when i filter for project A or B, this formula returns the minimum over the entire filtered range.
However i would like to have the minmum or maximum only those cells with non-empty rows in the parameter colum (the cell with bold numbers in the above table).
If done correctly i would only include the cells highlighted in yellow (project A) or blue (project B) in my review (see the attached screenshot).
And i'd obtain the following result:
Project A: min 2, max 24
Project B: min 12, max 60
Any help is highly appreciated!
I'd appreciate your comments on the following problem:
I do have a data table with the project name in the 1st colum, duration of the problem in the 2nd colum and some parameter in the 3rd colum.
| Time | Parameter | |
---|---|---|---|
A | 2 | 20 | |
A | 4 | ||
B | 12 | 15 | |
A | 24 | 30 | |
B | 60 | 40 | |
B | 12 | ||
A | 48 | ||
A | 4 | 25 | |
A | 4 | ||
A | 8 |
I want ro review the (min/max) duration of activities for project A or B, but only including those activities that already produced some output (parameter).
For the minimum duration, I'm trying to do this by using the subtotal function =subtotal(105;B2:B11). But when i filter for project A or B, this formula returns the minimum over the entire filtered range.
However i would like to have the minmum or maximum only those cells with non-empty rows in the parameter colum (the cell with bold numbers in the above table).
If done correctly i would only include the cells highlighted in yellow (project A) or blue (project B) in my review (see the attached screenshot).
And i'd obtain the following result:
Project A: min 2, max 24
Project B: min 12, max 60
Any help is highly appreciated!