Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
vezerid
 
Posts: n/a
Default comparing 2 sheets

Apart from the function TRIM(), which removes leading, trailing and
multiple sequential spaces I cannot suggest anything more concrete as
"compare" is too vague. If you need to search a certain value in a
table, where this value might appear with additional spaces, you can do
the following:

=VLOOKUP(A1, TRIM(C2:C100), 2, 0)

This one needs to be array-entered (Shift+Ctrl+Enter).

On the other hand, if you are guaranteed the other table is free of
extra spaces but your current one might have some, you use the
opposite:

=VLOOKUP(TRIM(A1), C2:C100, 2, 0)

No need to array-enter this one.

Does this help?

Kostis Vezerides

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
Comparing Two Sheets Pete Petersen Excel Worksheet Functions 2 April 7th 10 10:04 PM
Comparing columns iin 2 sheets to generate one CCTD via OfficeKB.com Excel Worksheet Functions 0 September 26th 05 08:34 PM
comparing and compiling between sheets lwhite Excel Discussion (Misc queries) 0 March 24th 05 06:59 PM
Comparing Data between two sheets AChesley Excel Worksheet Functions 1 February 17th 05 02:02 AM
Comparing sheets data Vytautas Excel Discussion (Misc queries) 1 February 15th 05 10:01 AM


All times are GMT +1. The time now is 11:43 PM.

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"