T
Tom
Good people of M.P.E.,
I have this formula on a timesheet
=IF(AND(Q38="-",Q47="+"),IF(R47-R38>R45,R47-R38,R38-R47),IF(AND(Q38="+",Q47="+"),IF(R47+R38>Q48,Q48,R47+R38),IF(AND(Q47="-",
Q38="+"),IF(R38-R47<0,R47-R38,IF(R38-R47>Q48,Q48,R38-R47)),R47+R38)))
It is to calculate and to carry flexi-time hours (up to a set maximum in
Q48) from one months time sheet to the next. It works as it is, however with
7 IF's and 3 AND's I'm sure someone will know a better way of doing this.
Any takers?
(Excel 2007 on XP btw)
Tom
I have this formula on a timesheet
=IF(AND(Q38="-",Q47="+"),IF(R47-R38>R45,R47-R38,R38-R47),IF(AND(Q38="+",Q47="+"),IF(R47+R38>Q48,Q48,R47+R38),IF(AND(Q47="-",
Q38="+"),IF(R38-R47<0,R47-R38,IF(R38-R47>Q48,Q48,R38-R47)),R47+R38)))
It is to calculate and to carry flexi-time hours (up to a set maximum in
Q48) from one months time sheet to the next. It works as it is, however with
7 IF's and 3 AND's I'm sure someone will know a better way of doing this.
Any takers?
(Excel 2007 on XP btw)
Tom