Is it possible to use one of the LOOKUP functions using only part of a string (rather than a cell's full content) as the lookup_value?
I have a column of cells each containing a six-digit number. Each pair of digits within this number represents data stored elsewhere. I'd like to have my formula read the first two digits and return the matching data from the lookup_vector. I'd like another formula to read the second two digits and return the matching data from a different lookup_vector.
It doesn't seem possible to use use a LOOKUP argument that searches the lookup_value as a string in order to use only part of that string as the criterion.
I suspect there's a clever combination of suitable functions to achieve this, but I haven't managed to figure them out -- any suggestions will be most welcome.
Bookmarks