I am trying to use the VLOOKUP function to look up values using text that is are extracted from a longer string (containg both text and numbers). I only want to look up the text part of the string as the numbers are variable over time. The info is always updated in that format from another data source.
For example, I want to VLOOKUP 'Sales' where I have extracted 'Sales' from 'Sales (March 2001)' using the MID & FIND formula [=MID(A4,1,FIND(" (",A4,1)-1)]
Unfortunately VLOOKUP doesn't seem to be able to identify this is the text that is to be looked up and returns a false value #N/A.
Any suggestions?
For example, I want to VLOOKUP 'Sales' where I have extracted 'Sales' from 'Sales (March 2001)' using the MID & FIND formula [=MID(A4,1,FIND(" (",A4,1)-1)]
Unfortunately VLOOKUP doesn't seem to be able to identify this is the text that is to be looked up and returns a false value #N/A.
Any suggestions?