+ Reply to Thread
Results 1 to 3 of 3

COUNTIFS to show "open" line items in spreadshetet

  1. #1
    Registered User
    Join Date
    03-04-2011
    Location
    Kansas City, Missouri
    MS-Off Ver
    Excel 2007
    Posts
    9

    COUNTIFS to show "open" line items in spreadshetet

    I'm needing assistance with a formula, and hope someone can help. I did a lot of "googling" and the formula string I have isn't bringing back the results I was expecting, so I'm not sure what is wrong with my formula.

    Explanation:

    I have a spreadsheet that has "open date", "closed date", and "date last attempted". "date last attempted are those rows that aren't truly "Closed" deals, but because the customer didn't call back we aren't keeping it open, but also don't want credit as being closed.

    I have monthly score card that is completed the next month for prior month's work and i'm trying to read all the data off of a tab in order to pre-populate the score card. I need to show how many "Open date" items were in or prior to the month I'm scoring (Let's use January as an example) that are considered "Open". The only way to tell if the case is Open is to check both the Closed Date column and the "last attempted" column for a date. If there is no date in either, it is still open. If there is a date in either (will never have a date in both on the same row), it needs to be counted only when the date is GREATER than the last day of the scored month (to not include thing that were closed/last attempted in current month). Meaning, I don't want the formula changing the results as future dates are populated. Trying to keep the formula showing a "point in time", which should be what is "open" as of the very last day of the month.

    This is the formula I was attempting to use, but it doesn't seem to be reading it right. Help please!

    =COUNTIFS(Muck!$B:$B,"<2/1/2017",Muck!$K:$K,{"",">1/31/2017"},Muck!$N:$N,{"",">1/31/2017"})

    B is the open date, K is closed date, and N is the last attempted date.

    Thanks in advance!!
    Last edited by awaters7832; 07-27-2017 at 11:32 AM.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: COUNTIFS to show "open" line items in spreadshetet

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    03-04-2011
    Location
    Kansas City, Missouri
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: COUNTIFS to show "open" line items in spreadshetet

    Thank you! That helped me get to what I was needing. My final formula looks like this:

    =COUNTIFS($B:$B,"<"&"2/1/2017",$K:$K,">"&"1/31/2017",$A:$A,"<>REFERRED")+COUNTIFS($B:$B,"<"&"2/1/2017",$N:$N,">"&"1/31/2017",$A:$A,"<>REFERRED")+COUNTIFS$B:$B,"<"&"2/1/2017",$K:$K,"",$N:$N,"",$A:$A,"<>REFERRED")

+ 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. How to show Items marked with "hide" in the PageField dialog
    By vdr60 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-20-2014, 05:06 PM
  2. Replies: 0
    Last Post: 01-29-2014, 08:10 PM
  3. Replies: 3
    Last Post: 01-02-2014, 02:15 PM
  4. VBA Slice Setting "Show Items Delete from the Data source"
    By milobc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-05-2012, 08:37 PM
  5. Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" not working
    By redders in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2011, 03:52 PM
  6. Replies: 2
    Last Post: 01-26-2011, 06:45 AM
  7. [SOLVED] conditional formula to show "open" or "closed"
    By SBS in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-27-2006, 09:50 PM

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