Hi,
Can someone pls. assist me with a query I would like to write in Access. The objective of the query is to categorize yearly data into specific term buckets.
Examples noted below:
Term= 3.8 yrs >> Expected result= "< 5 yrs"
Term= 7.9 yrs >> Expected result= "10 yrs"
I wrote the following query but it does not work:
IIf(Is Null ([Term])=Is Null, " ", (IIf([Term]<=5), "< 5 yrs",(IIf([Term]>5 AND ([Term])<=7),"7 yrs", (IIf([Term]>7 AND ([Term])<=10),"10 yrs", (IIf([Term]>10 AND ([Term])<=15),"15 yrs","> 15 yrs"))
I appreciate your assistance in this matter.