Counting Unique Instances Of A Number
Feb 10, 2007
I found the following formula online while searching for how to count unique instances of a number in a list. The list may have blank cells or repeated numbers but this formula works. =SUMPRODUCT((A1:100<>"")/COUNTIF(A1:A100,A1:A100&""))
So my question is...can someone verbally explain just exactly what is going on? i.e. I don't understand the <>"" in the sumproduct argument or the &"" in the second argument of the countif.
View 5 Replies
ADVERTISEMENT
Dec 5, 2006
I would like to count the number of instances of different schedules shows in one department. For example for dept. 1, I would like to know how many different schedules are in that dept. I have 48 schedules and 60 departments (numbered 1-60). I would like to know how many "different schedules" dept 1 has and so on. I don't think the frequency function will work. Is there a way I can use sumproduct to get the result I'm looking for? The information is on a separate worksheet in colums (Col. A holds the dept and Col. B holds the relative schedule).
View 9 Replies
View Related
Mar 18, 2009
I like to think that I am pretty good on Excel 2003, can't stand 2007 but hey thats for another thread.
I can do most forumulas and write some pretty elaborate macros, but one thing I am trying to do has completely stumped me.
Each month I compile a Pivit table that shows by day if a product was in stock or out of stock, this is represented by a blank cell (in stock), "1" Out of stock.
All this is fine, but I want to be able to show the number of instances that a product was out of stock in any given month...
View 8 Replies
View Related
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
Sep 15, 2008
I want to paste a list of customers into a sheet and then have a formula that counts the number of customers. So, even if a customer appears 10 times it would only count it once and and continues down the column and counts the next company name and so on. Then it gives me a total of the number of different companies in that column.
View 9 Replies
View Related
Oct 10, 2008
I am trying to count the number of unique items in a single column (~5,000 rows of data). For example, I may have the following data
a1 = apples
a2 = pears
a3 = oranges
a4 = apples
a5 = apples
a6 = apples
a7 = pears
in this case number of uniques items is 3
Right now I am using a Pivot Table to figure out the number of unique items but I am sure there is an easier way to do this.
View 6 Replies
View Related
Apr 24, 2014
I run a report that dumps from data from an ERP system. I've attached a sample of this report in excel that has two sheets. A summary and the data.
I am able to report on the total number of Purchase order lines and total purchase orders using various formulas. I am also able to use formulas to report on the number of lines associated with each product in the I column.
However I cannot, how to calculate the number of unique Po# (B Column) numbers based on the Product (I Column) .....
View 14 Replies
View Related
Oct 3, 2007
I have a list of around 50000 names. I need to count how many are unique.
View 9 Replies
View Related
Mar 6, 2003
I have several columns in an excel sheet which contain values (eg. Names). The entered names can be unique or already exist in the column. I need to find out (using a function or macro) how many different names were entered. Duplicates shshould be ignored in the count.
View 9 Replies
View Related
Jan 13, 2014
I am trying to count the instances of a certain text in a range across 2 columns.
so lets say I have the word Dog in A1, A2, A3, A4 & B1, B2, B3, B4. I am look for the number beside each cell to say 1, 2, 3, 4 instead of summing the whole range.
I have tried the array formula of {=SUM(IF(C:D=C2,1,0))}. However this does just bring back the sum of the instances and I am clueles on how to get it to show the first instance, the second etc.
View 2 Replies
View Related
Nov 21, 2007
Im trying to construct a nested Countif statement. I need to count the number of instances that "Project" appears in Column O AND "TS" in Column N. The range is in another in Sheet2. and the summary in Sheet 1 where I want to have the Countif(AND...??? statement Example Counif(Sheet 1 Column 0 contains "Project" AND if Column N Contains "TS"
View 2 Replies
View Related
Aug 17, 2006
Need a way to count the number of times a certain bit of text occurs in a range based on a given criteria? Say I've got a column of names and another column with true or false in it (next to each name), how could a do a total of how many times 'TRUE' occurs next to each name?
View 3 Replies
View Related
Jul 19, 2013
I have a following Data in One of the Column. I want to count the number of instances.
Ex. There are 3 instances for 120412 , 2 instances for 120471 , 1 instance of 120478 and so on. How to write a formulsa for this?
Configuration: Test ID
120412
120412
120412
120471
120471
120478
128715
128722
128723
128724
128725
129291
129329
8984
8984
View 3 Replies
View Related
Jan 30, 2014
I'm working on a formula for COUNTIF with 3 criteria.
What I'm looking to do is create a formula that counts the number of instances which meet all of the following three criteria:
the value of Column A is >=0 and the value of Column I is >=0 and
View 4 Replies
View Related
Jan 29, 2007
I need a formula to count the number of times the same thing occurs in a particular column. i.e. tree 1, tree 2, tree 3. I just tried the countif function and it is returning "0". Not sure if that's because the data I am looking for is part number/part text. Does this make a difference? There are also spaces between the number and the text. Also, the range I am asking excel to look in is based on a concatenate formula.
View 4 Replies
View Related
Sep 12, 2007
If you can see the example spreadsheet that has been uploaded, I need VBA to try and count how many times the number 1, 2 or 3 occurs in the column A and give that figure in b15, 16 and 17 respectively. I also need it count the number of times a particular product appears in column B and give those figures in b19, 20 and 21.
View 7 Replies
View Related
Aug 2, 2008
I'm working on a spreadsheet that contains a list of various instances of zip codes between a couple of months. I'd like to count the number of times each particular zip code occurs within each month. And, if possible, if I could get that count to populate into another cell on another sheet within the spreadsheet,
View 7 Replies
View Related
Sep 17, 2008
This might be really simple but i don't get it. I have a column with country names (strings). There would be 5 instances of "USA", 10 of "UK", etc, etc.
I made a column next to it, where i want to count the number occurances ....
View 9 Replies
View Related
Jul 31, 2008
I am trying to write a macro to clean up a CSV file which automatically hard codes titles throughout the spread sheet. I am getting an error on the "FindNext" method below. I am getting "Unable to get FindNext propety of the Range Class" error. Also, the code for the For loop for multiple lines does not appear to be working.
Sub cleancsv()
lastRow = Range("A1").End(xlDown).Row
pmpt = InputBox(Prompt:="What text are you looking for?", _
Title:="Text", Default:="i.e.: Finished Goods Inventory")
numrows = InputBox(Prompt:="How many rows to delete (counting original):", _
Title:="Number of Rows", Default:="i.e.: 1")
Set cell = Range("A1:A" & lastRow). Find(pmpt)
If Not cell Is Nothing Then
For l = cell.Row To cell.Row + numrows
Range("A" & l).EntireRow.delete
Next l
End If
Do
View 8 Replies
View Related
Nov 26, 2008
The database is for a Prison, and an obvious item to search for on a userform is Prison number. I have a serach option that generates an array listing in a listbox, selecting that item then populates the userform - no problem.
The problem occurs when an individual has more than once instance that has been recorded, is it possible to have more than one row generated in a listbox that can be selected, I only want indiviudal rows selected. The coding I am using for one of the single instance listbox is etc etc etc has been used to demonstrate that the coding continues to the length of the array requied
Private Sub FindAll()
Dim FirstAddress As String
Dim strFind As String 'what to find
Dim rSearch As Range 'range to search
Dim fndA, fndB, fndC, fndD, fndE, 'etc etc etc' As String
Dim i As Integer
i = 1
Set rSearch = Sheet1.Range("ChargeNo.")
strFind = Me.CbAdjFind.Value 'find Charge No
With rSearch
Set c = .Find(strFind, LookIn:=xlValues)..............
View 4 Replies
View Related
Mar 26, 2009
I've got a list that's about 15,000 rows long. Column A has a date and column B has an alpha numeric ID. The list is sorted in order of oldest date at the top, most recent at the bottom. The range of dates is from 1/1/2007 through 3/23/2009. Both the same date and ID show up multiple time throughout the list.
I need to figure out how many unique ID's show up on the list in each given calendar month. I could manually break up the list into months, use an advanced filter and then run a count formula, but it seems like there must be an easier approach.
View 9 Replies
View Related
Jun 19, 2014
I'm doing a study of when people are most productful in their day. I just need to count how many units a person made within say 4 hours of starting work.
My data is similar to the excel I've attached
Count completes.xlsx
I'm using Excel 2010 too.
View 4 Replies
View Related
Feb 5, 2008
I have attached a small copy of the worksheet.
I need to count when the following set of 3 criteria criteria are met:
1: The Assessor Initials = DS
2: the month = Mar
3: Check 4 Ranges = columns I, K, M, O
I've tried using sumproduct (sucessful for other data) but not able to get it to work with dates.
View 9 Replies
View Related
May 13, 2008
how to count unique Occurneces in Excel?
For example: -
What formula can I use to count the Unique Occurences non - zero values in Column 2 for the letters in Column 1?
Column 1 Column 2
A 1
A 1
A 1
B 0
C 2
C 2
D -1
View 10 Replies
View Related
Nov 2, 2009
Couting Unique Entries
I've included a sample worksheet ...
View 10 Replies
View Related
Nov 11, 2009
Ok so I have an excel file, that has 20,000 records/rows of data. There is a column called <STATE>, which could be PA, MD, CA, MT, etc.
I need to know how I can count how many times each state is populated and return the results to a new created sheet called <REPORT>. See example below.
State:
PA
PA
PA
MD
CA
MT
NJ
NJ
Report Results
PA 3
MD 1
CA 1
MT 1
NJ 2
Can this be done?
View 9 Replies
View Related
Jun 9, 2006
I have a column (within a database) containing hundreds of Project Numbers
(e.g., P8763, PA3229, P1090.1, etc.), and the same Project Number can appear
more than once in the column. I need to count the number of unique Project
Numbers within that column, based on the criteria of another column. Is
there a way to do that using a combination of the DCOUNTA function and a
formula?
View 11 Replies
View Related
Nov 19, 2007
I picked up a great formula from this website to count unique values =SUM(IF(FREQUENCY(K19:K205,K19:K205)>0,1)) and it works great. Thank you to whoever sent it (sorry, forgot who)
I am trying to find a formula to do the same for text.
View 9 Replies
View Related
Mar 27, 2008
We've got a column of names. A single name might appear once or two hundred times. The column is over 25,000 lines long, so we don't want to have to count how many different users there are (besides the likelihood of doing it wrong!). Is there some way to make Excel count the number of unique entries in the list, ignoring multiple repetitions of the same name?
View 9 Replies
View Related
Nov 28, 2009
I have a data which contains the number of customers who have logged cases with us to find a solution. So the data looks like as shown below;
Case IDCategoryCountrySubject QuestionClosing Details2550EMEADenmarkHi Please help me with the follwing orders, ticket number is JN567786Contact the retail shop12550EMEABelgiumHi please note that the product KA12QT seems to be having hardware problems. the ticket number is JN567786.
Technical issue fixed, DCK JN56778612876APJAustraliaProblem with the music system, resolution required.
The ticket Id logged is JN782238
new CD provided to resolve1
What i need to do is find out the unique ticket ID (eg: JN782238) from all the description provided from column 'Subject Question' and 'Closing Details'. All the ticket numbers start from JN... , however it is very manual for to check every row has a ticket number. I have to do this for many sheets and the data contains atleast 20 to 25000 lines.
Inorder to find this unique ticket number i search through filter by giving the criteria as JN1 and keep doing untill i reach JN9. Once i filter through each of these criteria, i add a number "1" in the last column indicating that this row contains a ticket number.
After completing for all the rows, I add a pivot to check the final count of the the unique numbers, But again i need to remove the duplicates from these count, as there might be several descriptions with the same ticket Id (eg:JN789899). So i add field "Case ID" to the row area in pivot and count of these numbers in the 'Value area' (pivot). Then i look for case IDs with numbers more than 1. I f i find 2 or 3 for a particular case Id then i search this case id in the data and delete one of the count ('1') in the last column.
View 9 Replies
View Related