Use the table’s granularity
Write Date with the grain used by the formula:Reference a nearby period
The compact lookup uses the formula’s current Date grain:offset:
Select a fixed period
Read part of a date
weekday, weeknum, and isoweeknum.
Find a period boundary
Calculate between dates
datedif uses Excel-style unit codes such as Y, M, and D.