+ Reply to Thread
Results 1 to 11 of 11

Rota - Hourly Calculation

  1. #1
    Registered User
    Join Date
    10-25-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    5

    Rota - Hourly Calculation

    Hello all,

    I am a total newb when it comes to Excel and I struggle daily with it!

    My question is, I have attached my attempt at a weekly rota that counts the aTester Rota.xlsmount of hours (two sets of times in each one cell here) in each cell+row for a weekly total and then below a daily total. I don't imagine to know anything about formulas and the one I am using for the weekly totals is something from another section on this forum. The problem with that formula is that I can't seem to extend it to the other cell range I want.

    Any help would be greatly appreciated.

    Many Thanks

    Premy

    Attachment 189420
    Last edited by Premy; 10-25-2012 at 12:51 PM.

  2. #2
    Forum Contributor BeachRock's Avatar
    Join Date
    11-01-2011
    Location
    Oregon, United States
    MS-Off Ver
    Excel 2016
    Posts
    403

    Re: Rota - Hourly Calculation

    Hi Premy,

    If you just want H5 and the cells below it to add up the hours to the left of them, put the following formula into Cell H5 in place of what you have. Copy the formula down through H14.

    Please Login or Register  to view this content.
    -------------
    Tony

  3. #3
    Registered User
    Join Date
    10-25-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Rota - Hourly Calculation

    Hey,

    I tried that but it just comes up with 38 as the total, even though 38 is not the total?

  4. #4
    Registered User
    Join Date
    10-25-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Rota - Hourly Calculation

    Ignore that! I was being silly!

    Thank you so much. How would I do it so downwards it would count the days hours?

    Thanks

  5. #5
    Forum Contributor BeachRock's Avatar
    Join Date
    11-01-2011
    Location
    Oregon, United States
    MS-Off Ver
    Excel 2016
    Posts
    403

    Re: Rota - Hourly Calculation

    38 is the total I get and when I add them up:

    Monday = 6
    Tuesday = 6
    Wednesday = 6
    Thursday = 6
    Friday = 6
    Saturday = 8

    Altogether = 38

    Maybe I'm not understanding what your desired outcome is supposed to be?? What should the total be in cell H5?

  6. #6
    Forum Contributor BeachRock's Avatar
    Join Date
    11-01-2011
    Location
    Oregon, United States
    MS-Off Ver
    Excel 2016
    Posts
    403

    Re: Rota - Hourly Calculation

    No worries Premy.

    I'll see what I can do for the day totals.

  7. #7
    Registered User
    Join Date
    10-25-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Rota - Hourly Calculation

    Ok,

    So the problem I have now is it takes all the numbers from B1,C1,D1 etc when I am putting it in H6, H7 etc instead of H6=Left of=B7,C7,D7,E7,F7. Is there any way of getting those letters and numbers to automatically change so it picks up the right cells in the formula?

    Thanks!

  8. #8
    Forum Contributor BeachRock's Avatar
    Join Date
    11-01-2011
    Location
    Oregon, United States
    MS-Off Ver
    Excel 2016
    Posts
    403

    Re: Rota - Hourly Calculation

    Hi Premy,

    Please put the following formula into Cell B16 and then hold down Ctrl+Shift and hit the Enter key. Then copy that cell, highlight cells C16 through G16 and right click them, past special - formula.

    =SUM((MID(B5:B14,FIND("-",B5:B14)+1,20))-(LEFT(B5:B14,FIND("-",B5:B14)-1)))/(100)

    That should do it for all 6 columns.
    Attached Files Attached Files
    Last edited by BeachRock; 10-25-2012 at 04:07 PM.

  9. #9
    Forum Contributor BeachRock's Avatar
    Join Date
    11-01-2011
    Location
    Oregon, United States
    MS-Off Ver
    Excel 2016
    Posts
    403

    Re: Rota - Hourly Calculation

    I added the example I've been working with into my previous post. Please take a look at it. All of the columns add up correctly.

  10. #10
    Registered User
    Join Date
    10-25-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Rota - Hourly Calculation

    Wow, you are a star! Thank you so so much!

  11. #11
    Forum Contributor BeachRock's Avatar
    Join Date
    11-01-2011
    Location
    Oregon, United States
    MS-Off Ver
    Excel 2016
    Posts
    403

    Re: Rota - Hourly Calculation

    Thank you, Premy. I'm glad I could help.

    If this has completely solved your problem, please make sure to mark your thread as Solved using the Thread Tools menu at the top of your first post.

+ 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