Hi,
I have a 4 columns: Date(itemA), Price(itemA), Date(itemB), Price(itemB).
I need to find the difference of Price(itemA) and Price(itemB) for each day.
However, there are more data/date on itemB than itemA.
So I can't use a simple formula of (=B2-D2). Since date for B2 may not be the same date for D2.
I wonder how could I structure my formula, perhaps using "if" and "vlookup"
to find the difference of Price of the 2 items for each day.
Thank you!
I have a 4 columns: Date(itemA), Price(itemA), Date(itemB), Price(itemB).
I need to find the difference of Price(itemA) and Price(itemB) for each day.
However, there are more data/date on itemB than itemA.
So I can't use a simple formula of (=B2-D2). Since date for B2 may not be the same date for D2.
I wonder how could I structure my formula, perhaps using "if" and "vlookup"
to find the difference of Price of the 2 items for each day.
Thank you!