Hello all,
I'm looking to output a check time, based on a user-inputted time. I came up with the following statement, but it has too many levels of nesting - can anyone think of a way that I can do this?
=IF(F2<0,"1:30",(IF(0<F2<(120/1440),"3:30",IF((120/1440)<F2<(240/1440),"5:30",(IF((240/1440)<F2<(360/1440),"7:30",(IF((360/1440)<F2<(480/1440),"9:30",(IF((480/1440)<F2<(600/1440),"11:30",(IF((600/1440)<F2<(720/1440),"13:30",(IF((720/1440)<F2<(840/1440),"15:30",(IF((840/1440)<F2<(960/1440),"17:30",(IF((960/1440)<F2<(1080/1440),"19:30",(IF((1080/1440)<F2<(1200/1440),"21:30",(IF((1200/1440)<F2<(1320/1440),"23:30","1:30")))))))))))))))))))))))
Thanks!
Sally
Bookmarks