I'm trying to convert an Excel template over to Access, and in doing so I need to simulate a vlookup/true formula within my query.
In the column I'm trying to return, I am using the DateDiff() expression to capture the number of days between two dates, which will range from 0 into the thousands. I have joining table that lumps together aging "buckets", which in Excel is done via vlookup/true (closest match). It looks like this:
AGE ....AGING BUCKET
0 .........0-30
31 .......31-60
61 .......61-90
91 .......91-120
121 .....121-150
And so on, etc.
Is there a query expression or joining method that will achieve the same result?
Thanks,