Hi, sorry new to Access apologies if there is a simple answer. moving an Excel file to Access
The requirement:
A record is added to the table with a DateRaised on the form. When that record is closed a date is added to the CloseOutDate. An Age field is calculated.
I want a query that adds all the records between 1-7 Days, 8-14 Days, 15-21 Days, 22-29 Days, 30-59 Days, 60+ Days.
In Excel I used the following
Code:
=COUNTIFS('Sheet 1'!V2:V244,">0", 'Sheet 1'!V2:V244,"<8")
In Access I've tried:
Code:
1-7 Days: Sum(IIf([Age] Between "0" And "7",1,0))
Thanks in advanced