formula to find unique values

genisys

New Member
Joined
Apr 20, 2016
Messages
6
Dear All,

Need some help on retrieve unique values into column E. Please refer below for samples. i have tried vlookup and hlookup but can't work :(

columnAcolumnBcolumnCcolumnDcolumnEreference
applenotnotnotapplewatermelon
notorangenotnotorangebanana
notnotbanananotorange
notnotnotwatermelonapple

<tbody>
</tbody>
 

Some videos you may like

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Surreybloke

Board Regular
Joined
Apr 1, 2010
Messages
145
So am I right in thinking you want a formula in column E, using essentially column F (reference) to see if it can find that word or not in the preceding columns across the same row?
 

Surreybloke

Board Regular
Joined
Apr 1, 2010
Messages
145
One suggestion, which is a bit of a half-way house towards what you want, would be a countif formula that would tell you how many times your reference word appears in the other columns along that row.

Another, would be the MATCH formula, which can tell you where in your array, it finds the specified value.

Do you think either of these would fulfill your requirement?
 

Watch MrExcel Video

Forum statistics

Threads
1,109,400
Messages
5,528,518
Members
409,821
Latest member
decibelpilot

This Week's Hot Topics

  • Change military grades into rank
    Afternoon all Need help with formula that will change military rank (i.e. 1, 2, 3 into Amn, A1C, SrA). Running IF formula that does not work...
  • VBA COUNTIF SOLUTION
    Hi The following are the errors spread across the several columns from E to Q ie. 13 columns across several sheets with more than 500 rows per...
  • INSERT ROW WITH SPECIFIS TEXT IN A COLUMN
    Hi All! How can identify that that the row to be inserted has to be inserted before 1st row with specific text in column F. If I record the...
  • Auto-Create a monthly Sign in sheet for preschool students
    The image below is what each page looks like. Above is space for the "Child Name" "Month" "Class" School days are obviously Monday-Friday but...
  • VBA vlookup multiple results
    Hi folks, Hopefully someone out there can help. I have a list to vlookup which works (ish). the lookup only picks up the first instance of the...
  • Extract values for earliest/latest times
    I am trying to put together a formula to get the earliest start time, the latest end time from column A for each person in Column B-F without the...
Top