+ Reply to Thread
Results 1 to 16 of 16

distribute data accrording to total number of hours

  1. #1
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    distribute data accrording to total number of hours

    hi all
    according to total number of Hours (difference between F2 and F1) they will add Value 330 in D5
    meaning
    if 1 hours it will only in D5 , if two hour will Add D5 and E5 , if three hours will be D5, E5, F5
    if four hours Will be in D5, E5, F5,G5
    if five hours will be D5, E5, F5,G5 , D6 and soon
    please note that any value less than one hour will be consider One hour
    in my attached example total number of hours is 3:25 which will be consider 4 hours
    regards

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: distribute data accrording to total number of hours

    Try in D5 and drag forward
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by José Augusto; 10-16-2016 at 11:49 AM.

  3. #3
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: distribute data accrording to total number of hours

    this for first row
    what about second row and third row

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: distribute data accrording to total number of hours

    Hi
    Try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: distribute data accrording to total number of hours

    Dear José Augusto
    thanks for your reply and answer , it's working for me

  6. #6
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: distribute data accrording to total number of hours

    WHAT MEAN BY a1 IN FORMULA

  7. #7
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: distribute data accrording to total number of hours

    Please kindly find new attached file
    i find it not working for second row

  8. #8
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: distribute data accrording to total number of hours

    Hi
    Not A1, but ROW(A1)-1 that is 0. When you copy down this part of the formula you get the sequential numbers 0, 1, 2, 3, ...

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: distribute data accrording to total number of hours

    ROW($A1) is a counter so $A1=1, $A2=2 etc so as you drag the formula down, counter increments by 1 in each row.

  10. #10
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: distribute data accrording to total number of hours

    Kindly please see my last attched file aand tell me what the problem

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: distribute data accrording to total number of hours

    If understand correctly

    =IF(($F$2-$F$1)*24+1>COLUMNS($D$1:D$1)+(ROW($A2)-1)*INT($F$2-$F$1)+1,330,"")

    How do we know which shift the times apply to?

  12. #12
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: distribute data accrording to total number of hours

    the shift only 4 hours and after 4 hour will goto second shift

  13. #13
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: distribute data accrording to total number of hours

    Still not working

  14. #14
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: distribute data accrording to total number of hours

    also need to correct the formula for time in my attahced file
    Attached Files Attached Files

  15. #15
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: distribute data accrording to total number of hours

    i found the following formula
    HTML Code: 
    working well by José Augusto

  16. #16
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: distribute data accrording to total number of hours

    but i need to make some modification that can work in last file with time

+ 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. Needs to distribute spent hours to pick, normal and low hours.
    By bebo021999 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-28-2015, 10:36 PM
  2. Vba code to get total number of hours
    By puuts in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-16-2014, 06:57 AM
  3. [SOLVED] Compute total number of hours
    By puuts in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-16-2014, 05:53 AM
  4. [SOLVED] Calculating total number of hours and comparing data
    By ogriv_17 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-13-2013, 12:58 PM
  5. Replies: 2
    Last Post: 03-01-2011, 02:10 PM
  6. Replies: 3
    Last Post: 11-21-2009, 01:44 PM
  7. Convert Total Hours and Minutes to Whole Number
    By BobS9895 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-13-2006, 03:00 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