Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Greetings,
I have a list of about 2 k entries that I need to get a count of unique numbers in column D. The twist, there are a few entries that are blank. I need to count each blank entry as a unique entry and add that number to the rest of the unique entries for column D. I read the article at http://www.cpearson.com/excel/duplicat.htm, but it did not address counting each blank as a unique entry only NOT counting the blanks or counting all of the blanks as duplicates of themselves. Is there anyway to count each blank as a separate entry along with all of the other non duplicating entries? Any help would be most appreciated. CIA -Minitman |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
you can use the countblank function =COUNTBLANK(A1:A10) to count the number of blanks and then add that result to the count of unique entries Cheers JulieD "Minitman" wrote in message ... Greetings, I have a list of about 2 k entries that I need to get a count of unique numbers in column D. The twist, there are a few entries that are blank. I need to count each blank entry as a unique entry and add that number to the rest of the unique entries for column D. I read the article at http://www.cpearson.com/excel/duplicat.htm, but it did not address counting each blank as a unique entry only NOT counting the blanks or counting all of the blanks as duplicates of themselves. Is there anyway to count each blank as a separate entry along with all of the other non duplicating entries? Any help would be most appreciated. CIA -Minitman |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Julie, that is what I was looking for.
-Minitman On Thu, 11 Nov 2004 10:45:35 +0800, "JulieD" wrote: Hi you can use the countblank function =COUNTBLANK(A1:A10) to count the number of blanks and then add that result to the count of unique entries Cheers JulieD "Minitman" wrote in message .. . Greetings, I have a list of about 2 k entries that I need to get a count of unique numbers in column D. The twist, there are a few entries that are blank. I need to count each blank entry as a unique entry and add that number to the rest of the unique entries for column D. I read the article at http://www.cpearson.com/excel/duplicat.htm, but it did not address counting each blank as a unique entry only NOT counting the blanks or counting all of the blanks as duplicates of themselves. Is there anyway to count each blank as a separate entry along with all of the other non duplicating entries? Any help would be most appreciated. CIA -Minitman |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
you're welcome and thanks for the feedback.
"Minitman" wrote in message ... Thanks Julie, that is what I was looking for. -Minitman On Thu, 11 Nov 2004 10:45:35 +0800, "JulieD" wrote: Hi you can use the countblank function =COUNTBLANK(A1:A10) to count the number of blanks and then add that result to the count of unique entries Cheers JulieD "Minitman" wrote in message . .. Greetings, I have a list of about 2 k entries that I need to get a count of unique numbers in column D. The twist, there are a few entries that are blank. I need to count each blank entry as a unique entry and add that number to the rest of the unique entries for column D. I read the article at http://www.cpearson.com/excel/duplicat.htm, but it did not address counting each blank as a unique entry only NOT counting the blanks or counting all of the blanks as duplicates of themselves. Is there anyway to count each blank as a separate entry along with all of the other non duplicating entries? Any help would be most appreciated. CIA -Minitman |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hey Julie,
I just realized, since I do not know where the last row is going to be (it keeps changing), this solution will give me a count of all of the rows that are below the last row (A:A) as well as the legitimate blank rows. How do I get the last row if there are blank rows also among the data rows? Any help is most appreciated. -Minitman On Thu, 11 Nov 2004 10:45:35 +0800, "JulieD" wrote: Hi you can use the countblank function =COUNTBLANK(A1:A10) to count the number of blanks and then add that result to the count of unique entries Cheers JulieD "Minitman" wrote in message .. . Greetings, I have a list of about 2 k entries that I need to get a count of unique numbers in column D. The twist, there are a few entries that are blank. I need to count each blank entry as a unique entry and add that number to the rest of the unique entries for column D. I read the article at http://www.cpearson.com/excel/duplicat.htm, but it did not address counting each blank as a unique entry only NOT counting the blanks or counting all of the blanks as duplicates of themselves. Is there anyway to count each blank as a separate entry along with all of the other non duplicating entries? Any help would be most appreciated. CIA -Minitman |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Let A2 be the start of data. B2: =MAX(CELL("Row",A2),MATCH(9.99999999999999E+307,A: A)) B3: =SUM(IF(A2:INDEX(A:A,B2)<"",1/COUNTIF(A2:INDEX(A:A,B2),A2:INDEX(A:A,B2))))+COUNT BLANK(A2:INDEX(A:A,B2)) which you need to confirm with control+shift+enter instead of just wit enter. Minitman Wrote: Hey Julie, I just realized, since I do not know where the last row is going to be (it keeps changing), this solution will give me a count of all of the rows that are below the last row (A:A) as well as the legitimate blank rows. How do I get the last row if there are blank rows also among the data rows? [... -- Aladin Akyure ----------------------------------------------------------------------- Aladin Akyurek's Profile: http://www.excelforum.com/member.php...nfo&userid=416 View this thread: http://www.excelforum.com/showthread.php?threadid=27721 |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Aladin,
That is just what I was looking for. -Minitman On Wed, 10 Nov 2004 23:33:01 -0600, Aladin Akyurek wrote: Let A2 be the start of data. B2: =MAX(CELL("Row",A2),MATCH(9.99999999999999E+307,A :A)) B3: =SUM(IF(A2:INDEX(A:A,B2)<"",1/COUNTIF(A2:INDEX(A:A,B2),A2:INDEX(A:A,B2))))+COUNT BLANK(A2:INDEX(A:A,B2)) which you need to confirm with control+shift+enter instead of just with enter. Minitman Wrote: Hey Julie, I just realized, since I do not know where the last row is going to be (it keeps changing), this solution will give me a count of all of the rows that are below the last row (A:A) as well as the legitimate blank rows. How do I get the last row if there are blank rows also among the data rows? [...] |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting unique entries in a field | Excel Worksheet Functions | |||
COUNTING UNIQUE ENTRIES IN FILTERATION | Excel Discussion (Misc queries) | |||
Counting Unique Entries | Excel Discussion (Misc queries) | |||
Counting unique entries | Excel Discussion (Misc queries) | |||
Counting Unique Entries | Excel Discussion (Misc queries) |