J
John
Could anyone assist me with an error I'm having with the formula below, it
returns a #N/A.
What I'm trying to achieve is the return of the Closing Stock of Product
that is detailed in H6, for location "3047". The reason that I'm using the
MAX date between "Input!AA1" and "Index!AA2" detailed within the range name
"SalesDate" is because my data that contains the closing stock also contains
other stock movements and the 'youngest date' is the most relevant closing
stock
=INDEX(Closing_Stocks,MATCH(MAX((StoreNo=3047)*(Inventory_No=$H$6)*(SalesDate>=Input!AA1)*(SalesDate<=Input!AA2)*SalesDate),SalesDate,0))
I've checked that all my range names are the same length
Thanks
returns a #N/A.
What I'm trying to achieve is the return of the Closing Stock of Product
that is detailed in H6, for location "3047". The reason that I'm using the
MAX date between "Input!AA1" and "Index!AA2" detailed within the range name
"SalesDate" is because my data that contains the closing stock also contains
other stock movements and the 'youngest date' is the most relevant closing
stock
=INDEX(Closing_Stocks,MATCH(MAX((StoreNo=3047)*(Inventory_No=$H$6)*(SalesDate>=Input!AA1)*(SalesDate<=Input!AA2)*SalesDate),SalesDate,0))
I've checked that all my range names are the same length
Thanks