Duplicate Values in Excel 2007

  • Thread starter Thread starter Ed2
  • Start date Start date
E

Ed2

I have successful Vlookup formulas and duplicate values between multiple
columns in a multipage spreadsheet. However, when I try to compare by
duplicate value a third set of 2 columns, Excel 2007 sees the entries as
unique while they are clearly duplicates. The only thing I see different in
this comparison over the other column comparisons is that I am using a
formula =LEFT(J3, SEARCH(" ",J3,SEARCH(" ",J3,1)+1)) in one of the columns.
Any suggestions?
 
Venturing some thoughts. It could be just data inconsistency issues throwing
apparent duplicates recognition off. Eg: extraneous white spaces somewhere
which are hard-to-see/detect. Try TRIM to handle this, try replacing "J3"
with TRIM(J3) in your LEFT expression. Another possibility is text numbers
are being compared with equivalent real numbers. The comparison will fail.
LEFT per se will return "nums" as text numbers. You could try a "+0" to
coerce it to real numbers to enable correct matching, eg: LEFT(...)+0
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
 
Thank you Max. I have actually checked for spaces and text/numbers
differentials. I tried the TRIM idea anyway but to no avail.
 
Try Tools / Formula Auditing / Evaluate Formula and see if each section of your
formula evaluates as you expect it to.
 
Glenn, Thank you for your response. As I've stepped through randomly chosen
lines of the formulas =LEFT(J3, SEARCH(" ",J3,SEARCH(" ",J3,1)+1)) and the
formulas =VLOOKUP(BB_Users!$A1,BB_Users!$A$1:$L$2000,1,FALSE) they are
working fine. As I visually check the results, they are also fine. What is
really perplexing is that when I apply a conditional formula to the columns
it recognizes that they are unique and highlights them and it is consistant
for the 700 lines throughout the column.
 
Max, Thank you. You're solution of the Trim function worked....I was
misusing the function. =TRIM(LEFT(J3,SEARCH(" ",J3,SEARCH(" ",J3,1)+1)))
solved the problem. Thank you again
 
Back
Top