IIf (Şart1 ; Değer1 ;
IIf (Şart2 ; Değer2 ;
IIf (Şart3 ; Değer3 ;
Değer4 )))
şeklindedir. Buna göre oluşturmanız gereken formüldeyatayseritdelme:
IIf ([yataytulboyu] Between 0 And 110, ([yataytulboyu] - 10) / 4,
IIf ([yataytulboyu] Between 111 And 180, ([yataytulboyu] - 10) / 5,
IIf ([yataytulboyu] Between 181 And 240, ([yataytulboyu] - 10) / 7,
IIf ([yataytulboyu] Between 241 And 270, ([yataytulboyu] - 10) / 9,
Null))))
şeklinde düzenlenmelidir.