+ Reply to Thread
Results 1 to 4 of 4

Weekday/Weekend count from table

  1. #1
    Registered User
    Join Date
    09-22-2013
    Location
    New England
    MS-Off Ver
    Excel 2007, 2010 & 2013
    Posts
    24

    Weekday/Weekend count from table

    Hi,
    I get a table of data every month from a data connection that contains a list of sites and dates. I was trying to come up with a formula to count the number of weekdays and weekend day/site. I was able to calculate the total number of dates but not calculate the totals for weekend and weekdays. Trying to figure out what days contain rush hours and which ones don't. Then throw in holidays, beyond me.

    I've been struggling for a few hours and am going to walk away for a while and hope for the best. Any advice will help.

    Thanks MP

    Date count table.xlsx

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Weekday/Weekend count from table

    Just to give you an idea.

    With the formula weekday.

    After that the use of Vlookup and a pivot table.

    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Weekday/Weekend count from table

    I moved your table down to start in row 8 so that there was room above it to have the totals for each site
    The sites are listed in D2:D5
    Enter in E2 and fill down to give the number of weekdays
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Enter in F2 and fill down to give the number of weekend days
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Registered User
    Join Date
    09-22-2013
    Location
    New England
    MS-Off Ver
    Excel 2007, 2010 & 2013
    Posts
    24

    Re: Weekday/Weekend count from table

    This is great. Thank you both for the help.

+ 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. errors on formula calculating price per weekday vs weekend
    By scott11106 in forum Excel General
    Replies: 5
    Last Post: 08-21-2015, 04:06 PM
  2. Average Last 7 Days by Weekday/Weekend
    By cleone1387 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-28-2014, 01:32 PM
  3. [SOLVED] Calculate Overtime Weekday different from Weekend
    By Lg101 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-07-2014, 04:41 PM
  4. [SOLVED] COUNTIFS dependent on date being on weekday or weekend
    By weldo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-26-2014, 04:09 PM
  5. [SOLVED] help please to identify and display 'WEEKDAY' or 'WEEKEND'
    By vin1602 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-06-2013, 06:30 AM
  6. [SOLVED] Extracting data depending on whether a date is a weekday or weekend
    By weldo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-19-2012, 11:24 AM
  7. Replies: 2
    Last Post: 12-09-2011, 07:11 AM

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