+ Reply to Thread
Results 1 to 5 of 5

Sum values between different shifts.

  1. #1
    Registered User
    Join Date
    04-24-2021
    Location
    Panama
    MS-Off Ver
    MS Office 365
    Posts
    2

    Sum values between different shifts.

    this post is now solved.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by juan12fme; 05-24-2021 at 12:40 PM.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,522

    Re: Sum values between different shifts.

    Hello juan12fme and Welcome to Excel Forum.
    This seems to work providing the iterative calculations are enabled.
    A helper column (H), which may be moved and/or hidden for aesthetic purposes, is populated using: =IF(G2="","",IF(AND(MOD(G2,1)>=6/24,MOD(G2,1)<=14.75/24),1,IF(AND(MOD(G2,1)>14.75/24,MOD(G2,1)<=22.5/24),2,3)))
    Column D is then populated using: =IFERROR(SUMPRODUCT((C$2:C2)*(INT(G$2:G2)=INT(G2))*(H$2:H2=H2)),"")
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    04-24-2021
    Location
    Panama
    MS-Off Ver
    MS Office 365
    Posts
    2

    Re: Sum values between different shifts.

    thanks you!! it worked perfectly.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,522

    Re: Sum values between different shifts.

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,851

    Re: Sum values between different shifts.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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] Shifts work
    By Berna11 in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 12-03-2019, 04:21 AM
  2. Hourly shifts
    By andrlimo in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-13-2016, 03:04 PM
  3. Replies: 8
    Last Post: 03-24-2016, 08:13 PM
  4. 24 Hrs Shifts with 5 different pay rates
    By ponnanna in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-28-2013, 09:37 AM
  5. Work shifts
    By gibson2503 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-16-2012, 09:08 AM
  6. LOOKUP returning values, but shifts one spot down...
    By thumper300zx in forum Excel General
    Replies: 3
    Last Post: 12-09-2011, 08:43 PM
  7. [SOLVED] More column shifts ...
    By fak119 in forum Excel General
    Replies: 1
    Last Post: 05-29-2006, 11:00 AM

Tags for this Thread

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