Hi
If in my first column (say A) I have multiple listings of a transaction number, yet in column B I only have occasional listings of a PO number, how can I get Excel to look up the transaction number and return the PO number on the assumption that the PO may not necessarily be the first item listed. For example
Column A Column B
123 (blank)
123 (blank)
123 (blank)
123 CB456
123 (blank)
123 (blank)
In this example, I need Excel to essentially do something equivalent to a vlookup and lookup tran number 123 and return the value CB456. However, obviously vlookup would only return zero as the first time it encounters tran 123 it has a blank in column B.
I keep thinking it can't be that hard and there must be some sort of formula that says "Look up this tran number, and give me the number in column B the first time you see anything >0".
Please help as something so simple is becoming frustrating!
Mel
If in my first column (say A) I have multiple listings of a transaction number, yet in column B I only have occasional listings of a PO number, how can I get Excel to look up the transaction number and return the PO number on the assumption that the PO may not necessarily be the first item listed. For example
Column A Column B
123 (blank)
123 (blank)
123 (blank)
123 CB456
123 (blank)
123 (blank)
In this example, I need Excel to essentially do something equivalent to a vlookup and lookup tran number 123 and return the value CB456. However, obviously vlookup would only return zero as the first time it encounters tran 123 it has a blank in column B.
I keep thinking it can't be that hard and there must be some sort of formula that says "Look up this tran number, and give me the number in column B the first time you see anything >0".
Please help as something so simple is becoming frustrating!
Mel