Hi, I have several queries based around the financial year so they mostly begin in April (01/04). The following code will count all rows in April of the current year, but if I run it in January it obviously returns zero.
I know I can add DATE()-1 to go back to the previous year but then if you run it in May it will return results for April the previous year.
So what I need is a way of going back to the last April regardless of the current month.
Thanks
Code:
Count(IIf([RTB1] Between "01/04/" & Year(Date()) And "30/04/" & Year(Date()),0))
So what I need is a way of going back to the last April regardless of the current month.
Thanks