+ Reply to Thread
Results 1 to 3 of 3

Need help with date ranges in Excel

  1. #1
    Registered User
    Join Date
    03-08-2015
    Location
    Tri-Cities, Washington
    MS-Off Ver
    2013
    Posts
    2

    Need help with date ranges in Excel

    Hi there! I need help trying to figure how to create a worksheet that will allow me to work with different sets of date ranges. For example, I have a date range with a number of hours between the two dates. I have to take those hours and divide them among a different set of date ranges. The date range with hours is very random and the dates I need to split this group among are always a set range of dates (i.e., fiscal years).

    example: I have 3,567 hours between 3/31/15-6/17/17. My standard set of date ranges i need to split the hours to are: 9/30/14-9/29/15,9/30/15-9/29/16,9/30/16-9/29/17.

    i know how to do this manually but it's taking far too long. Any ideas as to how I could use formulas and or macros to make a sheet that I can enter date ranges with its hours into, so it can split it out automatically? I'm fairly new at this so I'm still in the process of learning.

    Thanks in advance!

  2. #2
    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
    53,048

    Re: Need help with date ranges in Excel

    Hi, welcome to the forum

    Im a little unclear on what you want here, but this is my guess so far...
    A
    B
    1
    3567
    Hours
    2
    3/31/2015
    Start
    3
    6/17/2017
    End
    4
    4.409147
    Hours/Day

    A4=A1/(A3-A2)
    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

  3. #3
    Registered User
    Join Date
    03-08-2015
    Location
    Tri-Cities, Washington
    MS-Off Ver
    2013
    Posts
    2

    Re: Need help with date ranges in Excel

    Sorry for the confusion. Here is an example:

    I have 3,567 hours to schedule between 3/31/15-6/17/17. I need to split the total hours into three seperate pieces in order to get them into three different date ranges. Manually, this comes out to the table below.

    Out of 3567 hours, they would be broken out as follows:

    9/30/2015-9/29/2015 802
    9/30/2015-9/29/2016 1,618
    9/30/2016-9/29/2017 1,146
    Total 3567

    Hopefully this makes sense. I'm trying to get a sheet setup that i can enter dates into and it'll automatically split everything out

+ 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. Highlighting Date Ranges in Excel
    By urfriend2385 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-17-2014, 11:13 AM
  2. Sorting date ranges in Excel 2003
    By jwbenford in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-01-2012, 12:58 PM
  3. Excel 2007 : Using SUMIFS and date ranges...
    By anthropaulogy in forum Excel General
    Replies: 3
    Last Post: 09-06-2012, 07:05 AM
  4. Excel formula with date ranges
    By Dan99 in forum Excel General
    Replies: 6
    Last Post: 05-19-2008, 07:41 PM
  5. Recognizing Date Ranges in excel
    By seth.x.engler@jpmchase.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-22-2005, 01:05 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