Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default COUNTIF NON DUPLICATED ROWS

Hello.
I have a SS that has different accounts. I have a COUNTIF working against a
column that puts together 3 aspects of the accounts that need to be counted
(G below), but how can I count the cust's that are unique (some customers
have more then 1 row)
A1: =COUNTIF(G2:G6,"COFNNA")

C D E F G
Cust # Franchise Cust Type Prod Type Formula
10001 Fran CO NNA
=E2&(IF(ISBLANK(D2),"NF","F"))&F2
10001 Fran CO NNA
=E3&(IF(ISBLANK(D3),"NF","F"))&F3
10002 CO NNA
=E4&(IF(ISBLANK(D4),"NF","F"))&F4
10003 CO NBB
=E5&(IF(ISBLANK(D5),"NF","F"))&F5
10004 NQ NNA
=E6&(IF(ISBLANK(D6),"NF","F"))&F6

How can I count column G but only if column C is unique?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default COUNTIF NON DUPLICATED ROWS

On dec. 29, 22:25, InternJessica
wrote:
Hello.
I have a SS that has different accounts. *I have a COUNTIF working against a
column that puts together 3 aspects of the accounts that need to be counted
(G below), but how can I count the cust's that are unique (some customers
have more then 1 row)
A1: =COUNTIF(G2:G6,"COFNNA")

C * * * * * *D * * * * * * * * *E * * * * * * * * * *F * * * * * * * * * *G
Cust # * Franchise * *Cust Type * * Prod Type * * * * Formula
10001 * *Fran * * * * * * CO * * * * * * * *NNA * *
=E2&(IF(ISBLANK(D2),"NF","F"))&F2
10001 * *Fran * * * * * * CO * * * * * * * *NNA * *
=E3&(IF(ISBLANK(D3),"NF","F"))&F3
10002 * * * * * * * * * * * *CO * * * * * * * NNA * *
=E4&(IF(ISBLANK(D4),"NF","F"))&F4
10003 * * * * * * * * * * * *CO * * * * * * * NBB * *
=E5&(IF(ISBLANK(D5),"NF","F"))&F5
10004 * * * * * * * * * * * *NQ * * * * * * * NNA * *
=E6&(IF(ISBLANK(D6),"NF","F"))&F6

How can I count column G but only if column C is unique?


Try this:
=SUMPRODUCT((C2:C7<"")/COUNTIF(C2:C7,C2:C7&""),--(G2:G7="COFNNA"))
Regards,
Stefi
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default COUNTIF NON DUPLICATED ROWS

Try this:
=SUMPRODUCT((C2:C7<"")/COUNTIF(C2:C7,C2:C7&""),--(G2:G7="COFNNA"))

This is a duplicate message because I'm not sure that you'll be notified of
the original message sent via googlegroups.
Regards,
Stefi


--
Regards!
Stefi



€˛InternJessica€¯ ezt Ć*rta:

Hello.
I have a SS that has different accounts. I have a COUNTIF working against a
column that puts together 3 aspects of the accounts that need to be counted
(G below), but how can I count the cust's that are unique (some customers
have more then 1 row)
A1: =COUNTIF(G2:G6,"COFNNA")

C D E F G
Cust # Franchise Cust Type Prod Type Formula
10001 Fran CO NNA
=E2&(IF(ISBLANK(D2),"NF","F"))&F2
10001 Fran CO NNA
=E3&(IF(ISBLANK(D3),"NF","F"))&F3
10002 CO NNA
=E4&(IF(ISBLANK(D4),"NF","F"))&F4
10003 CO NBB
=E5&(IF(ISBLANK(D5),"NF","F"))&F5
10004 NQ NNA
=E6&(IF(ISBLANK(D6),"NF","F"))&F6

How can I count column G but only if column C is unique?

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
Delete rows with duplicated values Emece Excel Discussion (Misc queries) 2 April 16th 09 12:52 PM
Copying data between duplicated rows [email protected] Excel Worksheet Functions 2 April 14th 08 05:00 PM
Duplicated rows cj21 Excel Discussion (Misc queries) 1 August 18th 05 04:14 PM
Duplicated rows cj21 Excel Discussion (Misc queries) 1 July 29th 05 01:55 PM
Delete non duplicated rows cape Excel Discussion (Misc queries) 1 July 8th 05 02:50 AM


All times are GMT +1. The time now is 03:11 PM.

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

About Us

"It's about Microsoft Excel"