Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6794003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:10:10+00:00 2026-05-26T18:10:10+00:00

I am trying to lookup a value e.g. 123abc456 from a table but the

  • 0

I am trying to lookup a value e.g. 123abc456 from a table but the column that I want to look up will have the format e.g. 123-abc456 or 123ab-c456.
There may be a dash between the characters in the string but these characters may be anywhere in the string. Is there a way of searching in excel using vlookup for the string 123abc456 without going through each record in my lookup table and removing the characters?
If there is another function in excel that would achieve this outcome then I am happy to learn about it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:10:11+00:00Added an answer on May 26, 2026 at 6:10 pm

    This example assumes a formula in B2, looking at a value with a dash in A2, and a lookup table of values without dashes in Sheet 2, cells A2:B8:

    =VLOOKUP(SUBSTITUTE(A2,"-",""),Sheet2!$A$2:$B$8,2,FALSE)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Doing a simple Squeryl database lookup, but trying to exclude a value. I've tried:
I am trying to perform a JNDI-lookup from within the GWT devmode. I have
I am trying to code a global lookup table of sorts. I have game
I want to call a method based on a value in a lookup table.
I'm a bit new to assembler, but I'm trying to lookup the parameters from
I'm trying to lookup against an Enum set, knowing that there will often be
I'm trying to create a lookup column that would return the index of the
I'm trying to assign values contained in a lookup table to multiple variables by
I'm trying to save some lookup table data out to a YAML file so
I'm trying to do a xpath lookup on nodes returned by xpath lookup, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.