L
lmw
trying to use iif and between...something is wrong..
=iif([DaysBetwSt-Rpt] < -210, “<-210â€, iif([DaysBetwSt-Rpt] >= -210 And
iif([DaysBetwSt-Rpt] >= -30 And< -15,"(30)-(16)â€, iif([DaysBetwSt-Rpt] >=
-15 And 0, "(15)-(1)â€, iif([DaysBetwSt-Rpt] >= 0 And <16,"0-15â€,
iif([DaysBetwSt-Rpt] >=16 And <31,"16-30â€, iif([DaysBetwSt-Rpt] >= 31 And <=
61,"31-60â€, iif([DaysBetwSt-Rpt] >= 61 And <91,"61-90â€,
iif([DaysBetwSt-Rpt] >= 91 And <121,"91-120â€, iif([DaysBetwSt-Rpt] >= 121
And <151,"121-150â€, iif([DaysBetwSt-Rpt]>= 151 And <181,"151-180â€,
iif([DaysBetwSt-Rpt] >= 181 And <211,"181-210â€, "211+")))))))))))))))))
=iif([DaysBetwSt-Rpt] < -210, “<-210â€, iif([DaysBetwSt-Rpt] >= -210 And
<-60,"(90)-(61)â€, iif([DaysBetwSt-Rpt] >= -60 And <-30,"(60)-(31)â€,= -120 And <-90, "(120)-(91)â€, iif([DaysBetwSt-Rpt] >= -90 And
iif([DaysBetwSt-Rpt] >= -30 And< -15,"(30)-(16)â€, iif([DaysBetwSt-Rpt] >=
-15 And 0, "(15)-(1)â€, iif([DaysBetwSt-Rpt] >= 0 And <16,"0-15â€,
iif([DaysBetwSt-Rpt] >=16 And <31,"16-30â€, iif([DaysBetwSt-Rpt] >= 31 And <=
61,"31-60â€, iif([DaysBetwSt-Rpt] >= 61 And <91,"61-90â€,
iif([DaysBetwSt-Rpt] >= 91 And <121,"91-120â€, iif([DaysBetwSt-Rpt] >= 121
And <151,"121-150â€, iif([DaysBetwSt-Rpt]>= 151 And <181,"151-180â€,
iif([DaysBetwSt-Rpt] >= 181 And <211,"181-210â€, "211+")))))))))))))))))