+ Reply to Thread
Results 1 to 12 of 12

Income for overlapping months to be split daily...

  1. #1
    Forum Contributor
    Join Date
    09-05-2013
    Location
    Malta
    MS-Off Ver
    Excel 2016
    Posts
    103

    Income for overlapping months to be split daily...

    Ok....I extract a report from the system as per below.

    Opening Date----- Closed Date----- Days ----- Revenue
    01-09-2013 ----- 05-09-2013 ----- 5----- 83.02
    15-10-2013 ----- 27-10-2013 ----- 13 -----305.09
    15-10-2013 ----- 22-10-2013 ----- 8----- 85.38

    01-10-2013 ----- 10-11-2013 ----- 41----- 619.70
    28-10-2013 ----- 10-11-2013 ----- 14 -----350.00

    The revenue is divided equally on the days. (ie for the first line 5 days = 83.02; 1 day = 16.604)
    For the first three lines of data; its fine; as it is within the same month; IE the revenue of 83.02 is for September and 305.09+85.38 is for October.

    However, line 4 and 5 are split between different months.

    01-10-2013 ----- 10-11-2013 ----- 41----- 619.70 [[[[ 31 days should go under October and 10 days goes under November)
    28-10-2013 ----- 10-11-2013 ----- 14 -----350.00 [[[[ 4 days should go under October and 10 days goes under November)

    Any idea what formulas I could use? I am attaching the report with what I tried to do... but as i said, for different months i have failed to come up with a formula.

    Thanks
    Sam
    Attached Files Attached Files
    Last edited by sammymalta; 10-31-2013 at 11:12 AM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Income for overlapping months to be split daily...

    See attached file, where I have copied your data from columns A:D into a new sheet then set up some formulae in columns F -J to split the days for each month, and then it's just a simple apportionment in columns M - Q.

    Hope this helps.

    Pete
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: Income for overlapping months to be split daily...

    From Pete Formula, here the simplify table so you don't need helper column (All Credit belong to Pete )
    Attached Files Attached Files
    Click (*) if you received helpful response.

    Regards,
    David

  4. #4
    Forum Contributor
    Join Date
    09-05-2013
    Location
    Malta
    MS-Off Ver
    Excel 2016
    Posts
    103

    Re: Income for overlapping months to be split daily...

    Pete.. you are a star. Took me 10 mins to do an analysis that used to take 2 hours.
    SDCH... thanks for your contribution as-well.. its much cleaner.. but I will be using Pete's as it shows split calculations; if something goes wrong i can identify any errors.

    I have another query. Let say that instead of just the date I also have the time: As follows:

    FROM--31/12/2013--13:00:00--TO--07/01/2014--17:00:00--8 days

    Obviously actual calculations is 7 days plus 4 hours; but the system would be charging 8 full days. With your (Pete/SDCH) formulas, it obviously picking up 7 days. But i would need it to pick 8 days as per the Number of days column. Is there a 'restriction that can be made... that the number of days split between the months; must equal this column.
    In the case above I would have 1 day in December and 7 days in January. I don't actually need to use the time... but explained it to you for simplicity sake.

    Many thanks
    Sam

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Income for overlapping months to be split daily...

    Are your times in different columns, or do you have date/times in column A and B?

    If you were going from, say, 16:00 on one day to 12:00 on the next day, would this count as 1 day? And if the start date were the last day of the month and the end date was the first of the next month, how would you like that to be apportioned?

    Please post another example workbook with date/times, showing how you would like those to be apportioned.

    Pete

  6. #6
    Forum Contributor
    Join Date
    09-05-2013
    Location
    Malta
    MS-Off Ver
    Excel 2016
    Posts
    103

    Re: Income for overlapping months to be split daily...

    Hi Pete.. Managed to arrange it in the meantime. Thanks. apportioned in previous month.
    Thanks
    Sam

  7. #7
    Registered User
    Join Date
    11-01-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Income for overlapping months to be split daily...

    i want to formula in excel vb code "sumifs"
    check attecment
    sheet1 me data hai or sheet2 me "amt" column me "sumifs" ka formula hai woh vb code me dena hai , sheet1 data hai to sheet2 me date or name
    likhne par amout ani chahiye
    ye attechment me jo excel sheet hai woh sirf dikhane ke liye hai to sheet me formula sheet1 or two me dena hai
    plz help me
    Attached Files Attached Files

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Income for overlapping months to be split daily...

    @sandip46:

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

    Pete

  9. #9
    Registered User
    Join Date
    11-01-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Income for overlapping months to be split daily...

    Quote Originally Posted by pete_uk View Post
    @sandip46:

    Unfortunately your post does not comply with rule 2 of our forum rules. do not post a question in the thread of another member -- start your own thread.

    if you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

    Pete
    ok and how to open new thread

  10. #10
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Income for overlapping months to be split daily...

    From the home page (click Forum at the top of the screen), click on the sub-Forum that you want to post in (e.g. Excel Formulas and Functions) then click on Post New Thread.

    Hope this helps.

    Pete

  11. #11
    Forum Contributor
    Join Date
    09-05-2013
    Location
    Malta
    MS-Off Ver
    Excel 2016
    Posts
    103

    Re: Income for overlapping months to be split daily...

    Hi Pete... Thanks for your reply.

    Can you send the UDF file here please. (previously pm)

    Regards
    Sam

  12. #12
    Forum Contributor
    Join Date
    09-05-2013
    Location
    Malta
    MS-Off Ver
    Excel 2016
    Posts
    103

    Re: Income for overlapping months to be split daily...

    Sorted... created the module.

+ 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] [Solved] Convert from daily to monthly income summary
    By androidman in forum Excel General
    Replies: 3
    Last Post: 02-12-2013, 08:44 AM
  2. [SOLVED] EARN $3,000.00 A DAY. OPEN AN INCOME-DAILY ACCOUNT WITH US
    By ISRAEL FAGBEMI in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 03-01-2006, 03:15 AM
  3. [SOLVED] Interest Income Compounde daily
    By Chasmcf in forum Excel General
    Replies: 3
    Last Post: 01-14-2006, 07:35 PM
  4. [SOLVED] formula for workbook showing daily income compared to goal income.
    By tittytatbratt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-08-2005, 06:06 PM
  5. [SOLVED] how do i create a daily income report (i'm a waitress)
    By NayNae in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-08-2005, 06:06 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