+ Reply to Thread
Results 1 to 8 of 8

count days in range

  1. #1
    Forum Contributor
    Join Date
    08-11-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    270

    count days in range

    Hi,

    If i have a date range of say

    02/12/14 to 22/01/15

    how would i count the number of mondays or tuesdays etc with that range?

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: count days in range

    http://www.get-digital-help.com/2007...ay-in-a-range/
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor
    Join Date
    08-11-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    270

    Re: count days in range

    I would need it without a date range for it to look at

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: count days in range

    Hi namluke,

    How about a custom function to do this problem?

    Please Login or Register  to view this content.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: count days in range

    Look the second option(formula) in the link that i provided

  6. #6
    Forum Contributor
    Join Date
    08-11-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    270

    Re: count days in range

    Hi Fotis,

    I dont get what the "D4:D" is doing in there

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: count days in range

    Perhaps this one will be more useful

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: count days in range

    Here is another solution courtesy of daddylongleggs

    in C2

    =INT(($B2-$A2-WEEKDAY($B2-(COLUMNS($A$1:A1)-1),2)+8)/7)

    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    I
    1
    Start Day End Day MON
    TUE
    WED
    THU
    FRI
    SAT
    SUN
    2
    12/2/2014
    1/22/2015
    7
    8
    8
    8
    7
    7
    7
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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. count specific days within date range
    By Sazza in forum Excel General
    Replies: 3
    Last Post: 03-27-2012, 09:04 AM
  2. Replies: 7
    Last Post: 09-02-2011, 08:54 PM
  3. Sumproduct with count days in range
    By Sazza in forum Excel General
    Replies: 1
    Last Post: 02-20-2011, 08:32 PM
  4. Calculating time elapsed in days and count days within same range
    By michellem410 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-19-2008, 01:13 PM
  5. Formula to count number of days in range which are less than today
    By zooming in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-21-2005, 12:05 PM

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