#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default Dcount question..


I have a column [PO#], I want to count how many different values are on that
column to get as result =3, can you please help me on that?

example
PO#
10210
10210
10211
10211
10211
10212

Thanks
LD

--
Lorenzo DÃ*az
Cad Technician
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Dcount question..

Hi,

Try this

=SUM(IF(FREQUENCY(A1:A100,A1:A100)0,1))

Mike

"ldiaz" wrote:


I have a column [PO#], I want to count how many different values are on that
column to get as result =3, can you please help me on that?

example
PO#
10210
10210
10211
10211
10211
10212

Thanks
LD

--
Lorenzo DÃ*az
Cad Technician

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default Dcount question..

it works, but some times i have texts like;
PO-10125
PO-10123
PO-10124

do you know how to get that on these values?

Thanks
LD

--
Lorenzo DÃ*az
Cad Technician


"Mike H" wrote:

Hi,

Try this

=SUM(IF(FREQUENCY(A1:A100,A1:A100)0,1))

Mike

"ldiaz" wrote:


I have a column [PO#], I want to count how many different values are on that
column to get as result =3, can you please help me on that?

example
PO#
10210
10210
10211
10211
10211
10212

Thanks
LD

--
Lorenzo DÃ*az
Cad Technician

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Dcount question..

Hi,

For text you need a different formula but there must be no empty cells in
the range

=SUM(IF(FREQUENCY(MATCH(A1:A10,A1:A10,0),MATCH(A1: A10,A1:A10,0))0,1))

Mike



"ldiaz" wrote:

it works, but some times i have texts like;
PO-10125
PO-10123
PO-10124

do you know how to get that on these values?

Thanks
LD

--
Lorenzo DÃ*az
Cad Technician


"Mike H" wrote:

Hi,

Try this

=SUM(IF(FREQUENCY(A1:A100,A1:A100)0,1))

Mike

"ldiaz" wrote:


I have a column [PO#], I want to count how many different values are on that
column to get as result =3, can you please help me on that?

example
PO#
10210
10210
10211
10211
10211
10212

Thanks
LD

--
Lorenzo DÃ*az
Cad Technician

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default Dcount question..


You got it,

Thanks, Right now it works fine...


--
Lorenzo DÃ*az
Cad Technician


"Mike H" wrote:

Hi,

For text you need a different formula but there must be no empty cells in
the range

=SUM(IF(FREQUENCY(MATCH(A1:A10,A1:A10,0),MATCH(A1: A10,A1:A10,0))0,1))

Mike



"ldiaz" wrote:

it works, but some times i have texts like;
PO-10125
PO-10123
PO-10124

do you know how to get that on these values?

Thanks
LD

--
Lorenzo DÃ*az
Cad Technician


"Mike H" wrote:

Hi,

Try this

=SUM(IF(FREQUENCY(A1:A100,A1:A100)0,1))

Mike

"ldiaz" wrote:


I have a column [PO#], I want to count how many different values are on that
column to get as result =3, can you please help me on that?

example
PO#
10210
10210
10211
10211
10211
10212

Thanks
LD

--
Lorenzo DÃ*az
Cad Technician



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
Question on DCOUNT LeeCC Excel Discussion (Misc queries) 1 August 28th 09 02:00 PM
DCOUNT Help! fearthespear Excel Discussion (Misc queries) 1 November 7th 08 06:02 AM
DCOUNT Question Alexander Excel Worksheet Functions 0 September 4th 08 09:41 AM
dcount question chadwick Excel Discussion (Misc queries) 4 January 26th 07 08:43 PM
DCount help Engels Excel Worksheet Functions 4 January 8th 07 04:18 PM


All times are GMT +1. The time now is 12:55 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"