+ Reply to Thread
Results 1 to 7 of 7

Tracking due date depending on conditions

  1. #1
    Registered User
    Join Date
    06-09-2011
    Location
    Leeds, UK
    MS-Off Ver
    MS Office 2016
    Posts
    79

    Arrow Tracking due date depending on conditions

    Hi
    I need help regarding one of my report. Sorry I’m not able to attach file from office but I’m trying my best to explain the requirements.
    I’ve one data sheet which is huge but for simplicity let’s say there are 4 columns Project No (combination of text and no)., Defects (text) , Doc Required by Date (date format) and Doc Received? (Yes or No)
    Altogether I have 9 projects (Say P111 to P119) each having 100s of defects and for each defect there is a Doc required by date.
    Now I need to count for each project how many documents are pending within next 7 days. Also I need to take into account that “Document Received” entry should be “No”. If it is “Yes” it should not be taken into account.
    So what I think it’s actually a count if formula having 3 condition one for project no, one for due date and the last one for doc received = no. But I’m not able to implement this.
    Any help will be much appreciated.
    P.S although I’m using Office 2007 but I want it to be compatible with 2003 as well.
    Last edited by Abhijit2011; 11-29-2011 at 08:01 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: Tracking due date depending on conditions

    To be compatible with 2003 you'll need to use SUMPRODUCT.

    Something along the lines of:

    =SUMPRODUCT(--(A2:A6=E2),--(C2:C6<(TODAY()+7)),--(D2:D6="No"))

    where E2 contains the Project number you wish to check.

  3. #3
    Registered User
    Join Date
    06-09-2011
    Location
    Leeds, UK
    MS-Off Ver
    MS Office 2016
    Posts
    79

    Re: Tracking due date depending on conditions

    Excellent!! BrokenB. It's working perfectly.....Many thanks.
    I've 2 queries though
    1. Could you please explain the use of -- in the formula?
    2. For Office 2007 is there any other solution available?

  4. #4
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: Tracking due date depending on conditions

    There's a decent tutorial here which answers both points, the double negation and the use of SUMIFS:

    http://techtites.com/2008/05/22/exce...le-conditions/

  5. #5
    Registered User
    Join Date
    06-09-2011
    Location
    Leeds, UK
    MS-Off Ver
    MS Office 2016
    Posts
    79

    Re: Tracking due date depending on conditions

    thanks...
    I had one problem. I've sent the report and those having 2003 in their system told me that It's coming as #NUM! instead of any data. For 2007 it is fine. Any idea what's the problem is?

  6. #6
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: Tracking due date depending on conditions

    Are you using whole column references? These won't work for SUMPRODUCT in older versions.

    i.e. instead of using "C:C" you would need to use "C1:C2000" or whatever.

  7. #7
    Registered User
    Join Date
    06-09-2011
    Location
    Leeds, UK
    MS-Off Ver
    MS Office 2016
    Posts
    79

    Re: Tracking due date depending on conditions

    Spot on... BrokenB u Rocks!!!
    It very nice to know all these little little secrets of excel. Thanks for all your help.

+ 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