Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 109
Default Columns and Conditional Formattin

I am using =countif(a:a, a1)1 to look for duplicate values in a spread sheet
and I have copied this formula to the end of the list. However the sheet in
question is updated by a team of about 10 and is constantly growing. Is it
possible to assign this condition to the entire column so that I don't have
to coninuously keep updating it?

As well does anyone know a formula that would look for duplicates in one
column however use the value in another column as a condition as well. For
example, I have invoice numbers in colum A which I use =countif(a:a, a1)1 to
look for duplicates. However, some duplicates are allowed as I may have two
vendors who will use the same invoice number. Therefore if there is a
duplicate in column A, it will not be returned as a duplicate since the
values in column C are different.

Any ideas would be helpful.

Thanks,

Brent
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Columns and Conditional Formattin

=SUMPRODUCT(--($A$1:$A$1000=A1),--($C$1:$C$1000=C1))1

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Brent" wrote in message
...
I am using =countif(a:a, a1)1 to look for duplicate values in a spread
sheet
and I have copied this formula to the end of the list. However the sheet
in
question is updated by a team of about 10 and is constantly growing. Is
it
possible to assign this condition to the entire column so that I don't
have
to coninuously keep updating it?

As well does anyone know a formula that would look for duplicates in one
column however use the value in another column as a condition as well.
For
example, I have invoice numbers in colum A which I use =countif(a:a, a1)1
to
look for duplicates. However, some duplicates are allowed as I may have
two
vendors who will use the same invoice number. Therefore if there is a
duplicate in column A, it will not be returned as a duplicate since the
values in column C are different.

Any ideas would be helpful.

Thanks,

Brent



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default Columns and Conditional Formattin

Hi Brent

I would create a couple of named ranges
Insertnamedefine
Name Invoices Refers to =$A$1:INDEX($A:$A,COUNTA($A:$A))
Name Vendors Refers to =$C$1:INDEX($A:$A,COUNTA($A:$A))

Then use the formula
=SUMPROODUCT(--(Invoices=A1),--(Customers=C1))1
for your Conditional Formatting

A far as setting the formatting for the whole column, you could do that, but
it might be somewhat excessive.

Assuming your Conditional Formatting is set up in Column D and if you think
you may have 10,000 rows eventually, then copy the format from D1select
cells D2:D10000Paste SpecialFormats

--
Regards
Roger Govier



"Brent" wrote in message
...
I am using =countif(a:a, a1)1 to look for duplicate values in a spread
sheet
and I have copied this formula to the end of the list. However the sheet
in
question is updated by a team of about 10 and is constantly growing. Is
it
possible to assign this condition to the entire column so that I don't
have
to coninuously keep updating it?

As well does anyone know a formula that would look for duplicates in one
column however use the value in another column as a condition as well.
For
example, I have invoice numbers in colum A which I use =countif(a:a, a1)1
to
look for duplicates. However, some duplicates are allowed as I may have
two
vendors who will use the same invoice number. Therefore if there is a
duplicate in column A, it will not be returned as a duplicate since the
values in column C are different.

Any ideas would be helpful.

Thanks,

Brent



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
Conditional sum matching two columns and a row ~L Excel Worksheet Functions 9 September 26th 06 07:28 PM
Conditional Formatting 4 Columns David Excel Discussion (Misc queries) 14 April 12th 06 10:42 AM
Conditional sum of columns randys Excel Discussion (Misc queries) 2 September 15th 05 01:34 PM
IS THERE A FAST WAY TO CHANGE THE ORDERS OF CONDITIONAL FORMATTIN. Mark_A_Cook Excel Discussion (Misc queries) 1 April 1st 05 06:43 AM
Text Box formattin Drew Lockard Excel Discussion (Misc queries) 1 January 26th 05 11:45 PM


All times are GMT +1. The time now is 12:06 AM.

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"