LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Finding identical rows in a list

I have a long list in columns A to I. In some cases, all the items in
adjacent rows are identical, and I need to be able to find these as
quickly as possible.

This formula identifies the number of columns in row 8 which are
identical to the corresponding items in row 7, and returns "9" when the
rows in all the 9 columns in rows 7 and 8 are identical.

=SUMPRODUCT(--(A7:I7=A8:I8))

But when I copy the formula to row 8, it does of course compare row 8
with row 9. I need the formula to compare each row with the rows
immediately above AND below. I tried this:

=SUMPRODUCT(--(A7:I7=A8:I8)OR(A7:I7=A6:I6))

but it doesn't work.

Can anyone suggest something? What am I missing here?
 
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
count identical values in 2 rows Piet Excel Worksheet Functions 7 April 7th 10 10:14 AM
Finding a Name on a list and returning all matching rows Wh0o Excel Worksheet Functions 2 August 18th 09 05:52 PM
Getting Two Rows in A Pivot with Identical Data holmansworld Excel Discussion (Misc queries) 0 February 14th 09 01:41 AM
Finding and Highlighting Similar but not Identical Cells in a Colu Matt Nichols Excel Discussion (Misc queries) 2 July 12th 06 09:01 PM
Comparing two List that a "Close" but not Identical carl Excel Worksheet Functions 0 January 25th 05 07:59 PM


All times are GMT +1. The time now is 10:00 AM.

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"