If this doesn't help, you may want to share some of the data (and types of data)
that you're matching on--is it a number or text, a long string, date or time or
combination???
--
Dave Peterson
http://contextures.com/xlFunctions02.html#Trouble
--
Biff
Microsoft Excel MVP
"kmap" <km...@discussions.microsoft.com> wrote in message
news:C856F1E4-B532-432B...@microsoft.com...
When you use false in vlookup then there is no need to have a sorted
lookuprange.
2 things I can think off:
- Is Lite defined as the lookuprange?
- Perhaps you may have unvisible characters like space in the lookupvalue or
lookuprange.
Wkr,
JP
"kmap" <km...@discussions.microsoft.com> wrote in message
news:C856F1E4-B532-432B...@microsoft.com...
=================================================================
Your Numbers don’t behave (like numbers)
Niek Otten, May 11, 2006
Your numbers sort incorrectly, are not included in SUMs, cause #VALUE!
results in formulas, cannot be found in LOOKUPs, etc. In short:
Your Numbers look like Numbers, but they really are Text.
Sure! You formatted them as numbers, but alas, formatting afterwards doesn’t
help… Believe me, they are Text!
Here’s a checklist which will help you solve most known cases. Make a copy
of your workbook before trying! Always use Excel’s ISNUMBER() function to
check your cells; maybe you solved your problem in the first step!
· Format an empty cell as Number. Enter the number 1 in it.
Edit>Copy.
Select your “numbers”. Edit>Paste Special, check Multiply. Hopefully your
cells are “real” Numbers now
· If that doesn’t help, there may be spaces in your “numbers”. You
can use the LEN() function to compare the number of characters that Excel
sees in the cell with the number of characters you see. If you suspect
spaces, use Excel’s TRIM() function to remove them
· If that doesn’t help, there may be nonprintable characters in your
“numbers”. You can use Excel’s CLEAN() function to remove most of them
· If that doesn’t help, there may be non-breaking spaces in your
“numbers” (mostly acquired from Web Pages). Use David McRitchie’s TRIMALL()
function to remove them. It can be downloaded here:
http://www.mvps.org/dmcritchie/excel/join.htm#trimall
=================================================================
--
Kind regards,
Niek Otten
Microsoft MVP - Excel
"kmap" <km...@discussions.microsoft.com> wrote in message
news:C856F1E4-B532-432B...@microsoft.com...
Try Edit, Replace
Find <space>
Replace 'nothing'
Wkr,
JP
"kmap" <km...@discussions.microsoft.com> wrote in message
news:AA1C25D6-58B9-499B...@microsoft.com...
select the column to fix
data|text to columns (xl2003 menus)
Fixed width (but remove any lines that excel added!)
and finish up.
The leading and trailing spaces will be removed, but any multiple internal
spaces will be kept.
--
Dave Peterson
The lookup reference in A2 is what gets hunted for in the "Lite" array.
If it does not find a match, the failure will be in the first section
of the vlookup function, the reference or 'Lookup_value'.
If it is in the table array, look at your name manager under formulas
tab to insure that your named range is still being called correctly.
Lastly, make sure that the "A2" source and the lookup are "General"
format.
You *may* (should) also have to hand re-enter data contained in a cell
after a format change.