+ Reply to Thread
Results 1 to 3 of 3

Count Consecutive Days (with rule associated)

  1. #1
    Registered User
    Join Date
    02-20-2015
    Location
    Aberdeen, Scotland
    MS-Off Ver
    10
    Posts
    2

    Count Consecutive Days (with rule associated)

    Hi there guys

    I need some help. I have inherited an existing excel based timesheet that I have been adding automation to and have come across a situation that has stumped me. I need to calculate an allowance that is applicable after 5 consecutive days of travelling (on company business). The timesheet is based on a monthly calendar format and text is used to identify the allowance "ONV". The allowance is automatically applicable on Saturday and Sunday so I need to work on a solution for Monday to Friday with the allowance being applicable from day 6 onwards. If there is a break in the travel the rule must reset itself and start again.

    Can anyone assist?

    Thank you in advance DUNC78.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Count Consecutive Days (with rule associated)

    A sample file would be helpful, showing suitable examples of normal/exceptional cases.

  3. #3
    Registered User
    Join Date
    02-20-2015
    Location
    Aberdeen, Scotland
    MS-Off Ver
    10
    Posts
    2

    Unhappy Re: Count Consecutive Days (with rule associated)

    John

    Please find attached. You will see on cell D24 of any of the sheets (monthly attendance) the catch all formula(=COUNTIF(C15:L20,"ONV")/2-5) however this not correct as per the rules that have now been implemented. I am normally pretty proficient with Excel but this one is perplexing me.

    Maybe it is the fact I am just back from annual leave and my head is not quite back at work yet.



    Cheers

    DUNC78
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 17
    Last Post: 08-03-2015, 06:15 AM
  2. Count Consecutive Days from Today's Date
    By sinspawn56 in forum Excel General
    Replies: 6
    Last Post: 04-24-2015, 06:39 PM
  3. [SOLVED] Count number of consecutive days and instances
    By Cortlyn in forum Excel General
    Replies: 7
    Last Post: 02-06-2015, 06:02 PM
  4. [SOLVED] Count Consecutive Days Based on Unique Number
    By Kimston in forum Excel General
    Replies: 5
    Last Post: 11-23-2014, 04:46 PM
  5. [SOLVED] How to count 10 consecutive week days
    By rjassal82 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-16-2013, 05:40 AM
  6. [SOLVED] Count non-consecutive days as new occurence to be used in average
    By pjbassdc in forum Excel General
    Replies: 3
    Last Post: 02-21-2013, 01:08 PM
  7. count consecutive negative days
    By pault22 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2010, 08:10 AM

Tags for this Thread

Bookmarks

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