### How JustAnswer Works:

• Ask an Expert
• Get a Professional Answer
• 100% Satisfaction Guarantee

## Ask The-PC-Guy Your Own Question

The-PC-Guy, Computer Manager
Category: Microsoft Office
Satisfied Customers: 1760
Experience:  20 years experience providing remote computer support
62934938
Type Your Microsoft Office Question Here...
The-PC-Guy is online now

# I need a formula/s that will look up in 14 digit code for

### Resolved Question:

I need a formula/s that will look up in 14 digit code for common 5 digit codes from a list.

e.g. 7570375130434, formula should find and return the 57037 (manufacturer code) and 51304 (product code) from 2 lists. Ideally it would then concatenate them.

Using LEFT, RIGHT or MID functions might not work as the error digits are not always in the same part of the 11-14 digit code, and (of course) the source number maybe anyhere from 11-14 digits long. The 2x 5 digit codes are always sequential.

e.g.

57037513041234
7570375130434

Both have the same 2x 5 digits in but are different lengths and the 2 x 5 digits are in different places in the 11-14 digit source number
Submitted: 2 years ago.
Category: Microsoft Office
Expert:  The-PC-Guy replied 2 years ago.
Thanks for using JustAnswer. My name isXXXXX will do whatever I can to answer your question

So to understand this correctly, you want to lookup multiple values in the same cell and then return another column such as price or something if both sequences are somewhere in the first collum?

Let me know exactly what you want to do.

Also if you could provide a sample sheet that would be useful

You can upload a sample to

www.wikisend.com

after uploading they provide a File ID#

paste the ID# XXXXX

if that site doesn't work you can try

www.ge.tt

this works the same way

upload file

they provide a link

paste that link here
Customer: replied 2 years ago.

Thanks Andrew,

File ID here 743902.

Your summary of the problem is almost right

"So to understand this correctly, you want to lookup multiple values in the same cell and then return another column such as price or something if both sequences are somewhere in the first collum?
"
Only I don't wnat to return price, I want to return a concatenation of the 2 values found in the first column.

I have 2 lists of products. One list is correct with 10 digit codes (1st 5 digits indicate manufacturer, 2nd 5 digits indicate unique products - commonly known as UPC codes found on bar codes)

The 2nd list contains incorrect codes that have anywhere from 11-14 digits. Somewhere in those codes are the same 10 sequential digits - maybe at the front, maybe at the back or the middle.

I need a formula to extract the 10 digits, in the 2nd list either as one 10 digit number or 2 x 5 digits, whichever is easier to write a formula for. The 2nd list has unique information not found in the 1st.

The destination of the data in the 2nd list is software that will only recognise a 10 digit number relating to a product.

That's all the detail I can give

Expert:  The-PC-Guy replied 2 years ago.
here you go

the proper formula is in this sheet

http://wikisend.com/download/782222/2x5 DIGITS LOOKUP-JA-Mod.xlsx

I also added a formula to cell G1, that formula needs to stay there and not be modified or it will break the other formulas in collum B.

Let me know if you need anything else
Customer: replied 2 years ago.

i can't open an excel file from the wikishare download. the winzip only opens to xml files. Can you share another way.

Expert:  The-PC-Guy replied 2 years ago.
The-PC-Guy, Computer Manager
Category: Microsoft Office
Satisfied Customers: 1760
Experience: 20 years experience providing remote computer support
The-PC-Guy and 2 other Microsoft Office Specialists are ready to help you

### JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

### What Customers are Saying:

• My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
< Previous | Next >
• My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
• This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
• Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
• I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
• Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
• Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland

• ### jstinehelfer

#### Satisfied Customers:

36
A+ Comptia Certified computer repair
< Last | Next >
• http://ww2.justanswer.com/uploads/JS/jstinehelfer/2012-6-6_215146_Pictureofme1.64x64.png jstinehelfer's Avatar

### jstinehelfer

#### Satisfied Customers:

36
A+ Comptia Certified computer repair
• http://ww2.justanswer.com/uploads/JA/JasonJames122/2011-12-16_135647_jasonjamesheadshotweb.64x64.jpg JasonJames122's Avatar

### JasonJames122

#### Satisfied Customers:

0
I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business
• http://ww2.justanswer.com/uploads/JE/jessmagz/2012-6-6_18129_jm.64x64.jpg Jess M.'s Avatar

### Jess M.

#### Satisfied Customers:

481
Computer Software Specialist for more than 10 years
• http://ww2.justanswer.com/uploads/CH/chutz747/2011-11-6_14231_me.64x64.jpg The-PC-Guy's Avatar

### The-PC-Guy

#### Satisfied Customers:

450
20 years experience providing remote computer support
• http://ww2.justanswer.com/uploads/WI/Windowspcfix/2013-8-19_153826_ja12.64x64.jpg James K.'s Avatar

### James K.

#### Satisfied Customers:

260
Technical Director of IT Company
• http://ww2.justanswer.com/uploads/KR/krkljatorm/2012-6-24_153417_ITMiro.64x64.jpg IT Miro's Avatar

### IT Miro

#### Satisfied Customers:

147
Bachelor's Degree in Information Technology, Microsoft Certified Professional
• http://ww2.justanswer.com/uploads/SE/Seashore2011/2011-12-6_33418_111205223015.64x64.jpg Chris L.'s Avatar

### Chris L.

#### Satisfied Customers:

137
Certified Expert with over 10 years experience.