+ Reply to Thread
Results 1 to 4 of 4

Count specific cells with multiple criteria duplicated content must only be counted once

  1. #1
    Registered User
    Join Date
    02-17-2022
    Location
    South Australia
    MS-Off Ver
    365
    Posts
    5

    Count specific cells with multiple criteria duplicated content must only be counted once

    Hi have a tracker spreadsheet monitoring the progress of building works. The building works have several statuses that they may go though this is identified by the Property Status column. There are 3 different types of status Statuses beginning with IP (In Progress), CPL (Complete) and HLD (on Hold) see the attached LISTS on the sample spreadsheet.

    What I want to do is count how many properties are IP how many CPL and how many HLD. Normally this would not be a problem however in some instances a property may have multiple works orders assigned to it the sample spreadsheet shows one of these properties (highlighted in orange).

    The property with 2 works orders 1 order is still in progress and 1 order is complete there is however only 1 property so this can only be counted once the work for that property is still outstanding so need to be counted as 1 property that still has work to complete

    The second property that has 2 works orders again is only 1 property and must only be counted as 1 property that still has works orders outstanding.
    I’m happy to add additional columns if required however I cannot work out a way to break these down can any of you gurus please help.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,607

    Re: Count specific cells with multiple criteria duplicated content must only be counted on

    Perhaps the following will help.
    Column AR displays the status type for each row and is populated using: =LEFT(P18,SEARCH(" - ",P18)-1)
    Column AS displays the count of CPL and is populated using: =IF(COUNTIFS(E$18:E18,E18)=1,(COUNTIFS(E$18:E$33,E18,AR$18:AR$33,AS$17)=COUNTIFS(E$18:E$33,E18))+0,0)
    Column AT displays the count of IP and is populated using: =IF(COUNTIFS(E$18:E18,E18)=1,(COUNTIFS(E$18:E$33,E18,AR$18:AR$33,AT$17)>0)+0,0)
    Column AU displays the count of HLD and is populated using: =IF(COUNTIFS(E$18:E18,E18)=1,(COUNTIFS(E$18:E$33,E18,AR$18:AR$33,AU$17)=COUNTIFS(E$18:E$33,E18))+0,0)
    AR16:AU16 display the totals of each status.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    02-17-2022
    Location
    South Australia
    MS-Off Ver
    365
    Posts
    5

    Re: Count specific cells with multiple criteria duplicated content must only be counted on

    Hi JeteMc, First of all brilliant I think this does the trick, I was seriously overthinking the problem from the way I was tackling it for sure. I really appreciate the time you have taken to help me out on this I was getting to the point were I was thinking it wasn't possible. Thanks so much mate.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,607

    Re: Count specific cells with multiple criteria duplicated content must only be counted on

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. to count duplicated cells in multiple columns
    By karyx in forum Excel General
    Replies: 3
    Last Post: 01-17-2017, 05:24 AM
  2. to count duplicated cells in multiple columns
    By karyx in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-17-2017, 05:18 AM
  3. Replies: 4
    Last Post: 02-11-2015, 09:02 AM
  4. [SOLVED] Count cells in column unless they've already been counted
    By JB33 in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 04-04-2014, 11:41 AM
  5. Replies: 5
    Last Post: 02-04-2013, 05:32 PM
  6. scan through sheets to count cells with specific content
    By ossa in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-06-2012, 12:08 PM
  7. how to delete duplicated content from 2 cells
    By lucent88 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-12-2005, 06:05 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