+ Reply to Thread
Results 1 to 4 of 4

Formula to calculate the number of days required

  1. #1
    Registered User
    Join Date
    04-04-2014
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    22

    Formula to calculate the number of days required

    Hello,

    I have a worksheet in Excel 2003 where I calculate the number of days a particular item can be used depending on how many hours it is available in a day.

    1) In Columns AY and AZ, I need the formula to return the values that I have updated.

    Explanation: In row 4, the Item1 of Cat1 is available for 2 hours/day and we need it for total of 15hours. This would mean that I use this Item1 for 7 days at 2hrs/day and on 8th day I use it for 1hr/day to make it to a total of 15hours. The remaining 1 hour on the 8th day, I need to use Item2 of Cat1 and so on.

    Please help.
    Attached Files Attached Files

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Formula to calculate the number of days required

    This seems to work for your data set
    Attached Files Attached Files
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Registered User
    Join Date
    04-04-2014
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Formula to calculate the number of days required

    Hello judgeh59,

    Thanks a lot for your response.

    The values do not match the values I have in the file I attached.

    In AY4, it should return 8 as we need 8 days in which 7 days at 2hrs/day and on 8th day at 1hr/day to cover the total of 15hours.

    Also, in AZ5, the value should be 1, as there is 1hour remaining on Day9 (1 hour on Day8 + 1 hour on Day 9 for a total duration of 2 hours for that item).

    Request your help.

  4. #4
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Formula to calculate the number of days required

    sorry about, I mis-understood a bit....I didn't realize you need to have a sort of running total....this may take a bit for me.....

+ 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] I need help with my formula to calculate number of days late to job site
    By John78550 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-14-2013, 09:58 AM
  2. Help with making formula to calculate number of days
    By sweetcuda in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-03-2011, 07:01 AM
  3. Excel-formula required to calculate number of days remaining
    By sahar_sultana in forum Excel General
    Replies: 10
    Last Post: 04-03-2009, 02:41 PM
  4. Formula to calculate number of days between Dates
    By themax16 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-21-2005, 09:05 AM
  5. Need Help With Formula To Calculate Number Of Days
    By travelersway in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-19-2005, 09:59 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