+ Reply to Thread
Results 1 to 8 of 8

Correct formula

  1. #1
    Registered User
    Join Date
    06-30-2008
    Location
    Georgia
    MS-Off Ver
    2013
    Posts
    72

    Unhappy Correct formula

    I am trying to take data from sheet INCIDENTS and report that on sheet DATA.

    On my sheet named Incidents, I have 2 columns...one for DATE OPENED and one for DATE CLOSED.

    On the DATA sheet I'm trying to show all items from DATE OPENED that have a close date (DATE CLOSED column) of 6/01/2008 or later and including the ones that have nothing in the cell (meaning they are still OPEN or active).

    I have tried everything under the sun and can not get it to work to save my life. I tried SUMPRODUCT, SUM, SUMIF, but i must be typing something wrong or using the wrong formula completely. Any help would be greatly appreciated.
    Thanks.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Assume Date Opened column is A and Date Closed is B try

    =SUMPRODUCT(--ISNUMBER(INCIDENTS!A2:A100),(INCIDENTS!B2:B100>="6/1/2008"+0)+(INCIDENTS!B2:B100=""))

    Adjust ranges as necessary

  3. #3
    Registered User
    Join Date
    06-30-2008
    Location
    Georgia
    MS-Off Ver
    2013
    Posts
    72
    Ok, well I tried that formula but it was not working, it's reporting the wrong number.

    I attached a file showing what i'm looking for:
    test.GIF

    column E is the opened date
    column F is the closed date

    I need every date in column E that is before 06/01/2008 but of the ones that are before that date they have to either still be open (active...i.e blank cell) or have a closed date (column F) of 06/01/2008 or later. I hope that explained it a little better.
    Last edited by maddog9486; 07-01-2008 at 09:07 AM.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    How about?

    =SUMPRODUCT(--(INCIDENTS!E2:E100<"6/1/2008"+0),(INCIDENTS!F2:F100>="6/1/2008"+0)+(INCIDENTS!F2:F100=""))

    adjust ranges to suit.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  5. #5
    Registered User
    Join Date
    06-30-2008
    Location
    Georgia
    MS-Off Ver
    2013
    Posts
    72
    NBVC, i tried adjusting the ranges but it returns more than the first formula did. Thank you for the effort though. I guess i'll just leave it with no formula. Thanks guys.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    If you attach the actual sheet and tell us your expected result, it would be easier to come up with the correct formula or figure out why the formula is not giving the expected results.

  7. #7
    Registered User
    Join Date
    06-30-2008
    Location
    Georgia
    MS-Off Ver
    2013
    Posts
    72
    Here is the sheet:
    COPY of BPO - Metrics Workflow Incident Log.xls

    1)If you click the GRAPHS sheet and go to June column where the #8 is...That is what the number is supposted to be currently, i'm wanting that to auto update as I add or subtract items. (The data is on the INCIDENTS sheet).

    2)I am needing to do the same thing with the time range on the bottom graphs table from the respective data on the INCIDENTS sheet but if someone could help me with problem #1 that would be great and I can tweak that formula for the time scale information.

    Thanks.

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    If there are blanks in the E2:E100 range, you will get incorrect results...

    so try this formula in C3:

    =SUMPRODUCT(--(Incidents!E3:E100<"6/1/2008"+0),--(Incidents!E3:E100>0),(Incidents!F3:F100>="6/1/2008"+0)+(Incidents!F3:F100=""))


    I am not sure what your conditions for the bottom table are... if you can't figure out how to tweek the above formula to suit, then post details here so we can get you a formula.

+ 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