I'm using VLOOKUP and I'm finding that within the function, excel is taking it upon itself to remove leading zeros. This is really annoying.
Also, I cant use the TEXT(number, "format") function, because the variety of numbers I need to lookup are NOT in the same format. \
For example, I need to use this formula to lookup the part numbers:
02-005-105-0000
27010-06
<TABLE style="WIDTH: 48pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=64 x:str><COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 48pt; HEIGHT: 12.75pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" class=xl24 height=17 width=64>28207-030</TD></TR></TBODY></TABLE>
They need to be looked up exactly like that, because that is how they appear in the table. Excel changes them to:
02-005-0
27010-6
28207-30
Can anyone please help me figure out how to fix this behavior, because its holding up more people than just myself.
Thanks.
Also, I cant use the TEXT(number, "format") function, because the variety of numbers I need to lookup are NOT in the same format. \
For example, I need to use this formula to lookup the part numbers:
02-005-105-0000
27010-06
<TABLE style="WIDTH: 48pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=64 x:str><COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 48pt; HEIGHT: 12.75pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" class=xl24 height=17 width=64>28207-030</TD></TR></TBODY></TABLE>
They need to be looked up exactly like that, because that is how they appear in the table. Excel changes them to:
02-005-0
27010-6
28207-30
Can anyone please help me figure out how to fix this behavior, because its holding up more people than just myself.
Thanks.
Last edited: