grchang
Programmer
- Jun 7, 2012
- 1
Hi All,
I need help on the syntex for example below.
Contract # Tier Price
12345 1 3
12345 2 2
12345 3 5
22345 1 6
22345 2 4
33333 -1
I want to have a formula that gives me the price for the highest tier for each of the contract and if the contract has -1 in tier then give me the price at 0. Therefore, from the sample above, my result of this formula will provide me contract #12345 @ price of 5; contract #22345 @ price of 4 and contract #33333 @ price 0.
Anyone? Thank you
I need help on the syntex for example below.
Contract # Tier Price
12345 1 3
12345 2 2
12345 3 5
22345 1 6
22345 2 4
33333 -1
I want to have a formula that gives me the price for the highest tier for each of the contract and if the contract has -1 in tier then give me the price at 0. Therefore, from the sample above, my result of this formula will provide me contract #12345 @ price of 5; contract #22345 @ price of 4 and contract #33333 @ price 0.
Anyone? Thank you