+ Reply to Thread
Results 1 to 3 of 3

Putting number of days in proper month

  1. #1
    Registered User
    Join Date
    08-11-2009
    Location
    Portsmouth, NH
    MS-Off Ver
    Excel 2010
    Posts
    16

    Putting number of days in proper month

    I am trying to break apart the approved amounts into the proper months. I am not sure if I need to add extra columns for months after columns D&E or if there is logic to do.

    Ulitmately I would like to run this across multiple columns for items over 200 days and put the information into the proper months.

    Row 3 for example per the attached would be broken into the number of days for Aug'90, Sep'09, Oct'09....Aug'10.

    Kinda fo new to writing logic information. I appreciate any help in regards to this. If columns need to be added or changes made please see the attached item and let me know.

    Sincerely appreciate the help!
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Putting number of days in proper month

    If you list the 1st of each month across row 1 starting at D1 (with at least one more month than the latest you need then you can use this formula in D2 copied across and down as necessary

    =$C2*MAX(0,MIN(E$1,$B2+1)-MAX(D$1,$A2))/($B2-$A2+1)

    Tried to attach an example but I can't at the moment - I'll try again later
    Audere est facere

  3. #3
    Registered User
    Join Date
    08-11-2009
    Location
    Portsmouth, NH
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Putting number of days in proper month

    That works like a charm thank you so much. I never would have been able to do that. I greatly appreciate your help and quick response on this

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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