+ Reply to Thread
Results 1 to 4 of 4

Looking for solution (Function) based on Condition IF and SUMIF

  1. #1
    Registered User
    Join Date
    05-22-2019
    Location
    Dublin
    MS-Off Ver
    MS Office 365 Pro/Business
    Posts
    35

    Looking for solution (Function) based on Condition IF and SUMIF

    Hello all,

    I'm working on the utilization report and as a part of that report there is additional requirement to understand if our Agents are logging the time on particular date that they are completing work or different day (after). this has a significan impact sometimes and needs to be tracked down to understand the impact and to manage it.

    the requirement is quite basic -
    1. Agent works today and logs in hours today
    2. logging hours today is a requirement (not tomorrow or any other day)
    3. In our world it does not happen

    this is why I need to find a solution (a formula) or maybe a suggestion of a different technical approach (?)

    The task is in the table, in Agent logs hours today for yesterday, the cell of table should return how many hour were logged today for yesterday.

    Please see a quick snapshot below and Table with mock data attached.
    Capture.JPG

    Test WorkBook:
    TEST workbook.xlsx

    Any help would be highly appreciated.

    Thanks,
    L.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Looking for solution (Function) based on Condition IF and SUMIF

    Try this in B3:

    =SUMIFS($D$17:$D$43,$A$17:$A$43,$A3,$B$17:$B$43,B$2,$C$17:$C$43,"<>"&B$2)

    Drag to the right and down.

    Note that you have a typo in C2.

    If you want blanks instead of 0's, you can use this:

    =IFERROR(1/(1/SUMIFS($D$17:$D$43,$A$17:$A$43,$A3,$B$17:$B$43,B$2,$C$17:$C$43,"<>"&B$2)),"")

  3. #3
    Registered User
    Join Date
    05-22-2019
    Location
    Dublin
    MS-Off Ver
    MS Office 365 Pro/Business
    Posts
    35

    Re: Looking for solution (Function) based on Condition IF and SUMIF



    Works, and thank you for outlining the typo

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Looking for solution (Function) based on Condition IF and SUMIF

    Happy to help. Thanks for the rep!

+ 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] Add Condition For if and sumif Function Formula
    By Squint in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-13-2015, 12:48 PM
  2. Unable to use a column with dates as a condition for a sumif function
    By EWool in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-30-2013, 09:17 AM
  3. Sum last n rows based on condition (SUMIF won't cut it)
    By LondonJames in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-16-2012, 02:35 PM
  4. Replies: 2
    Last Post: 10-25-2010, 03:10 PM
  5. Sumif function condition cell value
    By borut_p in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-24-2009, 03:02 PM
  6. SUMIF function with text color condition
    By MrWallyWorld in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-17-2006, 11:10 PM
  7. Solution:SUMIF function retrieves "0"
    By JMB in forum Excel Formulas & Functions
    Replies: 26
    Last Post: 09-06-2005, 07:05 AM

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