+ Reply to Thread
Results 1 to 11 of 11

Sum time with criteria of 3 arrays

  1. #1
    Registered User
    Join Date
    09-02-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    43

    Sum time with criteria of 3 arrays

    On the Sunday page I need to solve Q2:Q8, and S2:S8 Using the Table Below

    I need to extract into Q2 all the "Line" (pink) hours used between 5am-4pm

    in S2 all the 'Line" (pink) hours used Between 4pm-1am

    Job Class go into Detail on the Data page

    P2:P8 all are the List Names for each Job class with is our lookup

    Sum it up

    Q2= find(Jobs in "(P2) Line" that are =>5am but <4pm), from "Positions(S19:S41)" Col, Sum all the time for that Job Class between =>5am but <4pm and put in Q2)

    Q2=18.00 Hours
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-02-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Sum time with criteria of 3 arrays

    Is this too complex should I give up?

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Sum time with criteria of 3 arrays

    Hello Nazerith,

    Don't give up yet. I will take a look at your workbook. Sunday is generally a slow a day on the forum and people don't respond too quickly.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Sum time with criteria of 3 arrays

    Hello Nazerith,

    I don't have Excel 2007 and my converter is having a problem with the file. Could you post a copy in 2003 format?

  5. #5
    Registered User
    Join Date
    09-02-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Sum time with criteria of 3 arrays

    Here you go
    Attached Files Attached Files

  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Sum time with criteria of 3 arrays

    Hello Nazerith,

    Thanks for posting the 2003 copy. Now Excel is telling me there is a circular reference at G3 on Sheet1. Is there an error in the formula below:
    =$G$3*0.029+5

  7. #7
    Registered User
    Join Date
    09-02-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Sum time with criteria of 3 arrays

    that dosent matter those ones work right

    its the ones to the left of that need help

    I cut out that part of the work sheet because I could not change it to 03 and upload it.


    replace the above example with B=Q and D=S

  8. #8
    Registered User
    Join Date
    09-02-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Sum time with criteria of 3 arrays

    B2=Summproduct(--(if(and(match(List),within array,0),Time_in>5am,Time_out<4pm)

    Problem is match only takes the first instance of the Job
    so if i have 4 Assemblers then it only counts 1 in this formula

    this should =18.00 hours

  9. #9
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Sum time with criteria of 3 arrays

    Hello Nazerith,

    I just got my system back online. It crashed with the BSOD. After running my utilities, I discovered the cause was a worm. Not sure where it came from. The infection preceded my downloading your file. So, I am back a square one again. Thanks for the update on the formula problem.

  10. #10
    Registered User
    Join Date
    09-02-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Sum time with criteria of 3 arrays

    Bump I really need some help on this one.

  11. #11
    Registered User
    Join Date
    09-02-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Sum time with criteria of 3 arrays

    try another bump

+ 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