Filtering For Unique Entries Based On One Column

May 1, 2009

This may be a basic question but I haven't been able to find the solution:

I'm using Excel 2003. I have a list with repetitive entries in one column and unique entries in the other columns. Example

0001 a
0001 b
0002 c
0002 d
0003 e
0003 f

I need to filter the list so that only unique entries in the first column show up, but I need the rest of the information to carry with it. Example:

0001 a
0002 c
0003 f

I can't use the Avanced Filter > Unique Entries Only function because the information in the adjoining columns is not unique.

View 6 Replies


ADVERTISEMENT

Identifying Unique Entries Based On Unique Entries In Another Column?

May 29, 2014

I have a list of data and I want to identify the unique entries for both columns but the second column has to unique to the unique values in the first column.

Example List

Fruit
Color
Apple

[Code]....

View 9 Replies View Related

Filtering Unique Entries

Jul 20, 2006

I have this 2 columns, A(region) and B(location), and I need a macro to filter the unique entries in Columns A and return both the unique values in A and their corresponding values in B. I've attached a file on it with sheet 1 having the data to be worked on and sheet 2 being the output that I require.

View 7 Replies View Related

Unique Entries In Each Column Of 620 Columns?

Jun 18, 2012

I have 620 columns of data with each column consisting of 17 rows. I need to be able to count the number of unique entries in each column. I recorded a macro that would do what I wanted, but it just used absolute references for each column, which would make the process rather tedious. Is there a way to make the macro less restrictive?

Sub Macro1()
Columns("B:B").Select
ActiveSheet.Range("$B$1:$B$17").RemoveDuplicates Columns:=1, Header:=xlNo
End Sub

View 1 Replies View Related

Copy Unique Entries To Another Column

May 3, 2007

From column A,(lets say cell 10 onwards) I need to copy all the unique entries into column B (cell 10 onwards). However, I dont know what length column A will be. What would be the best way in VBA/Excel to do so ?

View 4 Replies View Related

Check Column For Unique Entries And Add One Further Condition

Sep 17, 2009

I need to count all unique entries in column A (list of names) (this bit I can do!)...however:

Column B gives each name a value of A or B, I need to count all unique names with an A and all unique entries with a B.

eg

Matt A
Matt A
Matt A
Bob A
Tom B
Tom B

This would give a count of 2 for A's and 1 for B's.

View 14 Replies View Related

Calculating The Number Of Unique Entries In A Column

Jul 17, 2009

how to calculate the number of unique entries in a column? I have a column of email addresses and i would like to know how many of them are unique.

View 9 Replies View Related

Create List Of Unique Entries Based On Several Columns

Jul 27, 2013

[URL] ......

In that file, you can see there is a list of somewhat similar data across 5 columns. Some of the entries are duplicates, some are different by only one character. What I want to be able to do is generate a list of all the unique rows of data, taking into account the data from ALL 5 columns. The list can be on another sheet or simply just further down on the same sheet, that doesn't matter too much.

I could do it if it were just one column of data, but struggling trying to do it with several columns.

View 7 Replies View Related

Fill ComboBox With Unique Entries Based On OptionButton

Feb 5, 2008

I have a user form with a group of several option buttons. When an optionbutton is selected, programatically, I want a worksheet's named column to be parsed through to find unique entries and then have those entries passed to the form's combobox. I've spent the last hour searching for an answer but to no success

View 3 Replies View Related

List Unique Entries And Total Cells Based On The Results

Jun 10, 2008

Basically from Sheet OEE V20:V500 I have a list of problems being selected from a drop down list validation (which users can add to the list for new problems). Along side these "problems" in Sheet OEE U20:U500 I have a number which represents the number of minutes the problem caused them. Some cells in both these columns will however be empty if there was no problem occour. But wherever there is a problem selected, there will be a number alongside it, there will never be one without the other.

What I want to do is look down Sheet OEE V20:V500 and get two lots of information -

The unique problem names (no duplicates of the same problem) in Sheet Reports A1:A100 for example (I may change the range of this).
The number of occurances of each of the problems it lists in Sheets Reports B1:B100.
Count up the total number of minutes of each problem. So for every occurance of "Paper problem" there will be a unique number in Column U in the same row as the problem and place this in Sheet Reports C1:C100.

I would ideally like to have this as VB code as I am going to tie it into a command button which formats and prints my report page.

I have found various bits of code dotted about the forums for counting unique cell entries but they always seem to produce a list with lots of blank rows (I would like a list one after another without blank rows all over the place) and I'm really struggling to figure out how to make it count up the numbers in the adjacent cell of each entry it sees.

Just in case the list of problems for the cell validation in Sheet OEE V20:V500 is found in Sheet OEE AQ16 downwards.

View 9 Replies View Related

Count Unique Entries In One Column That Meet Conditions

Jan 17, 2010

I tried to ask this question yesterday -- but it was a follow-up question stuck at the bottom of a thread. So, with your indulgence, here is a simpler version of the question, complete with an attached spreadsheet, if you wish to use it. I also closed the other thread by marking it "Solved", since it answered my initial question.]

The situation:

I have two columns of data. The data is not in alphabetical order, and every column includes duplicate values.

namegender
jones m
martinf
smithf
collinsf
wilsonm
jones m
martinf
hughesm
wilsonm
martinm
smithf
west f
jones m
west f
martinm


The challenge:

In one cell, count the number of unique names that appear in the name column 3 or more times... with the additional condition that each unique name (which appears at least 3 times) must include at least one one woman!

The correct result: ...

View 6 Replies View Related

Advance Filter Check Unique Column Entries

Jul 7, 2009

How do you remove entries from a column such that only unique entires are left?

Say the spreadsheet contains only a single column:

david
kris
tony
hayley
kristy
john
david
test
hello
david

I tried an "advanced filter" with "unique records only" checked. It gets rid of one david, but not 2 (there are originally 3 of them, and we want to leave 1)

This is the result.
david
kris
tony
hayley
kristy
john
david
test
hello

View 9 Replies View Related

Count Unique Instances Of Date While Filtering Based Upon Date And ID Number

Aug 14, 2014

I have a list of ID# (Col A) and dates (Col B). The ID # of reference is Col (F) and today's date (Col G). I need to count how many future dates there are in the list (Col B) that are unique and in the future from today's date.

I'm still fairly new to all these formulas and functions which is why I'm not attempting this in VBA.

I've attached an example work book and I would like the result in H2.

Example Workbook.xlsx‎

View 5 Replies View Related

Filtering Out Valid And Invalid Entries

Jul 1, 2014

My goal to checkup/analyze our contact details database, to do that i have to manually tag the invalid entries ( blanks, 0, wrong cellphone format, x, NONE etc. ) for cellular phone field as " INVALID " and if the cellular phone format is correct we'll tag it as " VALID " ( please refer to my attach file ) i have to get this task as fast as i could and our database comprises of 200,000 imagine if i have to manually tag it even in batches i have to figure out how to automate this..but the filter function of excel seems to be lacking for me. if there's a way how to automate this with this function:

- define field to be filtered out as for this case ill define cellphone # format and tag it as " VALID "
- define field to be filtered out as invalid entries ( blanks, x , 0, numbers less than 10 digits, entries that are telephone format, NONE, /// , XX, aa, @ ) or any sort of entries that are not cellphone format

View 7 Replies View Related

Unique List Would Grab All Unique Entries

Jul 30, 2009

I have a data table that repeats as follows:

CITI
SCB
SCB
SCB
SCB
SCB
SCB
SCB
RBC
RBC
RBC
RBC

From the data above I need to make a new unqie list that would grab all unique entries.
CITI
SCB
RBC

I am trying to use the following guide:

http://blogs.techrepublic.com.com/howdoi/?p=111

Get stuck on "Listing A:

View 9 Replies View Related

Filtering Out Entries With Null Date Field

Nov 21, 2006

I have a column formatted as a date. I would like to filter out all rows which have a blank date value. I don't see any blank value to select when I try to select auto-filter for that row. Any suggestions?

I would like to filter out the blank values because I found that if I pivot on the data and there are blank values in the field, I can not use the group option for that field.

View 9 Replies View Related

Autofill Column B Based On Column A Entries

Oct 9, 2009

I have a Listbox that outputs data to Column A. Is there a way to auto populate Column B with 4 items for each Entry in Column A?
The 4 items that will populate in Column B will always be the same.

I have attached an example to better explain what I am trying to describe.

View 6 Replies View Related

Function To Sum A Column's Entries Based On Another Column

Feb 20, 2009

Let's say I have a dataset with blank or X in column A, and a dollar value in column B. I want to sum the dollar amounts for column B only if there is a corresponding X in that row in column A. The way I currently do that is by creating a new column C, making a if statement to display the value of B only if there is an entry in A, and then doing operations on that new range. I figure there has to be an easier way. I don't know how to use VLOOKUP, despite trying to read the helpme a bunch of times. Is that relevant?

View 8 Replies View Related

Format Column Based On Entries In Another

Mar 7, 2007

In the same worksheet, I would like to format column "U" based on the alpha character in column "T" and also format column "AA" based on the alpha character in column "Z". There are three alpha characters that will be used in columns "T" and "Z" ( upper case and lower case), "A" with the format of $ #,000 & "H" with the format of $ 0.00 & "P" with the format of percent %. I want to format column "U" & "AA" prior to entering a value.

Column "T" & "Z" are a pull down menus containing only the values listed above (a,A,h,H,p,P)

I had asked and received an answer regarding the above pertaining to columns "A" and "B" and was given an answer that works, however, today my boss changed the configuration of the spreadsheet and for the life of me, I could not get the code to work using the new parameters.

View 3 Replies View Related

Count Entries Based On A Dates In Another Column?

Oct 30, 2013

I have a specific issue that I have not been able find in here or on the internet. I need to count entries in one column based on a date range using corresponding dates in another column.I found countif, countifs, dcount, etc but have not been able to get any code to work. I don't know if my excel spreadsheet attached correctly but I can explain it since it's a simple one. Column A is filled with report dates that generally increase from 10/1/2012 t0 9/30/2013. Column B is filled with the number of "AFIS searches." If an AFIS search was not conducted for a specific report then the cell is blank. I need to count the number of AFIS searches between the dates of 1/1/2013 and 3/31/2013.

View 9 Replies View Related

Filtering For Unique And 1 Duplicate

Aug 7, 2009

create a lookup table in access from this excel spreadsheet. Column : "Unit Name" - has some unique and majority are duplicates Unit Names. I want to filter for Unique names and for one name of each duplicate. This will give me all "Unit Name"'s we've entered to date.
When I enable filters for the headings of each column, The list of what I need is there...while in the "Unit Name" Column. If I click on the filter drop down....that the list. My thing is how do I get that on the sheet it self.

View 3 Replies View Related

Formula That Counts Unique Dates In Column Based On Another Column Value?

Jan 8, 2014

How would I count unique dates associated with another specific value on a worksheet?

For instance, Lets say I want to count each day a particular person makes a sale.

Example:

Sales PersonSale IDSales Date
Don 1001/6/2014
Don 1401/7/2014
Don 1601/8/2014
Jack 1011/6/2014
Jack 1021/6/2014
Mike 901/5/2014
Mike 1031/6/2014

So on another worksheet, I'd have:

Sales Person Days with Sale
Don 3
Jack 1
Mike 2

The Formula would go into the "Days with Sale" Column.

View 2 Replies View Related

Count The Amount Of Entries Based On The Date In A Column

Jan 17, 2009

I have a spreadsheet containing 10,000 + entries.

Each Entry is Dated within Column D2:D10786 in this format - 1-Nov-08 (example).

Lets say i have a cell on another sheet Cell A1 and in this Cell i want it to Count how many Cells contain the dates from Nov-08 in my Date column..

View 9 Replies View Related

Filtering For Unique Values. But Keep Only First Entry

Jul 23, 2009

i need to filter and delete duplicate values. where i have some issues is that i just need keep the first entry and delete the second (and so on) entry. means when i have a list with ids and hours like that:

id1 hours1
id1 hours2
id1 hours3
id2 ...

i need to have id1 and hours1 but delete hours2 and hours3. hours is the result of a formula. i tried with advanced filter but it somehow just hides me the duplicates and it sums me the hours.

View 2 Replies View Related

Filtering Unique Duplicates With Timestamps

May 28, 2012

I am relatively new to Excel so there may be a easy way to do this that I just can't see. Here's the background:

My raw data contains 10,000+ entries with many duplicates. Each entry though has a time stamp like so:

Unique Identifier: TimeStamp
S1111111111 10th July 02:00
S1111111111 10th July 02:10
S1111111111 10th July 00:50

What I want to do is to isolate the duplicates in this sheet of 10K+ that have the earliest timestamps and delete duplicates with later time. So in the above example, I would only be left with the 3rd entry as it has the earliest timestamp.

View 3 Replies View Related

Fill Column B Based On Non-unique Values In Column A?

Apr 21, 2014

I have a worksheet with Coulmn A and B , wherein , Column A has a list of values that can be duplicated. Based on the values in Column A, I want to fill corresponding cells in Column B. see the attached.

way to accomplish the same. Tried VLOOKUP.

View 1 Replies View Related

Named Ranges Based Upon Indent Levels & Entries In Column

Sep 19, 2008

I had an idea that I could use the level of indent in the first column to provide the name for the range. The easiest way to explain is with the example spreadsheet I have attached

Cells C5:C10 show how the naming convention should look like, basically Indent Level 0 returns a prefix (Sheet_Name_Prefix) and its corresponding row entry in Column A. Level 1 should return the last Level 0 name and its corresponding row entry in Column A.

I had a go at the code and it works for Level 0 but I can't get it to put to Level 1.

Sub Test()

'Dimension Variables
Dim RowTitleEntries As Integer
Dim NameLoop As Integer
Dim IndentLevel As Integer

'Set the value of RowTitleEntries
RowTitleEntries = 6

View 3 Replies View Related

Sum Of Column Entries Based On Value In Other Column?

Dec 27, 2012

What i want here is the total for a particular id.

View 3 Replies View Related

Duplicates Finding Entries In Column A Which Match Any Of Column C Entries

May 7, 2014

What I need to do is sort certain entries in longer list (column A, it is in .csv format and needs to be in it so coordinates and names and ID, all sorted with commas) and I have another list (column C) which is shorter list of certain IDs. I googled and tried and got some results for the basic structure but the fuction seems to fail. It doesn't matter how I get that third list done, but there is only one criteria: since the list in column A is really long and those entries need to keep the .csv formatting, the function should copy that info what is in the matching cells.

Let me try to put it simple: .csv cells from column A that have matching ID from column C should be copied to column B (or N).

the function I'm working with right now is

=IF(ISERROR(FIND($C:$C; A1))=TRUE;"0";A1)

View 13 Replies View Related

Count Unique Values Based On Another Column

Jul 1, 2009

I am using Excel 2007, and I'm stuck with this problem.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved