Excel Forum
Similar Content
Excel Function to Remove All Text OR All Numbers from a Cell
Tutorial: How to create and use a function that removes all text or all numbers from a cell, whichev...
Highlight Cells with Text or Formulas (non-empty cells)
Macro: This macro will highlight all cells in excel which are not empty. This means that if a cel...
Partial Match Lookup with Numbers in Excel
Tutorial: Perform lookups on numbers with partial matches. For instance, find the first number that...

Mr Excel & excelisfun Trick 41: VBA or Formula Extract Prefix for VLOOKUP

See Mr Excel and excelisfun do VBA and an array formula to extract a varying length number prefix and then use that as the lookup_value for VLOOKUP. See the functions: LEN, INDIRECT, ROW, MID, ISERROR, MATCH, LEFT and VLOOKUP.

Got a Question? Ask it Here in the Forum.