brownt21390
New Member
- Joined
- Aug 30, 2018
- Messages
- 3
I'm working on constantly changing retail price for a list of items, and I want to pull the most recent price based on date.
For a simple example, if column A is Item # (A1), column B is Price (B1), & column C is Date (C1), let's say one unique item is Apple, and there are 3 entries for Apple (A2,A3,A4), the first for $1.00 (B2) dated 1/1/18 (C2), the second for $2.00 (B3) at 2/1/18 (C3), and the third for $3.00 (B4) at 3/1/18 (C4).
Let's say my results' table is F1:G2, where F1 is Item #, G1 is Price, F2 the item I'm looking for a result (Apple), and G2 is my result formula:
Right now, I've come up with {=MAX(IF(F2=$A$2:$A$4,$C$2:$C$4))} (which gives a result of 43160 or 3/1/18 in date form) to give me a match to the max possible date which Apple's price has changed, but now I want my result to show price relative to that date ($3.00).
How do I now make reference to this?
Thanks for any and all help!
For a simple example, if column A is Item # (A1), column B is Price (B1), & column C is Date (C1), let's say one unique item is Apple, and there are 3 entries for Apple (A2,A3,A4), the first for $1.00 (B2) dated 1/1/18 (C2), the second for $2.00 (B3) at 2/1/18 (C3), and the third for $3.00 (B4) at 3/1/18 (C4).
Let's say my results' table is F1:G2, where F1 is Item #, G1 is Price, F2 the item I'm looking for a result (Apple), and G2 is my result formula:
Right now, I've come up with {=MAX(IF(F2=$A$2:$A$4,$C$2:$C$4))} (which gives a result of 43160 or 3/1/18 in date form) to give me a match to the max possible date which Apple's price has changed, but now I want my result to show price relative to that date ($3.00).
How do I now make reference to this?
Thanks for any and all help!