#1   Report Post  
nick
 
Posts: n/a
Default Compare Question

I have two list. One was generated from an old DOS program using the
print to file option the other is a regular list in Excel. The problem
is the list that was generated using the print to file option
truncated the NAME field to 19 characters. The other list has full
name. The question is is it possible to compare the values of cells
using the first 10 characters or is there a way to truncate the full
name file to 19 characters then compare the two?

Any help would be appriciated.
  #2   Report Post  
Dave R.
 
Posts: n/a
Default

Assuming you are comparing to find duplicates or unique records;

Compare using first 10/19/etc. characters, with A1:A100 containing the
currently 10 character long strings and B1 containing the full string.
=COUNTIF(A$1:A$100,LEFT(B1,10))

copied down column B.

"nick" wrote in message
...
I have two list. One was generated from an old DOS program using the
print to file option the other is a regular list in Excel. The problem
is the list that was generated using the print to file option
truncated the NAME field to 19 characters. The other list has full
name. The question is is it possible to compare the values of cells
using the first 10 characters or is there a way to truncate the full
name file to 19 characters then compare the two?

Any help would be appriciated.



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
Is there a way to compare 2 spreadsheets with Excel? Dave Peterson Excel Discussion (Misc queries) 3 March 29th 05 12:36 AM
Compare Question nick Excel Discussion (Misc queries) 3 January 4th 05 10:25 AM
Compare Columns Michael Nesi Excel Discussion (Misc queries) 1 December 6th 04 08:45 PM
compare columns of different worksheets Classic Excel Discussion (Misc queries) 2 December 2nd 04 10:09 PM
Is this simple I'm trying to compare values from 4 excel tables John Excel Worksheet Functions 1 December 2nd 04 04:00 PM


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