+ Reply to Thread
Results 1 to 3 of 3

count days in weeks

  1. #1
    Registered User
    Join Date
    08-23-2017
    Location
    lulu
    MS-Off Ver
    2016
    Posts
    57

    count days in weeks

    Hi,

    i have a begin date and end date and i want to know how many days falls in week 20 without the weekend.
    please see attachment



    kind regards

    framboosje
    Attached Files Attached Files
    Last edited by Framboosje; 05-31-2018 at 07:39 AM.

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,907

    Re: count days in weeks

    Try this in F3:

    =SUMPRODUCT(--(WEEKNUM(ROW(INDIRECT($C$3&":"&$D$3)))=F$2))
    Last edited by Phuocam; 05-31-2018 at 07:44 AM.

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: count days in weeks

    Expanding on Phuocam's suggestion, try

    =SUMPRODUCT(--(WEEKNUM(ROW(INDIRECT($C$3&":"&$D$3)),21)=F$2),--(WEEKDAY(ROW(INDIRECT($C$3&":"&$D$3)),2)<6))

+ 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. [SOLVED] A number of days into weeks and days-How do you convert the decimal part of 0.571429
    By Robert Christie in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-25-2020, 09:37 PM
  2. Count the last full weeks wages for the last 12 weeks only
    By shorie7 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-25-2016, 01:59 PM
  3. Replies: 5
    Last Post: 01-08-2012, 09:52 AM
  4. A number of days into weeks and days
    By Robert Christie in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06: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