Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 07-02-2009, 04:31 PM
Laura2018 Laura2018 is offline
Registered User
 
Join Date: 02 Jul 2009
Location: US
MS Office Version:Excel 2003
Posts: 4
Laura2018 is becoming part of the community
Question Formula to recognize consecutive entries

Please Register to Remove these Ads

Hi,

I am creating a schedule and need to find a way (formula?) for excel to recognize if a person has been scheduled more than 5 days in a row. I have a basic set up of the days of the week (2 weeks) across the top and names down the first column. I enter the shift number under the days they are scheduled to work. Any suggestions?
Reply With Quote
  #2  
Old 07-02-2009, 04:59 PM
mewingkitty's Avatar
mewingkitty mewingkitty is offline
Valued Forum Contributor
 
Join Date: 29 Sep 2008
Location: Grande Prairie, Alberta, Canada
MS Office Version:Excel 2007
Posts: 902
mewingkitty has an addiction to Excel
Send a message via MSN to mewingkitty Send a message via Yahoo to mewingkitty
Re: Formula to recognize consecutive entries

Post an example workbook as an attachment.
That's my first suggestion. :D

We'll get ya all set up once we can see what we're doing.

mew!
__________________
=IF(AND(OR(BLONDE,BRUNETTE,REDHEAD),OR(MY PLACE,HER PLACE),ME),BOW-CHICKA-BOW-WOW,ANOTHER NIGHT ON THE INTERNET)
Reply With Quote
  #3  
Old 07-02-2009, 05:11 PM
Laura2018 Laura2018 is offline
Registered User
 
Join Date: 02 Jul 2009
Location: US
MS Office Version:Excel 2003
Posts: 4
Laura2018 is becoming part of the community
Smile Re: Formula to recognize consecutive entries

Here is is...thanks for the advice. It is a very brief sample with the same concept.

Laura
Attached Files
File Type: xls SampleSched.xls (22.5 KB, 11 views)
Reply With Quote
  #4  
Old 07-02-2009, 08:24 PM
Domenic Domenic is offline
Forum Guru
 
Join Date: 18 Jun 2004
Location: Canada
Posts: 1,243
Domenic has an addiction to Excel
Re: Formula to recognize consecutive entries

Try...

P3, confirmed with CONTROL+SHIFT+ENTER, and copied down:

=SUM(IF(FREQUENCY(IF(B3:O3<>"",COLUMN(B3:O3)),IF(B3:O3="",COLUMN(B3:O3)))>5,1))
__________________
Domenic
Microsoft MVP - Excel
xl-central.com, "Your Quick Reference to Excel Solutions"
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump