If possible, please can someone assist me in simplifying the formula I have just created to calculate SLA on a day to day basis. I have tried to break it down as simply as possible below:
For reference, here is the text version:
=IF( Yesterday Production Total = 0 , 0 ,
IF(AND( SLA Production < SLA Intake , Yesterday In SLA > 0 , Yesterday Out SLA - Yesterday Production + SUM( SLA Intake – SLA Production ) > 0 , SUM( Yesterday In SLA + Yesterday Intake – SUM( SLA Intake – SLA Production ))<0), Yesterday OUT SLA – Yesterday Production + SUM( SLA Intake – SLA Production ) + Yesterday In SLA + Yesterday Intake – SUM( SLA Intake – SLA Production ),
IF(AND( SLA Production < SLA Intake , Yesterday In SLA > 0 , Yesterday Out SLA – Yesterday Production + SUM( SLA Intake – SLA Production )>0),IF( Yesterday Out SLA – Yesterday Production + SUM( SLA Intake – SLA Production )> Yesterday Out SLA + Yesterday In SLA – Yesterday Production , Yesterday Out SLA + Yesterday In SLA – Yesterday Production , Yesterday Out SLA – Yesterday Production + SUM( SLA Intake – SLA Production )),
IF( Yesterday Out SLA – Yesterday Production <0,0, Yesterday Out SLA – Yesterday Production ))))
Any help would be greatly appreciated! This one has been hell to transpose, as I am sure you can imagine :o)
I am also currently working on a similar formula to calculate inside SLA, which I may also need cutting down, if it is possible.
Many thanks for any help you can provide
Jenn
Bookmarks