PC Review


Reply
Thread Tools Rate Thread

Comparing Data Across Cell Ranges

 
 
Paul
Guest
Posts: n/a
 
      21st Nov 2008
I am trying to compare data across multiple cell ranges to see if there are
any variances in the data. And the data in the cells can have various
formats, text, numbers, dates, etc. For example:

Cell(s) - Native Information
A1 - ABC
B1 - 123
C1 - 10/14/08

Cell(s) - Comparison Data
G1 - CDF
H1 - 123
I1 - 10/24/08

I am not really interested in knowing the exact cell that changed, just if
there was a change in comparison of the like ranges.
 
Reply With Quote
 
 
 
 
Shane Devenshire
Guest
Posts: n/a
 
      21st Nov 2008
Hi,

You could use conditional formatting, but it would show you every cell that
did not match. If you only interested in know IF the two range match then

=SUMPRODUCT(--(C5:C7=G5:G7))

if the resulting number is equal to the number of cells in the range than
the ranges are the same.

Or you can modify this to read

=SUMPRODUCT(--(C5:C7=G5:G7))=COUNTA(C5:C7)

Then the answer will be TRUE if both ranges match and FALSE if they don't

If this helps, please click the Yes button

Cheers,
Shane DEvenshire

"Paul" wrote:

> I am trying to compare data across multiple cell ranges to see if there are
> any variances in the data. And the data in the cells can have various
> formats, text, numbers, dates, etc. For example:
>
> Cell(s) - Native Information
> A1 - ABC
> B1 - 123
> C1 - 10/14/08
>
> Cell(s) - Comparison Data
> G1 - CDF
> H1 - 123
> I1 - 10/24/08
>
> I am not really interested in knowing the exact cell that changed, just if
> there was a change in comparison of the like ranges.

 
Reply With Quote
 
lilhoot
Guest
Posts: n/a
 
      4th May 2009
Hi Shane,

I used your function =SUMPRODUCT(--(C5:C7=G5:G7)) and it located exact
entries about 80% of the time. I am comparing 7 data cells to another 7 data
cells in the same row, so I get a 7 if both ranges are all exact and 6 and
below means the number of matching cells. I get a lot of 6's but the data in
all 7 data cells are identical to the other 7 data cells.

Any other ideas?

Thank you,

Tommy

"Shane Devenshire" wrote:

> Hi,
>
> You could use conditional formatting, but it would show you every cell that
> did not match. If you only interested in know IF the two range match then
>
> =SUMPRODUCT(--(C5:C7=G5:G7))
>
> if the resulting number is equal to the number of cells in the range than
> the ranges are the same.
>
> Or you can modify this to read
>
> =SUMPRODUCT(--(C5:C7=G5:G7))=COUNTA(C5:C7)
>
> Then the answer will be TRUE if both ranges match and FALSE if they don't
>
> If this helps, please click the Yes button
>
> Cheers,
> Shane DEvenshire
>
> "Paul" wrote:
>
> > I am trying to compare data across multiple cell ranges to see if there are
> > any variances in the data. And the data in the cells can have various
> > formats, text, numbers, dates, etc. For example:
> >
> > Cell(s) - Native Information
> > A1 - ABC
> > B1 - 123
> > C1 - 10/14/08
> >
> > Cell(s) - Comparison Data
> > G1 - CDF
> > H1 - 123
> > I1 - 10/24/08
> >
> > I am not really interested in knowing the exact cell that changed, just if
> > there was a change in comparison of the like ranges.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Comparing two ranges and get true or false in one cell depending onresult Leon Microsoft Excel Worksheet Functions 3 25th Jun 2009 11:15 PM
Comparing two Excel data ranges for chnages... =?Utf-8?B?TldP?= Microsoft Excel Misc 2 2nd May 2007 08:01 PM
Comparing two data ranges for differences. =?Utf-8?B?amFzb24uci5zd2luZWhhcnQ=?= Microsoft Excel Misc 0 12th Jan 2006 07:50 PM
Comparing two ranges and extracting non duplicate data Knut Dahl Microsoft Excel Programming 8 26th Mar 2005 12:51 PM
Comparing Table or Ranges of Data Novice Microsoft Excel Worksheet Functions 1 19th Dec 2003 02:11 PM


Features
 

Advertising
 

Newsgroups
 


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