Forum Discussion
excel logic
- Oct 02, 2019
For such sample
in F3
=IF( $C3<$D3, $B$1-MIN($B$1,$C3)+MAX($A$1,$D3)-$A$1, MOD( MIN($D3,$B$1)-MAX($C3,$A$1),1) )
SergeiBaklan THERE IS CONDITION THAT NIGHT HOURS IS TREATED FROM 20:00 TO 04:00 HOW TO CALCULATION NIGHT HOURS BETWEEN TIME IN AND TIME OUT DATA
BRIJESH_KUMAR_KUSHWAHA Can you please find the Caps Lock key on your keyboard and turn it off? Writing in all upper case on the internet is perceived as SHOUTING and considered impolite.
- SergeiBaklanOct 02, 2019Diamond Contributor
IngeborgHawighorst , thank you
BRIJESH_KUMAR_KUSHWAHA , please check TechComm Code of Conduct https://techcommunity.microsoft.com/t5/Community-Guidelines/Microsoft-Tech-Community-Code-of-Conduct/m-p/31390, DON'T section (Don't: Use crazy fonts, profanity or ALL CAPS. All caps and strange fonts are annoying.)
- BRIJESH_KUMAR_KUSHWAHAOct 03, 2019Copper Contributor
Sorry for CAP Lock letter my English is very weak
and also thanks for solving my problem SergeiBaklan