+ Reply to Thread
Results 1 to 5 of 5

Count of particular unique items in a list-Revisited

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,051

    Count of particular unique items in a list-Revisited

    Last week in the post https://www.excelforum.com/excel-for...in-a-list.html 6StringJazzer posted a great, easy to understand formula that I needed then:
    Please Login or Register  to view this content.
    I'm actually working with a table, so I changed it like so:
    Please Login or Register  to view this content.
    Now I've hit the next conundrum, which is a variation on the first. I want to get the count of UNIQUE combinations of "2024_" in the "FY_AP column" (which the first formula does) but only where the Ledger value is "FTE".

    I thought it would be a simple AND, like so:
    Please Login or Register  to view this content.
    That formula works, in that it doesn't return a zero, but it also doesn't return the proper result. While there are four unique "2024_"'s, only 3 match with FTE, so the proper answer is 3. Any ideas on what I'm doing wrong in my formula?
    Attached Files Attached Files
    I know I'm not stupid, but I suspect I'm a lot stupider than I think I am

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,966

    Re: Count of particular unique items in a list-Revisited

    You could use:

    =ROWS(UNIQUE(FILTER(Table1[FY_AP],(LEFT(Table1[FY_AP],5)="2024_")*(Table1[Ledger]="FTE"))))
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,708

    Re: Count of particular unique items in a list-Revisited

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    4,051

    Re: Count of particular unique items in a list-Revisited

    Wow, Rory and and Fluff13, two minds that think alike, just in different order. Both of your formulas work well! Thanks!

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,708

    Re: Count of particular unique items in a list-Revisited

    Glad to help & thanks for the feedback.

+ 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. [SOLVED] Count of particular unique items in a list
    By jomili in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 12-08-2023, 12:17 PM
  2. [SOLVED] Count Unique items in a 'Bin' & reset this count once the original items have been removed
    By peteroberts in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-25-2023, 01:20 PM
  3. [SOLVED] Count Unique Items in a Column Based on Unique Items in Two Other Columns
    By HangMan in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-31-2015, 04:48 PM
  4. [SOLVED] Counting # of Unique Items In List & Listing Unique Items In A List
    By unpluggedmusic in forum Excel General
    Replies: 3
    Last Post: 12-05-2012, 11:44 AM
  5. Count Unique Items
    By Karleajensar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-05-2008, 05:20 PM
  6. Function to count unique items in list
    By XP in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-10-2006, 01:35 PM
  7. count unique items in ever-growing list?
    By MeatLightning in forum Excel General
    Replies: 2
    Last Post: 03-17-2006, 02:10 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