+ Reply to Thread
Results 1 to 9 of 9

Formula that lists out a unique value

Hybrid View

  1. #1
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Formula that lists out a unique value

    Try in H4 copied down

    =IF(AND(G4<> {"base",""}), G4, IF((COUNTIFS($C$4:$C$23,C4, $G$4:$G$23, "Base")+COUNTIFS($C$4:$C$23,C4, $G$4:$G$23, ""))=COUNTIF($C$4:$C$23, C4), IF(C3=C4,"","No WC"),""))

    You didn't put anything in H16 and I think that should have "No WC" If not, explain.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  2. #2
    Forum Contributor
    Join Date
    10-15-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    218

    Re: Formula that lists out a unique value

    Quote Originally Posted by ChemistB View Post
    Try in H4 copied down

    =IF(AND(G4<> {"base",""}), G4, IF((COUNTIFS($C$4:$C$23,C4, $G$4:$G$23, "Base")+COUNTIFS($C$4:$C$23,C4, $G$4:$G$23, ""))=COUNTIF($C$4:$C$23, C4), IF(C3=C4,"","No WC"),""))

    You didn't put anything in H16 and I think that should have "No WC" If not, explain.
    Awesome! This works perfectly. H16 was my human error (hence why i love excel).

    this is great "(AND(G2<> {"base",""})"

    Just for my own reference what does the { and } do?

+ 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] Unique entries formula from 2 lists
    By pauldaddyadams in forum Excel General
    Replies: 5
    Last Post: 08-13-2014, 07:58 AM
  2. Formula for finding unique data for lists
    By alcorp in forum Excel General
    Replies: 15
    Last Post: 07-21-2014, 03:49 PM
  3. Dependent drop down lists without creating unique named lists
    By pajordan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-11-2013, 12:20 PM
  4. Validation Lists - Multiple dependent lists with unique values
    By Lewigi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-16-2013, 06:42 AM
  5. MultiLookup + Unique + Sorted Lists in a Drop-Down in the most faster formula
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-09-2012, 01:03 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