Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a column of data and it is a 4 character string, with all characters being numbers. The data ranges from 0004 to 8862. My data in the match column is a mix of text (the values with their leading zeros retained) and numbers - which is some of the rest of the numbers. The problem is that I cannot get all of the data in the column to be read as text; for example, 1000-2500 are numbers, but starting at 2502, they are text.
When doing an index/match, Excel treats 2210 the text value different from 2210 the number. How do I get them sync'd up so that my index/match works? |
#3
![]() |
|||
|
|||
![]() Quote:
In your existing formula just put two dashes (--) before the lookup value. So if your formula is in cell B1 and the lookup value is in A1. Instead of doing match(A1,Data Range,0) do match(--(A1), Data Range,0). This operator will convert any text (which looks like number) into a number. Thanks, Prashant |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Index Match to add employee number | Excel Worksheet Functions | |||
Number of characters in a cell for a Index/match function | Excel Worksheet Functions | |||
index / lookup / match / text formula | Excel Discussion (Misc queries) | |||
LOOKUP OR INDEX/MATCH TO FIND NUMBER? | Excel Discussion (Misc queries) | |||
Keep text color from a Index Match Formula | Excel Programming |