Count between Two Cells

fareedexcel

New Member
Joined
Oct 11, 2017
Messages
1
Dear Experts,

I require to check the count interval between the 1st OFF to the Last OFF. After the Last OFF, count should not happen. Expected result attached for your reference.

TueWedThurFriSatSunMonTueWedThurFriSatSunMonTueWedThurFriSatSunMonTueWedThurFriSatSunMonTueWedThur
STAFF NO.NAMENORMAL DAYSSL(Full)SL(Half)SL(Nill)OVERTIME (Off Days)OVERTIME (Hours)12345678910111213141516171819202122232425262728293031INTERVALEXPECTED RESULT
1David31.0000015.00---OFFOFF-----OFFOFF-----OFFOFF-----OFFOFF----- 5-5-5
2Cameroon31.0000138.00---OFFOFF-----OFFOFF-----OFFOFF-----OFFOFF----- 5-5-5
3Sachin31.0000111.50----OFFOFF------OFFOFF------OFFOFF------OFFOFF- 6-6-6
4Tendulkar27.00000 ----OFFOFF-----OFFOFF-----OFFOFF-----OFFOFF---- 5-5-5
5Rahul30.01000 OFF-----OFFOFF-----OFF----OFF-----OFFOFF----- 5-5-4-5
6Dravid31.00000 ----OFFOFF-----OFFOFF-----OFFOFF-----OFFOFF---- 5-5-5
7Narain20.00000 ---OFFOFF-----OFFOFF-----OFFOFF------------ 5-5
8Karthik31.00000 --OFFOFF-----OFFOFF-----OFFOFF-----OFFOFF------ 5-5-5
9Dhoni31.00000 -OFFOFF-----OFFOFF-----OFFOFF-----OFFOFF----OFFOFF- 5-5-5-4
10Singh12.000008.75---OFFOFF-----OFFOFF----OFF----------OFF--- 5-4-10

<colgroup><col><col><col><col><col><col><col><col><col><col><col><col span="2"><col><col><col><col><col><col><col><col><col><col><col><col><col><col span="2"><col><col><col><col><col span="5"><col><col><col><col></colgroup><tbody>
</tbody>

Regards,
Fareed
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,214,913
Messages
6,122,207
Members
449,074
Latest member
cancansova

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