# How to find the maximum count of consecutive occurances in an excel range

1. ## How to find the maximum count of consecutive occurances in an excel range

Can we have a formula for finding the maximum count in an excel range. For e.g If an employee has worked more than 6 days consecutively then it should give me 1 or else 0.

Example: In the below e.g the employee has been present consecutively for 9 days. In this case the formula must give me “1”.

EMP ID Name 1-Mar 2-Mar 3-Mar 4-Mar 5-Mar 6-Mar 7-Mar 8-Mar 9-Mar 10-Mar 11-Mar 12-Mar 13-Mar 14-Mar 15-Mar 16-Mar 17-Mar 18-Mar
Sun Mon Tue Wed Thu Fri Sat Sun Mon Tue Wed Thu Fri Sat Sun Mon Tue Wed
Jack hadley WO P P P WO P P P P P P P P P WO P P P

2. ## Re: How to find the maximum count of consecutive occurances in an excel range

Welcome to the Forum, unfortunately:

This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1