Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Highlight rows if duplicates are found

Have a long list of peoples names and their companies.
Some of the cells contents are duplicated, but are always in groups if
they are.

Would like to highlight the entire row if a contact is repeated, to
show that duplicate in a block of its own.
Would also like to avoid having shading color duplicated if the
duplication contains the same number of entries. Lets say, an entry of
1, followed fy an entry of 1; avoiding them both beigh the same color
shading if an entry is not repeated, but to differentiate it from the
previous entry. A greenbar for a data block (dating myself. . .) would
look would be just fine. Can create helper columns.

Using Excel 2007

For example:
Jones, Bill - Axel Manufacturing (green)
Jones, Bill - Axel Manufacturing (green)
Ventura, Ace - Metal Fabricators (white)
Ventura, Ace - Metal Fabricators (white)
Ventura, Ace - Metal Fabricators (white)
Ventura, Ace - Metal Fabricators (white)
Cavanaugh, Gus - ACA Limited (green)
Webster, Mirriam - Books R US (white)
Webster, Mirriam - Books R US (white)
Cortez, Angel - Safeco Insurance (green)
King, Larry - CNN (white)

Big thanks for any ideas on it's approach.
Pierre



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Highlight rows if duplicates are found

Pierre wrote:
Have a long list of peoples names and their companies.
Some of the cells contents are duplicated, but are always in groups if
they are.

Would like to highlight the entire row if a contact is repeated, to
show that duplicate in a block of its own.
Would also like to avoid having shading color duplicated if the
duplication contains the same number of entries. Lets say, an entry of
1, followed fy an entry of 1; avoiding them both beigh the same color
shading if an entry is not repeated, but to differentiate it from the
previous entry. A greenbar for a data block (dating myself. . .) would
look would be just fine. Can create helper columns.

Using Excel 2007

For example:
Jones, Bill - Axel Manufacturing (green)
Jones, Bill - Axel Manufacturing (green)
Ventura, Ace - Metal Fabricators (white)
Ventura, Ace - Metal Fabricators (white)
Ventura, Ace - Metal Fabricators (white)
Ventura, Ace - Metal Fabricators (white)
Cavanaugh, Gus - ACA Limited (green)
Webster, Mirriam - Books R US (white)
Webster, Mirriam - Books R US (white)
Cortez, Angel - Safeco Insurance (green)
King, Larry - CNN (white)

Big thanks for any ideas on it's approach.
Pierre




One way...assume your data above is in A2:A12. In a spare column (I'll use B),
enter this formula:

=IF(A2<A1,1,0)

Then use this for conditional formatting:

Formula Is =MOD(SUM($B$2:B2),2)

Select green for pattern.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Highlight rows if duplicates are found

On Jan 20, 4:09*pm, Glenn wrote:
Pierre wrote:
Have a long list of peoples names and their companies.
Some of the cells contents are duplicated, but are always in groups if
they are.


Would like to highlight the entire row if a contact is repeated, to
show that duplicate in a block of its own.
Would also like to avoid having shading color duplicated if the
duplication contains the same number of entries. Lets say, an entry of
1, followed fy an entry of 1; avoiding them both beigh the same color
shading if an entry is not repeated, but to differentiate it from the
previous entry. A greenbar for a data block (dating myself. . .) would
look would be just fine. *Can create helper columns.


Using Excel 2007


For example:
Jones, Bill - Axel Manufacturing (green)
Jones, Bill - Axel Manufacturing (green)
Ventura, Ace - Metal Fabricators (white)
Ventura, Ace - Metal Fabricators (white)
Ventura, Ace - Metal Fabricators (white)
Ventura, Ace - Metal Fabricators (white)
Cavanaugh, Gus - ACA Limited * * (green)
Webster, Mirriam - Books R US * *(white)
Webster, Mirriam - Books R US * *(white)
Cortez, Angel - Safeco Insurance (green)
King, Larry - CNN * * * * * * * *(white)


Big thanks for any ideas on it's approach.
Pierre


One way...assume your data above is in A2:A12. *In a spare column (I'll use B),
enter this formula:

=IF(A2<A1,1,0)

Then use this for conditional formatting:

Formula Is *=MOD(SUM($B$2:B2),2)

Select green for pattern.- Hide quoted text -

- Show quoted text -


Glenn, Thank you!

Pierre
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Highlight rows if duplicates are found

Pierre wrote:
On Jan 20, 4:09 pm, Glenn wrote:
Pierre wrote:
Have a long list of peoples names and their companies.
Some of the cells contents are duplicated, but are always in groups if
they are.
Would like to highlight the entire row if a contact is repeated, to
show that duplicate in a block of its own.
Would also like to avoid having shading color duplicated if the
duplication contains the same number of entries. Lets say, an entry of
1, followed fy an entry of 1; avoiding them both beigh the same color
shading if an entry is not repeated, but to differentiate it from the
previous entry. A greenbar for a data block (dating myself. . .) would
look would be just fine. Can create helper columns.
Using Excel 2007
For example:
Jones, Bill - Axel Manufacturing (green)
Jones, Bill - Axel Manufacturing (green)
Ventura, Ace - Metal Fabricators (white)
Ventura, Ace - Metal Fabricators (white)
Ventura, Ace - Metal Fabricators (white)
Ventura, Ace - Metal Fabricators (white)
Cavanaugh, Gus - ACA Limited (green)
Webster, Mirriam - Books R US (white)
Webster, Mirriam - Books R US (white)
Cortez, Angel - Safeco Insurance (green)
King, Larry - CNN (white)
Big thanks for any ideas on it's approach.
Pierre

One way...assume your data above is in A2:A12. In a spare column (I'll use B),
enter this formula:

=IF(A2<A1,1,0)

Then use this for conditional formatting:

Formula Is =MOD(SUM($B$2:B2),2)

Select green for pattern.- Hide quoted text -

- Show quoted text -


Glenn, Thank you!

Pierre


You are welcome. Glad I could help.
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
How to highlight a found excel cell when doing the find command? dc Excel Discussion (Misc queries) 0 December 4th 08 09:43 PM
Highlight Duplicates, Macro? NPell Excel Worksheet Functions 6 April 9th 08 02:02 PM
Remove duplicates found in master list Mike Excel Discussion (Misc queries) 2 December 13th 07 04:22 PM
How do I Highlight a row, where something is found? LWSDOT Excel Discussion (Misc queries) 2 June 7th 07 05:15 PM
Highlight Found Cell Mickey Mouse Links and Linking in Excel 1 December 2nd 06 08:32 AM


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