Hello,
I'm trying to put together a formula that will look at 2 columns and based on criteria for those columns to return the corresponding value of a 3rd column.
IE. I want to retrieve the smallest revenue of only subtotal clients with an Operating Income of 0.
Column A: Client, Column B: Revenue, Column C: Operating Income
A1: XXXX B1: 50 C1: 20
A2: Subtotal B2: 200 C2: 0
A3: YYYY B3: 55 C3: 24
A4: ZZZZ B4: 480 C4: 0
A5: Subtotal B5: 30 C5: 0
A6: Subtotal B6: 95 C6: 40
In this case, the answer would be 30.
I am using the following formula but it does not work well.
={SMALL(IF(AND(A:A="Sub-total",C:C=0), B:B, 9E+99), 1)}
thank you!
I'm trying to put together a formula that will look at 2 columns and based on criteria for those columns to return the corresponding value of a 3rd column.
IE. I want to retrieve the smallest revenue of only subtotal clients with an Operating Income of 0.
Column A: Client, Column B: Revenue, Column C: Operating Income
A1: XXXX B1: 50 C1: 20
A2: Subtotal B2: 200 C2: 0
A3: YYYY B3: 55 C3: 24
A4: ZZZZ B4: 480 C4: 0
A5: Subtotal B5: 30 C5: 0
A6: Subtotal B6: 95 C6: 40
In this case, the answer would be 30.
I am using the following formula but it does not work well.
={SMALL(IF(AND(A:A="Sub-total",C:C=0), B:B, 9E+99), 1)}
thank you!