0

Find value between two dates

Hi,

I need to return a price which sits in a modified NAV table that is filtered by Location, Item and date.

There is a Starting Date field and Ending date field that the price is current for. Sometimes it's the same date (i.e. valid for one day) but over weekends, it could be a number of days.

What I'm having trouble with is the filter to extract the price if the actual date falls between a different Start and End date

=NL("first","Price rate","rate","datasource=",$C$5,"Company=",$C$6,"Location Code",$G10,"Product No.",$H10,"Component code","ABC","Starting Date",???,"Ending Date",?????)

I was expecting just to use <,>,= in front of the Date I want to use but they seem to be invalid options.

The end of the formula is where I'm stuck. Although, I may well be way off course!

I hope this makes sense….. :?

I had a search for similar questions but couldn't find any, so any help would be gratefully accepted! :D

Many thanks,
Stuart

4 comments

Please sign in to leave a comment.