PC Review


Reply
Thread Tools Rate Thread

Compare Two Rows Directly

 
 
Lokesh
Guest
Posts: n/a
 
      21st Jan 2008
Hi,
We need to compare the values in the worksheet row-by-row. But currently
we use cell-by-cell comparison logic. Is there any way to compare two rows
directly without going cell by cell.

Note: We're using Office 2003.

Thanks In Advance,
Lokesh R
 
Reply With Quote
 
 
 
 
Tom Ogilvy
Guest
Posts: n/a
 
      21st Jan 2008
Not really.

You could always write a function that does the cell by cell for two rows
and then it would look like you were doing it row by row when you passed two
row references to the function.

--
Regards,
Tom Ogilvy


"Lokesh" wrote:

> Hi,
> We need to compare the values in the worksheet row-by-row. But currently
> we use cell-by-cell comparison logic. Is there any way to compare two rows
> directly without going cell by cell.
>
> Note: We're using Office 2003.
>
> Thanks In Advance,
> Lokesh R

 
Reply With Quote
 
Alan Beban
Guest
Posts: n/a
 
      21st Jan 2008
If the functions in the freely downloadable file at
http://home.pacbell.net/beban, then you might use

RowsEqual(Row1, Row2)

Then you can avoid writing such a function yourself; it returns True if
the rows are the same, False if they aren't.

Alan Beban

Tom Ogilvy wrote:
> Not really.
>
> You could always write a function that does the cell by cell for two rows
> and then it would look like you were doing it row by row when you passed two
> row references to the function.
>

 
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
missing cell rows (jumps from 2 directly to 9) cpliu Microsoft Excel Discussion 2 7th Jan 2010 09:48 PM
compare two files and merge rows base on a matching word within thesetwo rows mshak Microsoft Excel Programming 1 9th Dec 2009 01:34 AM
Create button to unhide rows directly below =?Utf-8?B?Y3JlYXRlIGJ1dHRvbiB0byB1bmhpZGUgcm93cw== Microsoft Excel Misc 1 22nd Jan 2007 02:08 AM
Compare rows to col greu Microsoft Excel Programming 5 10th Nov 2005 10:00 AM
HOW CAN I SCAN DATA WITH COLUMNS AND ROWS DIRECTLY INTO SPREADSHE. =?Utf-8?B?U1VGSSBEQVJXQUlTSA==?= Microsoft Excel New Users 2 20th Apr 2005 05:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:42 PM.