Hello, I need help with this formula. From the lookup table below in Sheet2, cells A1:D7, if I have a formula in cell A1 of Sheet1 as: =vlookup("50016A",Sheet2!$A$1:$D$7,4,FALSE) the formula will return a value of "FIXED" because vlookup will always look at the first lookup value and ignore the rest.
How would I edit this formula such that I only want it to return a value that is not "FIXED"? In other words for lookup value "50016A", I want the formula to return a value of "KENNY", lookup value "50017A" to return a value of "LIBOR" and 50018A a value of "LIBOR".
It seems to me that I would need an IF condition embedded in the vlookup formula. Please help! Thank you.
TradeId Type PorS INTEREST_dmIndex
50016A SWAP S FIXED
50016A SWAP P KENNY
50017A SWAP S LIBOR
50017A SWAP P FIXED
50018A SWAP S LIBOR
50018A SWAP P FIXED
How would I edit this formula such that I only want it to return a value that is not "FIXED"? In other words for lookup value "50016A", I want the formula to return a value of "KENNY", lookup value "50017A" to return a value of "LIBOR" and 50018A a value of "LIBOR".
It seems to me that I would need an IF condition embedded in the vlookup formula. Please help! Thank you.
TradeId Type PorS INTEREST_dmIndex
50016A SWAP S FIXED
50016A SWAP P KENNY
50017A SWAP S LIBOR
50017A SWAP P FIXED
50018A SWAP S LIBOR
50018A SWAP P FIXED