+ Reply to Thread
Results 1 to 3 of 3

Split Value based on the date

  1. #1
    Registered User
    Join Date
    12-19-2018
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    16

    Split Value based on the date

    TOTAL Date Start Date Finish Jan Feb March April
    $155,193.94 07/01/2018 15/05/2018
    $149,553.94 17/03/2018 10/04/2018


    I have three excel columns

    Now the total $ value has to be divided onto different months based on the number of days on that particular month

    ie. for the first case if it includes three weeks of January and 2 weeks of February, then the total cost should include proportinately 3/5 of $155,193,94 on Jan and 2/5 of $155,193,94 for February

    Is there a way to do that ?


    In general the final output will have total amount $ value intended for that particular month

    Edit:: Attached sample file on what is intended

    Values in RED are the value we need.
    Attached Files Attached Files
    Last edited by subodhsapkota; 12-19-2018 at 01:43 AM.

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Split Value based on the date

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Split Value based on the date

    Please try at K5 and copy over the table

    =$H5*MAX(MIN(EOMONTH(1&K$4&YEAR($I5),0),$J5)-MAX(1&K$4&YEAR($I5),$I5)+1,0)/($J5-$I5+1)
    Attached Files Attached Files

+ 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. Split payment based on date
    By Sam D in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-11-2018, 03:43 PM
  2. Split Data to New Sheets based on date.
    By pyarx33 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-18-2016, 08:20 AM
  3. [SOLVED] Split the data to new files based on the date and name it from the list provided
    By Jul Stev in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-09-2014, 04:26 AM
  4. Split Date into Multiple Worksheets based on Data
    By keithm_007 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-12-2014, 12:00 PM
  5. Split data based on date range
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-03-2014, 06:30 AM
  6. How to split workbook into multiple workbooks based on date range
    By simoncurrier in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2013, 06:50 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