Creating A Macro To Count Unique Items In A List

Jun 1, 2006

I need to count the unique for a customer. The areas to be counted are separated by blank lines. At present, I am using sumproduct(1/countif(range1,range1), to count the unique items. This formula works perfectly except that it takes me almost an hour to do this for all the measurements. Is there a macro that can provide me with the same results -- putting the same values where I am presently have the formulas (the cells that before the blank lines)?

View 6 Replies


ADVERTISEMENT

Creating A Unique List Of Items In Column A That Have A Corresponding Non-zero Value In Column B, I.e. Excluding All Items Where Sumif ColumnB Would Sum To 0

Jul 17, 2009

I know how to use array formulae to create a unique list, i.e.{=INDEX($G$1:$G$760,SMALL(IF(ROW($G$1:$G$760)=MATCH($G$1:$G$760,$G$1:$G$760,0),ROW($G$1:$G$760)),ROW()))}

however this is giving all the unique items from column G and I only want the unique items that have a non-zero value in column H as well. This would be the sumif of all instances that would have to be zero. I've tried to crack it and I've tried to search for solutions but so far no joy.

View 9 Replies View Related

Count Unique Items

Jun 16, 2009

Counting unique items in column (numbers)

View 9 Replies View Related

Count Condition Unique Items

Jan 22, 2009

Can someone please help me with formulas to calculate the # of Unique Customers, #of Items, and Amount for Q1, Q2, Q3 and Q4 for the year in A2 (which contains a drop-down list).

Please see attached sample workbook. (I can’t figure out how to combine the formulas for count unique items with a specific quarter.)

View 14 Replies View Related

Count Total Items Per Unique ID

Feb 19, 2014

I need a formula to count the total items per unique id. For example

Column A Column B
11111 Basketball
11111 Basketball
11111 Basketball
33333 Baseball
33333 Baseball
22222 Hockey

Output to Column C,
ID 11111=3 Basketball
ID 33333 2 Baseball
ID 22222 1 Hockey

View 11 Replies View Related

Count Unique Items With A Condition?

Oct 30, 2012

I've an excel sheet with 1000 rows data. I need a formula to count number of unique items in a column with a condition. Please find a sample data sheet.

I've tracking list that has ordered and delivered items for a given month on weekliy basis such as Week1(W1), Week2(W2), etc. I need a formula to count number of unique item delivered on this month.

Item 1 to item 8 delivered and item 10 also delivered in week 4, So totally I need to get the result as 9.

I was trying to use "countif" for validating and counting each row, it's throwing value! Error =1/(COUNTIFS(A:A,A2, c2:c23, ""&0)) i.e., = 1/countifs(unique items from column A, then nonblank cells in column C) but it's giving Value error..

I just need to count the unique item with another condition.

Item details
Order week
Delivered Week

Item 1
W1
W1

Item 2
W1
W1

[code]....

View 3 Replies View Related

Count Unique Items In A Column

Dec 7, 2007

Looking for a formula that will give me a count of unique entries (i.e. duplicate entries to not be counted.)

basically a formula that says look in D4:D4001 and count only one of each entry....do not count the duplicate entries.

View 9 Replies View Related

Count Unique Items In Autofilter

Jun 10, 2007

I have a Excel sheet and I have put Autofilter for a particular category I choose I need to count number of items in another column(autofilter) , for eg... there are two columns Category , Items When i choose a particular Category I need to count number of Items in the autofilter for that particular category?

View 9 Replies View Related

Count Unique Items In Filtered Range

Dec 13, 2009

As the subjects states I need to count the unique entries in a filtered range.

View 7 Replies View Related

Count Unique Items With Multiple Criteria

Aug 12, 2009

A B C D
1 Yes Red Green
2 Yes Blue Black
1 No Blue Black
2 No Blue Green
2 Yes Red Black

I am interested in finding the number of unique entries under column A where column B = Yes; Column C = Red OR Column D = Black (answer is 2)

View 9 Replies View Related

List Unique Items ...

Jun 15, 2009

I have a list of >50 contract numbers listed in cells A1:A350, with several of the numbers listed more than once. What I would like to do is, on a separate worksheet, list each contract number only once, in column A.

View 9 Replies View Related

Count / Calculate And Graph Sales Of Unique Items Over Time?

Nov 24, 2013

My company has a catalog of ~6000 unique SKUs that we sell online. Currently we do not have a way to quickly determine how much a given item has sold month over month, and the rate of that change.

I have an excel workbook full of our last year's worth of sales data. I have organized it by placing each month of data in its own worksheet. I would like to be able to create a search box that will allow us to enter in a product ID, and have excel then create a graph with each month's of sales for that particular item. Is that clear?

View 11 Replies View Related

Pivot Table To Count Unique Items In Large Dataset

Oct 15, 2012

I'm trying to count how many production orders i have per week. However, there are duplicated production orders per week. I only want to count how many unique orders there are for each week. I only see the ability to "Count", which counts my duplicates as well so it over inflates my true quantity.

View 3 Replies View Related

Creating List Of Items Selected (Yes) Without Duplicates

Jan 19, 2014

I have attached a sample of what im trying to do here.

A2:A10 i have items, B2:B10 they can selected "yes" or "no" and C2:C10 the values

What I would like is, is "yes" was selected, i would like the item name added to a list. so basically:

=IF(A2:A10="YES",A2:A10)

And then I can just add the value to each item later but I need to remove duplicates and obv have this carried throughout the cells.

Attached File: TEST.xlsx‎

View 10 Replies View Related

Creating A Clean List From Select Items.

May 22, 2009

I have 2 sheets, 1 sheet has a list of materials that require Certifications. The 2nd sheet is actually a report of which materials is needed for the specific job at hand. Column C will be linked to check boxes on a different sheet in the future (thats why i used True/false instead of Yes/no). What i would like to happen is when a cell in Column C is TRUE the information in column B be sent to the Certifications sheet in a list from C8 to C34 with no spaces.

View 3 Replies View Related

Dynamic List Of Unique Items?

Sep 13, 2012

I have a sheet of un-ordered data with duplicates. Looks a little like this:

Sheet2
*
A
B

[Code]....

What I want to do is: on a separate sheet, when the user inputs a Region name, it will return an array of unique Locations under that Region. For example, if the input is "NORTHEAST", the following would be returned:

Sheet3
*
A
B
C

[Code]....

View 7 Replies View Related

Formula To Create List Of Unique Items

Feb 12, 2009

I have a column that looks something like (it is VERY long and has over 20 different names):

abe
abe
abe
abe
ben
ben
ben
cat
cat
john
john
john
john
tex
tex

I want to create another column (automatically) that lists each of of those once:
abe
ben
cat
john
tex

Any idea of how I can do this automatically?

View 12 Replies View Related

Populate Combobox List With ONLY Unique Items ()

Nov 16, 2006

Populate Adv Filter Criteria from Inputbox with valid data

I've set up a macro to extract 3 different sets of data using Advanced Filter (same data range, different criteria & extract ranges)

There are multiple options (different individual dates) to satisfy the criteria (a date) for each of the 3 extracts and I want the user to select the criteria (a specific date) from the range of unique values in the data range upon which the Advanced Filter criteria is going to be applied. (A bit like the effect provided by Autofilter)

My initial attempt was to capture the criteria date from the user and populate a cell, and then have a vlookup function in another cell check if that crieteria value exists in the specified range. I then ran a loop in the VBA code until the value is valid (ie. exists in the range). However, to streamline this I was hoping to allow the user to see a list of the valid (available) dates when they respond to my Inputbox request for the criteria.

View 9 Replies View Related

Parsing A Row Of Multiple Items From A List Of Matching Unique

Jan 8, 2008

I have two worksheets: A and B.

Worksheet A:Contains 2 columns: Issue# (Col. A) and Program (Col. B).

Issue# contains a list of multiple issues. There are several instances in which the issue# is repeated.

Any particular Issue# field may have several issues in it, delimited by a comma.

Program is a program associated with the issue and this column also contains duplicates.
Worksheet B:Contains 1 column: Issue# (Col. A)

This is a unique list of issues#'s.

All Im looking to do is parse all Issue#'s from Worksheet B and have some way of knowing if that issue# is anywhere in Worksheet A. Most importantly, I need the "indicator" to be displayed on Worksheet A. This way I can see what program(s) is/are associated with the matching issues.

A couple other notes:All Issue#'s in Worksheet B are referenced at least once in the Worksheet A Issue# list

There are several issues in Worksheet A which are not referenced in the issue list on worksheet B (of which I dont care about)

I really hope that makes sense, but if not...

Here's the best example I could come up with: ....

View 9 Replies View Related

Creating Unique List Using 3D References

Jan 24, 2014

I am attempting to create a unique list on column B of tab "1" from columns B of tabs "2" through "5" for which i have the following array formula thus far,

=IFERROR(INDEX(??3Dreference??, MATCH(0,COUNTIF($B$3:$B3,??3Dreference??),0)),"")

I've attempted to list my tab names somewhere on the sheet and inserting this into the previous formula,

INDIRECT("'"&$P$4:$P$7&"'!B3:B300")

However this will only return the first value from column B on each tab and I'm assuming its because INDEX and COUNTIF do not accept 3d references.

View 5 Replies View Related

How To Creating A Unique Keyword List

Dec 24, 2006

What I'm trying to achieve is the following;

I have a big keyword list saved in Excel.
Something like the following,

These are all keyword phrases;

car rent
car hire
cars for rent uk
etc etc etc

All listed in Column A

All phrases in Column A, and in separate rows.(1 phrase per row.)about 2000 lines (Rows) in total.

What I want to know is there any way of selecting the whole list and exporting it (To save it as another list. A list of just unique keywords?

So, It would create a list like;
car
rent
uk
hire
for
etc etc etc.

So basically I want excell to look at all the words and export them to another list showing just unique keywords, 1 per line.

This is so I can see from a huge list what all the unique keywords are.
Is there a way of doing this within Excel Now?? or has someone made a plugin ( Macro) to achieve this?

I've looked at the sort & filter options, but it doesn't appear to have this function?

View 9 Replies View Related

Excel 2007 :: How To Make Unique List From Repeated Items

May 22, 2012

Using excel 2007. I have a column with multiple items, a lot repeated.....how do I make a to show just one of each item? I want a unique list of my column of repeated items.

View 3 Replies View Related

Count How Many Items Found In List Based On Another List

Oct 27, 2009

I have a list of names in B8:B200 (unique)

I have another list of names in I7:I15

I want to count how many names in B8:B200 that matches any of the names listed in I7:I15.

View 4 Replies View Related

Excel 2010 :: Limitation On Formula To Create List Of Unique Items

Jan 21, 2014

Excel 2010. There is a limit to the usability of the

=INDEX($A$1:$A$1000,MATCH(0,COUNTIF($A$1:$A$1000,"<"&$A$1:$A$1000),0))

method. It seems like the limitation is in the Countif function going over 1000 (or some other size limit)

I have a list of ~1500 rows, of that there are approximately 55 unique items. Doing the unique array works correctly up until item ~40, upon which it fails by returning the 1st item only (for the rest).

Trying to debug, and pulling out the Match section, it functions up until 976 (that is

MATCH(0,COUNTIF($N$1:$N40,$C$3:$C$1500),0)

returns 976) anything after returns just 1 (1st item).

It seems to be a limitation on the text string size that COUNTIF can handle.

View 7 Replies View Related

Dropdown List On Sheet2 That Displays Unique Items In Column A On Sheet 1?

Feb 13, 2014

im looking to have a drop down list on sheet2 that displays unique items in column A on sheet 1.

then when an item is selected from the drop down list, i want to be able to display all unique values that correspond to that option. i have attached an example worksheet

data on sheet1 is ever changing

View 4 Replies View Related

Runtime Error 1004 :: Creating Unique List

Nov 3, 2007

I currently have a list of companies. I want to create a unique list of these companies which I can use for some irrelevant purpose. What i did was I started recording a macro in which I first deleted everything in the spreadsheet. Afterwards I copied the whole company list from another spreadsheet and pasted it as values into the new spreadsheet. Afterwards I made an advanced filter; list range being the companies and copied it into a new location after making sure I had said yes to unique only.

Here is the code itself:

View 9 Replies View Related

Count Of Items In List

Nov 21, 2006

I'm new to the forum - I've done a search but cannot find the answer to my problem.

I work in a hospital and have a list of consultants who refer for a particular type of scan over a period of time.
Each time the consultant refers their name is added to a list so I get a list like this:
Dr Smith
Dr Smith
Dr Jones
Dr Smith
Dr Paeker
Dr Paeker
Dr Jones
etc...

View 4 Replies View Related

Count Items Repeated In A List

Feb 15, 2010

I have a table of data, from which I have created lists for “items created within a period” (the items are paintings on canvasses).

Each list displays which canvasses were completed within 2 dates.

My main data table is large (over 1000 lines and growing) and I need to extract the total quantity of each canvas size that appears in each period list.

My sample attached shows sample data, with corresponding lists of canvasses created within each time period, together with the result I am looking for (shown in red).

View 3 Replies View Related

Count Instances Of List Items

Dec 21, 2006

is there a formula that gives a true or false statement upon searching a list (ie A2:A6) and finding multiple entries? like, when i search A2:A6 and there are two fields that contain the word "hello", is there a function to say "true, there are multiple entries of the word 'hello'"

View 2 Replies View Related

Summary Count Of List Items

Mar 5, 2008

I have a sheet with a top to bottom date/chronological list of Horse races arranged so;

Column 1 Column 2 Column3 Column4
Date/Time Race type Empty Horse Name

e.g

01/03/2008 12:30:00 1m stks Mad Robber
01/03/2008 12:30:00 1m stks Don't Run
01/03/2008 12:30:00 1m stks Laughing boy
etc

Then next race

i'm looking for a Macro that will add up the number of horses in each race and enter the number for a given race in Column 3 for each horse in that race. So the example above would become;

01/03/2008 12:30:00 1m stks 3 Mad Robber
01/03/2008 12:30:00 1m stks 3 Don't Run
01/03/2008 12:30:00 1m stks 3 Laughing boy

Then next race down the list;

01/03/2008 12:40:00 2m gtd 1 Walk fast

etc

View 6 Replies View Related







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