#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default Comparing cells

I have 'company name' in A1:A100 & 'invoice number' in C1:100 and ongoing.
I wish to highlite (conditional format) the company name & invoice number if
they have been duplicated. I almost paid someone twice.

Many thanks

Browny
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Comparing cells

You should put this data into an Acess database. You could make the company
name and the invoice number a key and allow no duplicates. Spreadsheets are
definitely not good databases.

"Browny" wrote:

I have 'company name' in A1:A100 & 'invoice number' in C1:100 and ongoing.
I wish to highlite (conditional format) the company name & invoice number if
they have been duplicated. I almost paid someone twice.

Many thanks

Browny

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default Comparing cells

Thanks Alderran
I agree with the data base. However it's a company spreadsheet. Too much
data to change now.
i have many invoices from the same companies but i want to verify they only
use the 1 invoice number. Can you help?
--
Browny


"alderran" wrote:

You should put this data into an Acess database. You could make the company
name and the invoice number a key and allow no duplicates. Spreadsheets are
definitely not good databases.

"Browny" wrote:

I have 'company name' in A1:A100 & 'invoice number' in C1:100 and ongoing.
I wish to highlite (conditional format) the company name & invoice number if
they have been duplicated. I almost paid someone twice.

Many thanks

Browny

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default Comparing cells

Hi Browny,

use this conditional formatting formula for C1 and then copy format down to
C100:
=SUMPRODUCT((($A$1:$A$100)&($C$1:$C$100)=A1&C1)*1) 1

This will highlight cells in column C if the invoice number and the company
name in column A appear more than once. If you also want to highlight
company names, you could apply the same conditional format for column A.

Cheers,
Joerg Mochikun

"Browny" wrote in message
...
Thanks Alderran
I agree with the data base. However it's a company spreadsheet. Too much
data to change now.
i have many invoices from the same companies but i want to verify they
only
use the 1 invoice number. Can you help?
--
Browny


"alderran" wrote:

You should put this data into an Acess database. You could make the
company
name and the invoice number a key and allow no duplicates. Spreadsheets
are
definitely not good databases.

"Browny" wrote:

I have 'company name' in A1:A100 & 'invoice number' in C1:100 and
ongoing.
I wish to highlite (conditional format) the company name & invoice
number if
they have been duplicated. I almost paid someone twice.

Many thanks

Browny



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default Comparing cells

Hi Joerg

I think you'r on the right track, but it didn't work
--
Browny


"Joerg Mochikun" wrote:

Hi Browny,

use this conditional formatting formula for C1 and then copy format down to
C100:
=SUMPRODUCT((($A$1:$A$100)&($C$1:$C$100)=A1&C1)*1) 1

This will highlight cells in column C if the invoice number and the company
name in column A appear more than once. If you also want to highlight
company names, you could apply the same conditional format for column A.

Cheers,
Joerg Mochikun

"Browny" wrote in message
...
Thanks Alderran
I agree with the data base. However it's a company spreadsheet. Too much
data to change now.
i have many invoices from the same companies but i want to verify they
only
use the 1 invoice number. Can you help?
--
Browny


"alderran" wrote:

You should put this data into an Acess database. You could make the
company
name and the invoice number a key and allow no duplicates. Spreadsheets
are
definitely not good databases.

"Browny" wrote:

I have 'company name' in A1:A100 & 'invoice number' in C1:100 and
ongoing.
I wish to highlite (conditional format) the company name & invoice
number if
they have been duplicated. I almost paid someone twice.

Many thanks

Browny






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default Comparing cells

What exactly didn't work? I tested it and think it's OK.
JM


"Browny" wrote in message
...
Hi Joerg

I think you'r on the right track, but it didn't work
--
Browny


"Joerg Mochikun" wrote:

Hi Browny,

use this conditional formatting formula for C1 and then copy format down
to
C100:
=SUMPRODUCT((($A$1:$A$100)&($C$1:$C$100)=A1&C1)*1) 1

This will highlight cells in column C if the invoice number and the
company
name in column A appear more than once. If you also want to highlight
company names, you could apply the same conditional format for column A.

Cheers,
Joerg Mochikun

"Browny" wrote in message
...
Thanks Alderran
I agree with the data base. However it's a company spreadsheet. Too
much
data to change now.
i have many invoices from the same companies but i want to verify they
only
use the 1 invoice number. Can you help?
--
Browny


"alderran" wrote:

You should put this data into an Acess database. You could make the
company
name and the invoice number a key and allow no duplicates.
Spreadsheets
are
definitely not good databases.

"Browny" wrote:

I have 'company name' in A1:A100 & 'invoice number' in C1:100 and
ongoing.
I wish to highlite (conditional format) the company name & invoice
number if
they have been duplicated. I almost paid someone twice.

Many thanks

Browny






  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default Comparing cells

I have copied another entry to test the format
I typed in as you have and the conditional format didn't highlite the cell
with the duplication.
--
Browny


"Joerg Mochikun" wrote:

What exactly didn't work? I tested it and think it's OK.
JM


"Browny" wrote in message
...
Hi Joerg

I think you'r on the right track, but it didn't work
--
Browny


"Joerg Mochikun" wrote:

Hi Browny,

use this conditional formatting formula for C1 and then copy format down
to
C100:
=SUMPRODUCT((($A$1:$A$100)&($C$1:$C$100)=A1&C1)*1) 1

This will highlight cells in column C if the invoice number and the
company
name in column A appear more than once. If you also want to highlight
company names, you could apply the same conditional format for column A.

Cheers,
Joerg Mochikun

"Browny" wrote in message
...
Thanks Alderran
I agree with the data base. However it's a company spreadsheet. Too
much
data to change now.
i have many invoices from the same companies but i want to verify they
only
use the 1 invoice number. Can you help?
--
Browny


"alderran" wrote:

You should put this data into an Acess database. You could make the
company
name and the invoice number a key and allow no duplicates.
Spreadsheets
are
definitely not good databases.

"Browny" wrote:

I have 'company name' in A1:A100 & 'invoice number' in C1:100 and
ongoing.
I wish to highlite (conditional format) the company name & invoice
number if
they have been duplicated. I almost paid someone twice.

Many thanks

Browny






  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default Comparing cells

OK, let's keep it simple. Check the conditional format for C2. If you copied
correctly it should read
=SUMPRODUCT((($A$1:$A$100)&($C$1:$C$100)=A2&C2)*1) 1

Now C2 should highlight (you defined a background colour for this format,
right?) if A1, C1 and A2,C2 are duplicates.

JM




"Browny" wrote in message
...
I have copied another entry to test the format
I typed in as you have and the conditional format didn't highlite the cell
with the duplication.
--
Browny


"Joerg Mochikun" wrote:

What exactly didn't work? I tested it and think it's OK.
JM


"Browny" wrote in message
...
Hi Joerg

I think you'r on the right track, but it didn't work
--
Browny


"Joerg Mochikun" wrote:

Hi Browny,

use this conditional formatting formula for C1 and then copy format
down
to
C100:
=SUMPRODUCT((($A$1:$A$100)&($C$1:$C$100)=A1&C1)*1) 1

This will highlight cells in column C if the invoice number and the
company
name in column A appear more than once. If you also want to highlight
company names, you could apply the same conditional format for column
A.

Cheers,
Joerg Mochikun

"Browny" wrote in message
...
Thanks Alderran
I agree with the data base. However it's a company spreadsheet. Too
much
data to change now.
i have many invoices from the same companies but i want to verify
they
only
use the 1 invoice number. Can you help?
--
Browny


"alderran" wrote:

You should put this data into an Acess database. You could make
the
company
name and the invoice number a key and allow no duplicates.
Spreadsheets
are
definitely not good databases.

"Browny" wrote:

I have 'company name' in A1:A100 & 'invoice number' in C1:100 and
ongoing.
I wish to highlite (conditional format) the company name &
invoice
number if
they have been duplicated. I almost paid someone twice.

Many thanks

Browny








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
Need Help Comparing Cells Matt H Excel Discussion (Misc queries) 4 May 3rd 08 05:24 AM
Comparing cells when they are not exactly the same Garry Excel Discussion (Misc queries) 2 April 2nd 07 10:26 AM
comparing cells Help me Excel Worksheet Functions 1 May 9th 06 10:01 PM
Comparing Cells gdeleos Excel Worksheet Functions 2 March 16th 06 08:22 PM
Comparing Cells EXCEL101 Excel Worksheet Functions 3 August 30th 05 12:51 AM


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