#1   Report Post  
dolphinv4
 
Posts: n/a
Default Subtotal

Hi,

I have a list of records as follows

Apple
orange
grape
apple
apple
grape
watermelon

I want to count the number of unique item above...ie, the
end result should show 4 (apple,orange,grape,watermelon).

Is there a formula to do this?

Thanks!
Val
  #2   Report Post  
Tim Otero
 
Posts: n/a
Default

Hi Val,

I suggest you look he

http://www.cpearson.com/excel/duplic...CountingUnique

for a solution by Chip Pearson

tim

dolphinv4 wrote:
Hi,

I have a list of records as follows

Apple
orange
grape
apple
apple
grape
watermelon

I want to count the number of unique item above...ie, the
end result should show 4 (apple,orange,grape,watermelon).

Is there a formula to do this?

Thanks!
Val

  #3   Report Post  
 
Posts: n/a
Default

Hi,
I went to look at the page but it does not seem to solve
my problem. I tried to use the example stated, but the
ans to the formula to the given table is 1 instead of 3!

I downloaded the example excel and also, the 4th example
should show 6 but instead, it shows 1..

help! i don't know how to change the formula so that it
shows 6 instead of 1...

val

-----Original Message-----
Hi Val,

I suggest you look he

http://www.cpearson.com/excel/duplic...CountingUnique

for a solution by Chip Pearson

tim

dolphinv4 wrote:
Hi,

I have a list of records as follows

Apple
orange
grape
apple
apple
grape
watermelon

I want to count the number of unique item above...ie,

the
end result should show 4

(apple,orange,grape,watermelon).

Is there a formula to do this?

Thanks!
Val

.

  #4   Report Post  
dolphinv4
 
Posts: n/a
Default

HI,

i tried the formula given in the page give, but the
answer gives a 1 instead of a 3 for the example. Was
there a typo error somewhere?

Also, I downloaded the excel sheet example given in the
webpage, the "Unique entries in UBRng (contains blanks)"
gives an answer 1 instead of 6. How do I change the
formula to get it to show 6 instead?

Val
-----Original Message-----
Hi Val,

I suggest you look he

http://www.cpearson.com/excel/duplic...CountingUnique

for a solution by Chip Pearson

tim

dolphinv4 wrote:
Hi,

I have a list of records as follows

Apple
orange
grape
apple
apple
grape
watermelon

I want to count the number of unique item above...ie,

the
end result should show 4

(apple,orange,grape,watermelon).

Is there a formula to do this?

Thanks!
Val

.

  #5   Report Post  
 
Posts: n/a
Default


-----Original Message-----
Hi,
I went to look at the page but it does not seem to solve
my problem. I tried to use the example stated, but the
ans to the formula to the given table is 1 instead of 3!

I downloaded the example excel and also, the 4th example
should show 6 but instead, it shows 1..

help! i don't know how to change the formula so that it
shows 6 instead of 1...

val

-----Original Message-----
Hi Val,

I suggest you look he

http://www.cpearson.com/excel/duplic...#CountingUniqu

e

for a solution by Chip Pearson

tim

dolphinv4 wrote:
Hi,

I have a list of records as follows

Apple
orange
grape
apple
apple
grape
watermelon

I want to count the number of unique item above...ie,

the
end result should show 4

(apple,orange,grape,watermelon).

Is there a formula to do this?

Thanks!
Val

.

.



  #6   Report Post  
dolphinv4
 
Posts: n/a
Default

Hi,

i used the formula

=SUM(IF(FREQUENCY(IF(LEN(Range1)0,MATCH
(Range1,Range1,0),""),
IF(LEN(Range1)0,MATCH(Range1,Range1,0),""))0,1))

and it worked! thanks...however, i need somehow change
the fomula such that it gives the number of unique
entries in range A if the equivalent value in B is
not "XI"....ie, in the example below, the answer I want
should be 3 (Alice and betty....alice should still be
counted...Candy shld be eliminated coz Candy appears
twice but twice the RangeB value is XI)

Is this possible?


RangeA RangeB
alice OK
Betty OK
Candy XI
Betty OK
alice XI
Denise OK
Candy XI

Thanks!
Val
-----Original Message-----
Hi Val,

I suggest you look he

http://www.cpearson.com/excel/duplic...CountingUnique

for a solution by Chip Pearson

tim

dolphinv4 wrote:
Hi,

I have a list of records as follows

Apple
orange
grape
apple
apple
grape
watermelon

I want to count the number of unique item above...ie,

the
end result should show 4

(apple,orange,grape,watermelon).

Is there a formula to do this?

Thanks!
Val

.

  #7   Report Post  
Chip Pearson
 
Posts: n/a
Default

Did you enter the formulas as array formulas? After you type the
formula, you must press Ctrl+Shift+Enter rather than just Enter.
If you do this properly, Excel will display the formula enclosed
in curly braces {}.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


wrote in message
...
Hi,
I went to look at the page but it does not seem to solve
my problem. I tried to use the example stated, but the
ans to the formula to the given table is 1 instead of 3!

I downloaded the example excel and also, the 4th example
should show 6 but instead, it shows 1..

help! i don't know how to change the formula so that it
shows 6 instead of 1...

val

-----Original Message-----
Hi Val,

I suggest you look he

http://www.cpearson.com/excel/duplic...CountingUnique

for a solution by Chip Pearson

tim

dolphinv4 wrote:
Hi,

I have a list of records as follows

Apple
orange
grape
apple
apple
grape
watermelon

I want to count the number of unique item above...ie,

the
end result should show 4

(apple,orange,grape,watermelon).

Is there a formula to do this?

Thanks!
Val

.



  #8   Report Post  
Bob Inwater
 
Posts: n/a
Default

did you try DCOUNT?

"dolphinv4" wrote:

Hi,

I have a list of records as follows

Apple
orange
grape
apple
apple
grape
watermelon

I want to count the number of unique item above...ie, the
end result should show 4 (apple,orange,grape,watermelon).

Is there a formula to do this?

Thanks!
Val

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using more than one subtotal with same data set AuthorizedUserPF Excel Worksheet Functions 3 February 28th 05 02:05 PM
How do I select subtotal for a list when it is in grey? Student05 Excel Worksheet Functions 1 February 22nd 05 12:47 PM
pivot table - hide details but show subtotal for calculated field tenneym Excel Discussion (Misc queries) 1 February 9th 05 03:07 AM
Subtotal of Subtotal displays Grand Total in wrong row Thomas Born Excel Worksheet Functions 5 January 6th 05 01:46 PM
Subtotal And Countif Sheryl Excel Discussion (Misc queries) 4 December 9th 04 07:18 PM


All times are GMT +1. The time now is 04:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"