Results 1 to 5 of 5

Count of particular unique items in a list-Revisited

Threaded View

jomili Count of particular unique... 12-11-2023, 11:42 AM
romperstomper Re: Count of particular... 12-11-2023, 11:49 AM
Fluff13 Re: Count of particular... 12-11-2023, 11:55 AM
jomili Re: Count of particular... 12-11-2023, 01:15 PM
Fluff13 Re: Count of particular... 12-11-2023, 02:07 PM
  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:
    =SUM(IF(LEFT(UNIQUE($D$10:$D$27447),5)="2024_",1,0))l
    I'm actually working with a table, so I changed it like so:
    =SUM(IF(LEFT(UNIQUE(BudTbl[FY_AP]),5)="2024_",1,0))
    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:
    =SUM(IF(AND(LEFT(UNIQUE(BudTbl[FY_AP]),5)="2024_",UNIQUE(BudTbl[Ledger])="FTE"),1,0))
    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

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