+ Reply to Thread
Results 1 to 5 of 5

Unique values formula returning zero

  1. #1
    Forum Contributor
    Join Date
    09-03-2004
    Location
    Vancouver, BC Canada
    Posts
    136

    Unique values formula returning zero

    Hi Experts and/or users,
    In the attached workbook I was trying to extract unique values of a column using the formulae. I must confess that I have copied it from a google search and pasted it! For some reason the unique list if returning 0. Please look at column "H" and column "L" in the "Bank transactions" Tab.
    Same formula in the other tab with a different set of data works!
    COuld someone help please?

    Thanks a bunch!
    Attached Files Attached Files

  2. #2
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,493

    Re: Unique values formula returning zero

    worksheet or tab name : Bank Transactions

    Cell L3 formula , Drag down

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

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Unique values formula returning zero

    Please try
    =IFERROR(INDEX($H$3:$H$21, MATCH(0,COUNTIF($L$2:L2, $H$3:$H$21), 0)),"")

    or faster than Countif with Match
    =IFERROR(INDEX($H$3:$H$21,MATCH(TRUE,ISNA(MATCH($H$3:$H$21,M$2:M2,)),0)),"")
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    09-03-2004
    Location
    Vancouver, BC Canada
    Posts
    136

    Re: Unique values formula returning zero

    Hi wk9128 and Bo-Ry,
    Thanks a lot for your help. Much appreciated. I have actually downloaded the file from Bo-Ry and I'm using it! Have a great day guys!

  5. #5
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,493

    Re: Unique values formula returning zero

    @kollur You're Welcome. Glad to help . Thank You for the feedback

    If you finally get a solution please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".
    - Please click on the *Add Reputation button at the bottom left. Whoever helps you, give it to whoever you like

+ 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] Returning multiple UNIQUE values in a VLOOKUP
    By BDBJ1 in forum Excel General
    Replies: 5
    Last Post: 01-23-2018, 05:00 AM
  2. Returning unique values
    By graeme27uk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-12-2018, 04:25 PM
  3. [SOLVED] AdvancedFilter not returning Unique values
    By bungslea in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 02-18-2013, 06:47 AM
  4. Replies: 2
    Last Post: 02-06-2013, 04:44 AM
  5. Returning unique values
    By sathyagsn in forum Excel General
    Replies: 2
    Last Post: 11-21-2012, 11:17 AM
  6. Filter not returning unique values
    By spalermini in forum Excel General
    Replies: 15
    Last Post: 04-29-2009, 11:39 AM
  7. Sorting unique values and returning values from a formula
    By MarcusA in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-01-2006, 01:40 AM

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