Hi,
This is my 1st post here as I have just signed up.
I am not able to find a working formula for my Price development table (attached). I expect it to do the following:
- List unique dates (Date) from the source table (T) horizontaly - DONE
- List unique part numbers (PN) vertically - DONE
- Display Price which based on the corresponding Date (start date of price validity) and PN (Part Number) from the source table. The price should be displayed for each PN either as a previous valid price before the Date or matching the Date in the source table.
I was able to display previous price with INDEX(Price;XMATCH(K$1;Date+1;-1)) but it did not display price matching to the date from the source table. I also do not get how to use multiple criteria in XMATCH so that I would add PN criteria to it.
The green, manually created table represents the desired outcome.
Many thanks for help
Tomas
Price development.xlsx
Bookmarks