+ Reply to Thread
Results 1 to 3 of 3

Excel formula to extract unique values based on conditions

  1. #1
    Registered User
    Join Date
    11-01-2010
    Location
    CapeTown
    MS-Off Ver
    Excel 2010
    Posts
    42

    Excel formula to extract unique values based on conditions

    Hi all

    I want to extract unique values based on conditions and put the result in a new cell.

    In the attached workbook (tab : data) I would like to extract a unique area for each grower,block,section & year.
    I want this result in the first line in and 0 in the rest where the conditions are met. See tab: desired result.

    I am using Excel 2019.

    Thank you in advance.

    Regards
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    10-30-2003
    Location
    Singapore
    MS-Off Ver
    Excel 2019
    Posts
    197

    Re: Excel formula to extract unique values based on conditions

    In "Data" sheet F2, copied down :

    =IF(COUNTIFS(A$1:A2,A2,B$1:B2,B2,C$1:C2,C2,D$1:D2,D2,E$1:E2,E2)=1,E2,0)

    Regards
    Bosco

  3. #3
    Registered User
    Join Date
    11-01-2010
    Location
    CapeTown
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Excel formula to extract unique values based on conditions

    Thank you Bosco. Exactly what I wanted.

+ 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] Extract Unique values based from multiple columns
    By kobiashi in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 06-14-2018, 10:10 AM
  2. [SOLVED] Extract values based if conditions met
    By bjnockle in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-06-2017, 06:06 PM
  3. Replies: 11
    Last Post: 10-27-2016, 07:33 PM
  4. Replies: 2
    Last Post: 08-19-2015, 10:22 AM
  5. [SOLVED] Formula to extract unique values from two excel tabs and sort alphabetically
    By rshukla in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-06-2013, 01:48 PM
  6. Extract Unique Values from an Array based on Criteria
    By ronleex324 in forum Excel General
    Replies: 1
    Last Post: 10-04-2011, 06:37 PM

Tags for this Thread

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