maabadi
Well-known Member
- Joined
- Oct 22, 2012
- Messages
- 2,681
- Office Version
- 2019
- 2016
- Platform
- Windows
I want to give sum of working time at Time Period from Date N1 to Date O1. formula writes in N2 Cell.
This is Formula : =SUMIFS($J:$J,$L:$L,1,$B:$B,B3,$F:$F,$N$1,$F:$F,$O$1)
what is problem answer is zero
[TABLE="width: 500"]
<tbody>[TABLE="width: 1249"]
<colgroup><col span="2"><col><col><col><col><col><col><col><col><col><col><col span="4"></colgroup><tbody>[TR]
[TD][/TD]
[TD="align: left"]A[/TD]
[TD="align: left"]B[/TD]
[TD="align: left"]C[/TD]
[TD="align: left"]D[/TD]
[TD="align: left"]E[/TD]
[TD="align: left"]F[/TD]
[TD="align: left"]G[/TD]
[TD="align: left"]H[/TD]
[TD="align: left"]I[/TD]
[TD="align: left"]J[/TD]
[TD="align: left"]K[/TD]
[TD="align: left"]L[/TD]
[TD="align: left"]M[/TD]
[TD="align: left"]N[/TD]
[TD="align: left"]O[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: left"]Row No.[/TD]
[TD="align: left"]Card No.[/TD]
[TD="align: left"]Card&Row No.[/TD]
[TD="align: left"]First Name[/TD]
[TD="align: left"]Last Name[/TD]
[TD="align: left"]Date[/TD]
[TD="align: left"]Week Day[/TD]
[TD="align: left"]Input Time[/TD]
[TD="align: left"]Output Time[/TD]
[TD="align: left"]Presence Time[/TD]
[TD]Charged Sentry[/TD]
[TD="colspan: 2, align: left"]Total days Report[/TD]
[TD]>=3/20/2014[/TD]
[TD]<=3/31/2014[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100001[/TD]
[TD="align: left"]Mohammad[/TD]
[TD="align: left"]Ahmadi[/TD]
[TD]3/20/2014[/TD]
[TD="align: left"]Thursday[/TD]
[TD="align: right"]10:58:00[/TD]
[TD="align: right"]22:15:00[/TD]
[TD="align: right"]11:17:00[/TD]
[TD="align: left"]Sunday Shift 4[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100002[/TD]
[TD="align: left"]Mohammad[/TD]
[TD="align: left"]Ahmadi[/TD]
[TD]3/23/2014[/TD]
[TD="align: left"]Sunday[/TD]
[TD="align: right"]10:25:00[/TD]
[TD="align: right"]15:00:00[/TD]
[TD="align: right"]04:35:00[/TD]
[TD="align: left"]Sunday Shift 4[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100003[/TD]
[TD="align: left"]Mohammad[/TD]
[TD="align: left"]Ahmadi[/TD]
[TD]3/28/2014[/TD]
[TD="align: left"]Friday[/TD]
[TD="align: right"]10:00:00[/TD]
[TD="align: right"]16:00:00[/TD]
[TD="align: right"]06:00:00[/TD]
[TD="align: left"]Sunday Shift 4[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100004[/TD]
[TD="align: left"]Mohammad[/TD]
[TD="align: left"]Ahmadi[/TD]
[TD]3/31/2014[/TD]
[TD="align: left"]Monday[/TD]
[TD="align: right"]13:00:00[/TD]
[TD="align: right"]17:00:00[/TD]
[TD="align: right"]04:00:00[/TD]
[TD="align: left"]Sunday Shift 4[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100005[/TD]
[TD="align: left"]Mohammad[/TD]
[TD="align: left"]Ahmadi[/TD]
[TD]4/1/2014[/TD]
[TD="align: left"]Tuesday[/TD]
[TD="align: right"]12:00:00[/TD]
[TD="align: right"]15:00:00[/TD]
[TD="align: right"]03:00:00[/TD]
[TD="align: left"]Sunday Shift 4[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100006[/TD]
[TD="align: left"]Mohammad[/TD]
[TD="align: left"]Ahmadi[/TD]
[TD]4/3/2014[/TD]
[TD="align: left"]Thursday[/TD]
[TD="align: right"]09:40:00[/TD]
[TD="align: right"]21:00:00[/TD]
[TD="align: right"]11:20:00[/TD]
[TD="align: left"]Sunday Shift 4[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]8[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]102001[/TD]
[TD="align: left"]Qasem[/TD]
[TD="align: left"]Saadatvand[/TD]
[TD]3/29/2014[/TD]
[TD="align: left"]Saturday[/TD]
[TD="align: right"]11:20:00[/TD]
[TD="align: right"]15:00:00[/TD]
[TD="align: right"]03:40:00[/TD]
[TD="align: left"]Saturday Shift 3[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]9[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]102002[/TD]
[TD="align: left"]Qasem[/TD]
[TD="align: left"]Saadatvand[/TD]
[TD]3/30/2014[/TD]
[TD="align: left"]Sunday[/TD]
[TD="align: right"]11:00:00[/TD]
[TD="align: right"]15:30:00[/TD]
[TD="align: right"]04:30:00[/TD]
[TD="align: left"]Saturday Shift 3[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]10[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]102003[/TD]
[TD="align: left"]Qasem[/TD]
[TD="align: left"]Saadatvand[/TD]
[TD]3/31/2014[/TD]
[TD="align: left"]Monday[/TD]
[TD="align: right"]11:00:00[/TD]
[TD="align: right"]15:00:00[/TD]
[TD="align: right"]04:00:00[/TD]
[TD="align: left"]Saturday Shift 3[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]11[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]102004[/TD]
[TD="align: left"]Qasem[/TD]
[TD="align: left"]Saadatvand[/TD]
[TD]4/1/2014[/TD]
[TD="align: left"]Tuesday[/TD]
[TD="align: right"]11:00:00[/TD]
[TD="align: right"]14:30:00[/TD]
[TD="align: right"]03:30:00[/TD]
[TD="align: left"]Saturday Shift 3[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]12[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]102005[/TD]
[TD="align: left"]Qasem[/TD]
[TD="align: left"]Saadatvand[/TD]
[TD]4/2/2014[/TD]
[TD="align: left"]Wednesday[/TD]
[TD="align: right"]11:00:00[/TD]
[TD="align: right"]15:20:00[/TD]
[TD="align: right"]04:20:00[/TD]
[TD="align: left"]Saturday Shift 3[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
</tbody>[/TABLE]
Thanks
Maabadi
This is Formula : =SUMIFS($J:$J,$L:$L,1,$B:$B,B3,$F:$F,$N$1,$F:$F,$O$1)
what is problem answer is zero
[TABLE="width: 500"]
<tbody>[TABLE="width: 1249"]
<colgroup><col span="2"><col><col><col><col><col><col><col><col><col><col><col span="4"></colgroup><tbody>[TR]
[TD][/TD]
[TD="align: left"]A[/TD]
[TD="align: left"]B[/TD]
[TD="align: left"]C[/TD]
[TD="align: left"]D[/TD]
[TD="align: left"]E[/TD]
[TD="align: left"]F[/TD]
[TD="align: left"]G[/TD]
[TD="align: left"]H[/TD]
[TD="align: left"]I[/TD]
[TD="align: left"]J[/TD]
[TD="align: left"]K[/TD]
[TD="align: left"]L[/TD]
[TD="align: left"]M[/TD]
[TD="align: left"]N[/TD]
[TD="align: left"]O[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: left"]Row No.[/TD]
[TD="align: left"]Card No.[/TD]
[TD="align: left"]Card&Row No.[/TD]
[TD="align: left"]First Name[/TD]
[TD="align: left"]Last Name[/TD]
[TD="align: left"]Date[/TD]
[TD="align: left"]Week Day[/TD]
[TD="align: left"]Input Time[/TD]
[TD="align: left"]Output Time[/TD]
[TD="align: left"]Presence Time[/TD]
[TD]Charged Sentry[/TD]
[TD="colspan: 2, align: left"]Total days Report[/TD]
[TD]>=3/20/2014[/TD]
[TD]<=3/31/2014[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100001[/TD]
[TD="align: left"]Mohammad[/TD]
[TD="align: left"]Ahmadi[/TD]
[TD]3/20/2014[/TD]
[TD="align: left"]Thursday[/TD]
[TD="align: right"]10:58:00[/TD]
[TD="align: right"]22:15:00[/TD]
[TD="align: right"]11:17:00[/TD]
[TD="align: left"]Sunday Shift 4[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100002[/TD]
[TD="align: left"]Mohammad[/TD]
[TD="align: left"]Ahmadi[/TD]
[TD]3/23/2014[/TD]
[TD="align: left"]Sunday[/TD]
[TD="align: right"]10:25:00[/TD]
[TD="align: right"]15:00:00[/TD]
[TD="align: right"]04:35:00[/TD]
[TD="align: left"]Sunday Shift 4[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100003[/TD]
[TD="align: left"]Mohammad[/TD]
[TD="align: left"]Ahmadi[/TD]
[TD]3/28/2014[/TD]
[TD="align: left"]Friday[/TD]
[TD="align: right"]10:00:00[/TD]
[TD="align: right"]16:00:00[/TD]
[TD="align: right"]06:00:00[/TD]
[TD="align: left"]Sunday Shift 4[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100004[/TD]
[TD="align: left"]Mohammad[/TD]
[TD="align: left"]Ahmadi[/TD]
[TD]3/31/2014[/TD]
[TD="align: left"]Monday[/TD]
[TD="align: right"]13:00:00[/TD]
[TD="align: right"]17:00:00[/TD]
[TD="align: right"]04:00:00[/TD]
[TD="align: left"]Sunday Shift 4[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100005[/TD]
[TD="align: left"]Mohammad[/TD]
[TD="align: left"]Ahmadi[/TD]
[TD]4/1/2014[/TD]
[TD="align: left"]Tuesday[/TD]
[TD="align: right"]12:00:00[/TD]
[TD="align: right"]15:00:00[/TD]
[TD="align: right"]03:00:00[/TD]
[TD="align: left"]Sunday Shift 4[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100006[/TD]
[TD="align: left"]Mohammad[/TD]
[TD="align: left"]Ahmadi[/TD]
[TD]4/3/2014[/TD]
[TD="align: left"]Thursday[/TD]
[TD="align: right"]09:40:00[/TD]
[TD="align: right"]21:00:00[/TD]
[TD="align: right"]11:20:00[/TD]
[TD="align: left"]Sunday Shift 4[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]8[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]102001[/TD]
[TD="align: left"]Qasem[/TD]
[TD="align: left"]Saadatvand[/TD]
[TD]3/29/2014[/TD]
[TD="align: left"]Saturday[/TD]
[TD="align: right"]11:20:00[/TD]
[TD="align: right"]15:00:00[/TD]
[TD="align: right"]03:40:00[/TD]
[TD="align: left"]Saturday Shift 3[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]9[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]102002[/TD]
[TD="align: left"]Qasem[/TD]
[TD="align: left"]Saadatvand[/TD]
[TD]3/30/2014[/TD]
[TD="align: left"]Sunday[/TD]
[TD="align: right"]11:00:00[/TD]
[TD="align: right"]15:30:00[/TD]
[TD="align: right"]04:30:00[/TD]
[TD="align: left"]Saturday Shift 3[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]10[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]102003[/TD]
[TD="align: left"]Qasem[/TD]
[TD="align: left"]Saadatvand[/TD]
[TD]3/31/2014[/TD]
[TD="align: left"]Monday[/TD]
[TD="align: right"]11:00:00[/TD]
[TD="align: right"]15:00:00[/TD]
[TD="align: right"]04:00:00[/TD]
[TD="align: left"]Saturday Shift 3[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]11[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]102004[/TD]
[TD="align: left"]Qasem[/TD]
[TD="align: left"]Saadatvand[/TD]
[TD]4/1/2014[/TD]
[TD="align: left"]Tuesday[/TD]
[TD="align: right"]11:00:00[/TD]
[TD="align: right"]14:30:00[/TD]
[TD="align: right"]03:30:00[/TD]
[TD="align: left"]Saturday Shift 3[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]12[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]102005[/TD]
[TD="align: left"]Qasem[/TD]
[TD="align: left"]Saadatvand[/TD]
[TD]4/2/2014[/TD]
[TD="align: left"]Wednesday[/TD]
[TD="align: right"]11:00:00[/TD]
[TD="align: right"]15:20:00[/TD]
[TD="align: right"]04:20:00[/TD]
[TD="align: left"]Saturday Shift 3[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
</tbody>[/TABLE]
Thanks
Maabadi