VLOOKUP

  • Thread starter Thread starter evoxfan
  • Start date Start date
E

evoxfan

I am in cell D908.
This is my formula:
=IF(E908=" ","
",IF(A908<>0,"D"&MID(A908,2,255),VLOOKUP(C908,AllCodes!$A$11:$E$824,1)))
Gives me: X72000
All numbers from column 1 on the AllCodes worksheet begin with X.

I would like it to return: D72000

Is it possible to accomplish this in cell D908 or Do I have to create
another column for the conversion?
 
So, in your result, presumably A908 = 0

So,
"D"&right(VLOOKUP(C908,AllCodes!$A$11:$E$824,1),len(VLOOKUP(C908,AllCodes!$A$11:$E$824,1))-1)

will repalce with a D at the beginning...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Excel Vlookup Help 0
Excel IF statement with vlookup 2
VLOOKUP returning #N/A result 2
VLOOKUP 2
Vlookups and formats 3
OR AND VLOOKUP 10
Need Help with VLOOKUP 4
VLOOKUP Problem 1

Back
Top