Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

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

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
7,494
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 31, 2009

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.

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (ExcelIsFun)

  • Bill is a great solution to the formula!

    In my life I would not come to that.

    Large beer for this piece!

  • EXCELlent!!!

  • It is amazing to watch Mike explain his formula inside out. I wished I had a professor like him back in college. MrExcel's vba approach is elegant; however, I wished MrExcel could explain more on the logic of the vba code similar to how Mike explained his formula. I cant apply his code in similar situations because I dont fully understand the logic of it.

  • I am glad that the explaination was helpful!

see all

All Comments (18)

Sign In or Sign Up now to post a comment!
  • EXCELlent!!!!

  • Thanks much for the reply, I got it :-)

  • Search for and watch this video title:

    Excel Formula Efficiency 2: Time Your Formulas For Speed

  • Hi.

    Thanks much for sharing your knowledge, this is amazing I really fond of your tutorials :-)

    Could you please write me, how did you get the function speed? I tried stopping the video many times but i could not got the clue ;)

    Thanks

  • Thanks!

  • awesome...................god bless u

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more