+ Reply to Thread
Results 1 to 3 of 3

Splitting the days of last week of a month till end of month and in the next

  1. #1
    Registered User
    Join Date
    09-14-2022
    Location
    India
    MS-Off Ver
    office365
    Posts
    1

    Splitting the days of last week of a month till end of month and in the next

    I am calculating weekly revenue where lets say for November'22 the last week is starting from Monday 28-Nov and the month ends on Wednesday 30th Nov. So I need to consider only 3 days for that week instead of 5 till Friday 2nd Dec. Now these leftover days of the week should get added in the next week. next week which is starting from 5th Of Dec till Sun 11th Dec should consider the additional 2 days.

    Can anyone help me?

    Screenshot 2022-09-14 133750.png

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,162

    Re: Splitting the days of last week of a month till end of month and in the next

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,632

    Re: Splitting the days of last week of a month till end of month and in the next

    You probably somehow calculate end of week which is used in "net work days" row. Instead of using this date, use such formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This deald with "5 instead of 3" problem
    also you can calculate a difference of "old approach count" - "new approach count" for previous week and if its >0 (you can use function MAX(0,calculated difference) add it to current week count.

    Anyway - with the attachment the help would be with "excact formulas", but may be you will be able to create them yourself with the above propositions.
    Last edited by Kaper; 10-01-2022 at 05:30 AM.
    Best Regards,

    Kaper

+ 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] Splitting days in a week over a calendar month
    By Gti182 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-17-2019, 04:54 AM
  2. Replies: 1
    Last Post: 10-11-2018, 10:56 AM
  3. Days of the month and week based on name month/year
    By RickMcc in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-01-2016, 03:22 PM
  4. [SOLVED] Calculation of days per month for dates beginning in one month and ending in another month
    By Fahrettin in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-07-2015, 04:52 PM
  5. [SOLVED] Determine work days in current month or next month based on day of the month
    By sbrnard in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-29-2014, 05:14 PM
  6. [SOLVED] Showing Fridays of each month in a 4 week month and a five week month
    By david_j_p in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-09-2013, 06:27 AM
  7. How many week days in a month
    By llol_slim in forum Excel General
    Replies: 5
    Last Post: 02-08-2007, 09:01 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