+ Reply to Thread
Results 1 to 13 of 13

Formula to total for entire week

  1. #1
    Forum Contributor
    Join Date
    03-08-2007
    Location
    St. Augustine, Fl
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    392

    Formula to total for entire week

    How do you change this formula to days Sunday thru Saturday a full week not just week days.

    Please Login or Register  to view this content.
    Last edited by Wskip49; 09-29-2016 at 01:06 PM. Reason: Need to change title.

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

    Re: Change Formula

    Hi,
    Look for Weekday return_type
    http://www.excelfunctions.net/Weekday-Function.html
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor
    Join Date
    03-08-2007
    Location
    St. Augustine, Fl
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    392

    Re: Change Formula

    I read the weekday function MarvinP suggested. I don't know what to change in the formula.

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

    Re: Change Formula

    Moderation request removed.

    Thanks for correcting your thread title!
    Last edited by jason.b75; 09-25-2016 at 11:03 AM.

  5. #5
    Forum Contributor
    Join Date
    03-08-2007
    Location
    St. Augustine, Fl
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    392

    Re: Need make formula total for entire week

    I changed the title in my original post. I hope I have fixed the rule I did not meet.
    Thanks

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

    Re: Formula to total for entire week

    Trying to make sense of your formula, it looks like you're trying to summarise monthly data with an offset to count the whole week where the month begins of ends midweek.

    Given that you are unsure of how to edit the formula, I would assume that it was written for you, in which case it would be best to ask the original author of the formula how to edit it as they will be the person most familiar with the method used.

    The method I would use would be different to the one you have, but as Mac and Windows use different date systems, I'm not sure that my method would work correctly for you.

  7. #7
    Forum Contributor
    Join Date
    03-08-2007
    Location
    St. Augustine, Fl
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    392

    Re: Formula to total for entire week

    Thanks Jason.b75

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Formula to total for entire week

    This part is what is pulling out based on Sat/Sun...
    WEEKDAY(DATE(2016,1,1))=7

    Remove that (in both places) and see of that helps
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  9. #9
    Forum Contributor
    Join Date
    03-08-2007
    Location
    St. Augustine, Fl
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    392

    Re: Formula to total for entire week

    Okay, I took WEEKDAY(DATE(2016,1,1))=7 out of the formula and nothing changed. So, I guess I have another problem I can't find.
    I am up loading my file. I can't get the numbers to transfer correctly. My totals are off, I am only concerned for tab Aug 16, I think I can try to figure
    out the rest of the year. I have placed what the totals should be in Line 213.

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

    Re: Formula to total for entire week

    Hi Wskip49,

    It looks like you are in need of a Pivot Table that groups dates by 7 days. I think you could do all your separate sheets using a single pivot. Look on the Response data sheet in Column S where I've created a single pivot. If you GROUP the rows as Day and count of 7 then you can get the whole week. You could also GROUP the dates as Months you can get a monthly report. You could even put the School Name as a filter and filter your data by school. I think it is time to learn more about Pivot Tables and grouping by dates.

    PT by 7 days.xlsm

    Watch http://www.bing.com/videos/search?q=...F0FD&FORM=VIRE
    or
    http://www.contextures.com/xlPivot07.html

  11. #11
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Formula to total for entire week

    As far as I can remember that I wrote this formula for the month of September 2016 and it was pulling data as you expected. Now what is the reason that you need to change it?

  12. #12
    Forum Contributor
    Join Date
    03-08-2007
    Location
    St. Augustine, Fl
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    392

    Re: Formula to total for entire week

    Thanks I'll try it

  13. #13
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Formula to total for entire week

    Generally Weekday(Date) should act as you wanted. But if it fails then try Weekday(Date,1).

+ 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] Formula needed to total daily work hours and hours per week
    By amkampbell in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-24-2016, 07:33 PM
  2. [SOLVED] Adding a total up as i go week to week!
    By leemc1985 in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 08-13-2015, 04:23 PM
  3. [SOLVED] Help with formula to get total errors per week
    By daviddelatorre in forum Excel General
    Replies: 3
    Last Post: 05-22-2015, 09:34 PM
  4. Should be simple But !!! Week 1 to 52 total
    By Craig1969 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 01-29-2014, 12:45 PM
  5. total per week
    By kairab in forum Excel General
    Replies: 3
    Last Post: 05-09-2012, 07:42 AM
  6. copy week total in weekly sales worksheet to appropriate week in monthly sales
    By Sandy2976 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-15-2009, 01:04 PM
  7. create border across entire row based on current week
    By sentofuno in forum Excel General
    Replies: 8
    Last Post: 01-22-2008, 09:03 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