JennyLeah331
New Member
- Joined
- May 16, 2011
- Messages
- 3
In a nutshell, I'm running a schedule adherence report, finding out people's login and logout times, comparing them to their scheduled in and out times, and if they're off, the cells are blank, if they're not showing up on a day they're scheduled, I need it to return 0, and if they're arriving late or leaving early, I need it to return a 1. What I've got works. But I'm pushing the limit of the number of IF's I can use, which is a pet peeve. So once again, I'm asking you Excel gurus to help a girl out and streamline where possible:
=IF(('in | out times'!BE25="")*AND('in | out times'!BF25=""),(IF((schedule!D65="")*AND(schedule!E65=""),"",0)),(IF(('in | out times'!BE25<=(schedule!D65+0.002766))*AND('in | out times'!BF25>=(schedule!E65-0.002766)),2,(IF('in | out times'!BE25>(schedule!D65+0.002766),1,(IF('in | out times'!BF25<(schedule!E65-0.002766),1,0)))))))
Thanks so much!
=IF(('in | out times'!BE25="")*AND('in | out times'!BF25=""),(IF((schedule!D65="")*AND(schedule!E65=""),"",0)),(IF(('in | out times'!BE25<=(schedule!D65+0.002766))*AND('in | out times'!BF25>=(schedule!E65-0.002766)),2,(IF('in | out times'!BE25>(schedule!D65+0.002766),1,(IF('in | out times'!BF25<(schedule!E65-0.002766),1,0)))))))
Thanks so much!