+ Reply to Thread
Results 1 to 3 of 3

Help with Count based on criteria for duplicates

  1. #1
    Registered User
    Join Date
    01-04-2023
    Location
    Alabama
    MS-Off Ver
    Office 19
    Posts
    4

    Help with Count based on criteria for duplicates

    I am working with a set of data and I am looking to count the total occurrences for column "B" that begins with the number "1" and also is less than or equal to date from column "C" (without time), for example <=12/26/22. Also, I am wanting this same information minus the duplicates, where duplicates would only count 1.

    Example.xlsx

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,800

    Re: Help with Count based on criteria for duplicates

    E3=SUMPRODUCT((LEFT(B2:B161,1)+0=1)*(INT(C2:C161)<="12/26/2022"))


    E6=SUM(IF(FREQUENCY(IF(INT(C2:C161)<="12/26/2022",IF(LEFT(B2:B161,1)+0=1,MATCH($A$2:$A$161&B2:B161,$A$2:$A$161&B2:B161,0))),ROW($A$2:$A$161)-ROW($A$2)+1),1))

    Control+shift+enter

  3. #3
    Registered User
    Join Date
    01-04-2023
    Location
    Alabama
    MS-Off Ver
    Office 19
    Posts
    4

    Re: Help with Count based on criteria for duplicates

    EXAMPLE LOS.xlsxSample Data.xlsx

    This worked perfectly!! Thank you so much! I am now working to have the formulas auto detect when new data is input into the spreadsheet and auto calculate using the formulas. I am seeing a #VALUE issue due to the columns A, B and I not updating the refecence to the last cell with data for the respective columns. With that the only way to update is to update all 14 formulas F3:M4 with the last cell reference. Any help would be greatly appreciated and I have attached the input spreadsheet as well as an example data to input in order to see what I am reffering to live.

+ 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. Count text formula based on multi-criteria excluding duplicates
    By eyeope in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-07-2019, 12:26 PM
  2. [SOLVED] Count number of lines based on text and number criteria, without duplicates
    By HVCompleto in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-28-2017, 07:17 AM
  3. Replies: 3
    Last Post: 10-01-2015, 11:09 AM
  4. Replies: 13
    Last Post: 04-19-2015, 11:51 PM
  5. [SOLVED] Count duplicates in column based on criteria
    By roxylai in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-23-2013, 07:32 PM
  6. [SOLVED] count with multiple criteria without duplicates based on a different column
    By antagonanin in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-14-2013, 09:46 AM
  7. [SOLVED] Count without duplicates based on multiple criteria from different cells
    By perryadam in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-23-2013, 12:54 PM

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