How to Split Shifts into Day/Night, Weekends

WaheedIqbal

New Member
Joined
Jun 5, 2018
Messages
5
Dear Excel experts,

I am required to make payroll payment to few (10-15) employees working in Security industry (Shift workers). The pays are determined by the timings of the shift i.e different rates of pay for Day shift (06:00 to 18:00), night shift (06:00 to 18:00), Saturday (24 hrs) and Sunday (24 hrs).

Please see sample data from the manual working i have done:
[TABLE="class: grid, width: 641"]
<colgroup><col><col><col><col><col><col span="4"></colgroup><tbody>[TR]
[TD]Date[/TD]
[TD]Shift[/TD]
[TD]Start Time[/TD]
[TD]Finish Time[/TD]
[TD]Hours[/TD]
[TD]Day[/TD]
[TD]Night[/TD]
[TD]Sat[/TD]
[TD]Sun[/TD]
[/TR]
[TR]
[TD="align: right"]14-03-18[/TD]
[TD]Wednesday[/TD]
[TD="align: right"]20:00[/TD]
[TD="align: right"]0:00[/TD]
[TD] 4.00[/TD]
[TD] [/TD]
[TD="align: right"]4[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"][TABLE="width: 68"]
<tbody>[TR]
[TD="class: xl65, width: 68, align: right"]16-03-18[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl65, width: 80"]Friday[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: right"][TABLE="width: 70"]
<tbody>[TR]
[TD="class: xl65, width: 70, align: right"]22:00[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: right"][TABLE="width: 78"]
<tbody>[TR]
[TD="class: xl65, width: 78, align: right"]2:15[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 49"]
<tbody>[TR]
[TD="class: xl65, width: 49"] 4.25 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD="align: right"][TABLE="width: 74"]
<tbody>[TR]
[TD="class: xl65, width: 74, align: right"]2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 74"]
<tbody>[TR]
[TD="class: xl65, width: 74, align: right"]2.25[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][TABLE="width: 68"]
<tbody>[TR]
[TD="class: xl65, width: 68, align: right"]17-03-18[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl65, width: 80"]Saturday[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: right"][TABLE="width: 70"]
<tbody>[TR]
[TD="class: xl65, width: 70, align: right"]15:00[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: right"][TABLE="width: 78"]
<tbody>[TR]
[TD="class: xl65, width: 78, align: right"]4:30[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 49"]
<tbody>[TR]
[TD="class: xl65, width: 49"] 13.50 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][TABLE="width: 74"]
<tbody>[TR]
[TD="class: xl65, width: 74, align: right"]9[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 74"]
<tbody>[TR]
[TD="class: xl65, width: 74, align: right"]4.5[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

The first four columns is what i get from my operations team and i then manually split the shifts into Day/Night/Sat/Sun.

Is there a way that this can be automated?

Many thanks for your help.

Regards,

Waheed
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi Waheed, and welcome to MrExcel,

Take a look at this and see if this helps:


Book1
ABCDEFGHIJKLMN
1DateShiftStart TimeFinish TimeHoursDayNightSatSunDay Shift06:00:0018:00:00
214-Mar-18Wednesday20:0000:004,00-4,0000
316-Mar-18Friday22:0002:154,25-4,2500
417-Mar-18Saturday15:0004:3013,50--13,50
Sheet1
Cell Formulas
RangeFormula
E2=SUM(F2:I2)
F2=IFERROR(((NETWORKDAYS.INTL((A2+C2),(IF(D2)+D2),"0000011",)-1)*($M$1-$L$1)+IF(NETWORKDAYS.INTL((IF(D2)+D2),(IF(D2)+D2),"0000011"),MEDIAN(MOD((IF(D2)+D2),1),$M$1,$L$1),$M$1)-MEDIAN(NETWORKDAYS.INTL((A2+C2),(A2+C2),"0000011")*MOD((A2+C2),1),$M$1,$L$1))*24,0)
G2=IF(WEEKDAY(A2,2)<6,(((A2+D2)-(A2+C2)+((A2+D2)<(A2+C2)))*24)-F2,0)
H2=IF(WEEKDAY(A2,2)=6,(((A2+D2)-(A2+C2)+((A2+D2)<(A2+C2)))*24),0)
I2=IF(WEEKDAY(A2,2)=7,(((A2+D2)-(A2+C2)+((A2+D2)<(A2+C2)))*24),0)
 
Upvote 0
Hi Joris

Thank you for your time and apologies for a delayed response.

I have tried the above and got following results: (sorry couldn't figure out how to paste excel sheet)

[TABLE="width: 592"]
<colgroup><col><col><col span="7"></colgroup><tbody>[TR]
[TD]Date[/TD]
[TD]Shift[/TD]
[TD]Start Time[/TD]
[TD]Finish Time[/TD]
[TD]Hours[/TD]
[TD]Day[/TD]
[TD]Night[/TD]
[TD]Sat[/TD]
[TD]Sunday[/TD]
[/TR]
[TR]
[TD]11-05-18[/TD]
[TD]Friday[/TD]
[TD="align: right"]22:00[/TD]
[TD="align: right"]2:00[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]-22[/TD]
[TD="align: right"]26[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]12-05-18[/TD]
[TD]Saturday[/TD]
[TD="align: right"]23:00[/TD]
[TD="align: right"]3:00[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]11-05-18[/TD]
[TD]Friday[/TD]
[TD="align: right"]22:00[/TD]
[TD="align: right"]2:00[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]-22[/TD]
[TD="align: right"]26[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]13-05-18[/TD]
[TD]Sunday[/TD]
[TD="align: right"]0:00[/TD]
[TD="align: right"]4:30[/TD]
[TD="align: right"]4.5[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]4.5[/TD]
[/TR]
[TR]
[TD]12-05-18[/TD]
[TD]Saturday[/TD]
[TD="align: right"]23:00[/TD]
[TD="align: right"]3:00[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]09-05-18[/TD]
[TD]Wednesday[/TD]
[TD="align: right"]20:00[/TD]
[TD="align: right"]1:15[/TD]
[TD="align: right"]5.25[/TD]
[TD="align: right"]-18.75[/TD]
[TD="align: right"]24[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]11-05-18[/TD]
[TD]Friday[/TD]
[TD="align: right"]21:00[/TD]
[TD="align: right"]1:45[/TD]
[TD="align: right"]4.75[/TD]
[TD="align: right"]-21[/TD]
[TD="align: right"]25.75[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]12-05-18[/TD]
[TD]Saturday[/TD]
[TD="align: right"]21:00[/TD]
[TD="align: right"]4:15[/TD]
[TD="align: right"]7.25[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]7.25[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]12-05-18[/TD]
[TD]Saturday[/TD]
[TD="align: right"]22:00[/TD]
[TD="align: right"]3:00[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]0

[/TD]
[/TR]
</tbody>[/TABLE]

As you can see, some adjustment to formula is required. the first row result should have been 2 hours under Friday and 2 under Saturday (changed from Friday to Saturday after midnight). Similarly, 2nd row result should have been 1 hour Saturday and 3 hour sunday. Can you please have a look.

Also I have client and employee name in first two columns A & B of the sheet. Can you please adjust the formulas for this.

Hope i have been able to explain. Many thanks again for your help.
Much appreciated.
 
Upvote 0
Hi,

try this:

Book1
CDEFGHIJKLMNO
1DateShiftStart TimeFinish TimeHoursDayNightSatSunDay Shift06:00:0018:00:00
211-5-2018Friday22:0002:004,000,002,002,000,00Sat/Sun00:00:0000:00:00
312-5-2018Saturday23:0003:004,000,000,001,003,00
411-5-2018Friday22:0002:004,000,002,002,000,00
513-5-2018Sunday00:0004:304,500,000,000,004,50
612-5-2018Saturday23:0003:004,000,000,001,003,00
79-5-2018Wednesday20:0001:155,250,005,250,000,00
811-5-2018Friday21:0001:454,750,003,001,750,00
912-5-2018Saturday21:0004:157,250,000,003,004,25
1012-5-2018Saturday22:0003:005,000,000,002,003,00
Sheet1
Cell Formulas
RangeFormula
H2=IFERROR(((NETWORKDAYS.INTL((C2+E2),(C2+(F2)+F2),"0000011",)-1)*($O$1-$N$1)+IF(NETWORKDAYS.INTL((IF(F2)+F2),(IF(F2)+F2),"0000011"),MEDIAN(MOD((IF(F2)+F2),1),$O$1,$N$1),$O$1)-MEDIAN(NETWORKDAYS.INTL((C2+E2),(C2+E2),"0000011")*MOD((C2+E2),1),$O$1,$N$1))*24,0)
I2=IF(WEEKDAY(C2,2)<6,(((C2+IF(AND(WEEKDAY(C2,2)=5,F2),$O$2,F2))-(C2+E2)+((C2+IF(AND(WEEKDAY(C2,2)=5,F2),$O$2,F2))<(C2+E2)))*24)-H2,0)
J2=IFERROR(((NETWORKDAYS.INTL((C2+E2),(IF(F2)+F2),"1111101")-1)*($O$2-$N$2)+IF(NETWORKDAYS.INTL((IF(F2)+F2),(IF(F2)+F2),"1111101"),MEDIAN(MOD((IF(F2)+F2),1),$O$2,$N$2),$O$2)-MEDIAN(NETWORKDAYS.INTL((C2+E2),(C2+E2),"1111101")*MOD((C2+E2),1),$O$2,$N$2))*24,0)
K2=IFERROR(((NETWORKDAYS.INTL((C2+E2),(IF(F2)+F2),"1111110")-1)*($O$2-$N$2)+IF(NETWORKDAYS.INTL((IF(F2)+F2),(IF(F2)+F2),"1111110"),MEDIAN(MOD((IF(F2)+F2),1),$O$2,$N$2),$O$2)-MEDIAN(NETWORKDAYS.INTL((C2+E2),(C2+E2),"1111110")*MOD((C2+E2),1),$O$2,$N$2))*24,0)
 
Upvote 0
HI Mate

Got this result which still is not correct. the total actual hours in the first shift are 4 whereas the formula result is only under "Night". There should be 2 under Sat also. the result in 2nd row is 0 only.

[TABLE="width: 832"]
<colgroup><col width="64" span="13" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl63, width: 64"][TABLE="width: 768"]
<colgroup><col width="64" span="12" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 64"]Date[/TD]
[TD="class: xl65, width: 64"]Shift[/TD]
[TD="class: xl65, width: 64"]Start Time[/TD]
[TD="class: xl65, width: 64"]Finish Time[/TD]
[TD="class: xl65, width: 64"]Actual Hrs[/TD]
[TD="class: xl65, width: 64"]Day[/TD]
[TD="class: xl65, width: 64"]Night[/TD]
[TD="class: xl65, width: 64"]Saturday[/TD]
[TD="class: xl65, width: 64"]Sunday[/TD]
[TD="class: xl71, width: 64"]Day Shift[/TD]
[TD="class: xl72, width: 64, align: right"]6:00:00[/TD]
[TD="class: xl73, width: 64, align: right"]18:00[/TD]
[/TR]
[TR]
[TD="class: xl66"]11-05-18[/TD]
[TD="class: xl67"]Friday[/TD]
[TD="class: xl68, align: right"]22:00[/TD]
[TD="class: xl68, align: right"]2:00[/TD]
[TD="class: xl69"] 4.00 [/TD]
[TD="class: xl70, align: right"]0[/TD]
[TD="class: xl70, align: right"]2[/TD]
[TD="class: xl70, align: right"]0[/TD]
[TD="class: xl70, align: right"]0[/TD]
[TD] Sat/Sun[/TD]
[TD="class: xl73, align: right"]0:00[/TD]
[TD="class: xl73, align: right"]0:00[/TD]
[/TR]
[TR]
[TD="class: xl66"]12-05-18[/TD]
[TD="class: xl67"]Saturday[/TD]
[TD="class: xl68, align: right"]23:00[/TD]
[TD="class: xl68, align: right"]3:00[/TD]
[TD="class: xl69"] 4.00 [/TD]
[TD="class: xl70, align: right"]0[/TD]
[TD="class: xl70, align: right"]0[/TD]
[TD="class: xl70, align: right"]0[/TD]
[TD="class: xl70, align: right"]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl66"]11-05-18[/TD]
[TD="class: xl67"]Friday[/TD]
[TD="class: xl68, align: right"]22:00[/TD]
[TD="class: xl68, align: right"]2:00[/TD]
[TD="class: xl69"] 4.00 [/TD]
[TD="class: xl70, align: right"]0[/TD]
[TD="class: xl70, align: right"]2[/TD]
[TD="class: xl70, align: right"]0[/TD]
[TD="class: xl70, align: right"]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl66"]13-05-18[/TD]
[TD="class: xl67"]Sunday[/TD]
[TD="class: xl68, align: right"]0:00[/TD]
[TD="class: xl68, align: right"]4:30[/TD]
[TD="class: xl69"] 4.50 [/TD]
[TD="class: xl70, align: right"]0[/TD]
[TD="class: xl70, align: right"]0[/TD]
[TD="class: xl70, align: right"]0[/TD]
[TD="class: xl70, align: right"]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl69, width: 64"][/TD]
[TD="class: xl70, width: 64, align: right"][/TD]
[TD="class: xl71, width: 64, align: right"][/TD]
[/TR]
</tbody>[/TABLE]

Can you please have a look.

Thanks
 
Upvote 0
Hi,

taken a quick look but i don't see anything being off.
i redid my example and it's clearly showing 2 under saturday in cell J2.
So don't know what you've did wrong but you didn't copy my formula exactly.

CDEFGHIJKLMNO
DateShiftStart TimeFinish TimeHoursDayNightSatSunDay Shift
FridaySat/Sun
Saturday
Friday
Sunday
Saturday
Wednesday
Friday
Saturday
Saturday
Friday

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: right"][/TD]

[TD="align: right"]06:00:00[/TD]
[TD="align: right"]18:00:00[/TD]

[TD="align: center"]2[/TD]
[TD="align: right"]11-5-2018[/TD]

[TD="align: right"]22:00[/TD]
[TD="align: right"]02:00[/TD]
[TD="align: right"] 4,00 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 2,00 [/TD]
[TD="align: right"] 2,00
[/TD]
[TD="align: right"] - [/TD]
[TD="align: right"][/TD]

[TD="align: right"]00:00:00[/TD]
[TD="align: right"]00:00:00[/TD]

[TD="align: center"]3[/TD]
[TD="align: right"]12-5-2018[/TD]

[TD="align: right"]23:00[/TD]
[TD="align: right"]03:00[/TD]
[TD="align: right"] 4,00 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 1,00 [/TD]
[TD="align: right"] 3,00 [/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]4[/TD]
[TD="align: right"]11-5-2018[/TD]

[TD="align: right"]22:00[/TD]
[TD="align: right"]02:00[/TD]
[TD="align: right"] 4,00 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 2,00 [/TD]
[TD="align: right"] 2,00 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]5[/TD]
[TD="align: right"]13-5-2018[/TD]

[TD="align: right"]00:00[/TD]
[TD="align: right"]04:30[/TD]
[TD="align: right"] 4,50 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 4,50 [/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]6[/TD]
[TD="align: right"]12-5-2018[/TD]

[TD="align: right"]23:00[/TD]
[TD="align: right"]03:00[/TD]
[TD="align: right"] 4,00 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 1,00 [/TD]
[TD="align: right"] 3,00 [/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]7[/TD]
[TD="align: right"]9-5-2018[/TD]

[TD="align: right"]20:00[/TD]
[TD="align: right"]01:15[/TD]
[TD="align: right"] 5,25 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 5,25 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]8[/TD]
[TD="align: right"]11-5-2018[/TD]

[TD="align: right"]21:00[/TD]
[TD="align: right"]01:45[/TD]
[TD="align: right"] 4,75 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 3,00 [/TD]
[TD="align: right"] 1,75 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]9[/TD]
[TD="align: right"]12-5-2018[/TD]

[TD="align: right"]21:00[/TD]
[TD="align: right"]04:15[/TD]
[TD="align: right"] 7,25 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 3,00 [/TD]
[TD="align: right"] 4,25 [/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]10[/TD]
[TD="align: right"]12-5-2018[/TD]

[TD="align: right"]22:00[/TD]
[TD="align: right"]03:00[/TD]
[TD="align: right"] 5,00 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 2,00 [/TD]
[TD="align: right"] 3,00 [/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]11[/TD]
[TD="align: right"]11-5-2018[/TD]

[TD="align: right"]08:00[/TD]
[TD="align: right"]02:00[/TD]
[TD="align: right"] 18,00 [/TD]
[TD="align: right"] 10,00 [/TD]
[TD="align: right"] 6,00 [/TD]
[TD="align: right"] 2,00 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

</tbody>
Sheet1
 
Last edited:
Upvote 0
Hi Joris

Sorry to be a pain. Tried the exact copy of your screen shot and full copy paste of formulas. I am still getting problem with Saturday/Sunday. Do i need a specific format for the extra columns M, N and O you have inserted or may be AM/PM issue? Also is it possible we can exchange excel sheet?

Thanks
 
Upvote 0
Hi,

@jorismoerings,

Your formula in #4 don't gave me same result as is in your post.
For Sat and Sun I got only 0 (zero)
 
Upvote 0
@Ingolf @WaheedIqbal

Just hoping you both noticed the small differences in the formula for weekdays and saturday and sunday but assuming you did and subsequently assuming you've got the "analysis pack" which holds the "networkdays.intl" function turned on.

Just to check assumptions:
1. Can you confirm you've turned on the "analysis pack" to be abvle to use the NETWORKDAYS.INTL function
2. Can you share you're Excel version
3. Could you share a screenshot/or an example file with your attempts so i can take a look.
 
Upvote 0
@Ingolf @WaheedIqbal

Besides forementioned assumptions: there's a difference in the cell N2 and O2 which is important and i forgot to mention.

Can you do this check =O2=N2. If the result comes back with TRUE. Change O2 to =N2+1 and re-check the result of my formula.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,162
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top