How to lookup based in the first 3 characters of a cell

M

Mas

Hi all,

I would like to know how I can perform a lookup formula to lookup a
column based on the first three characters of a cell.

i.e. Column A - AA1-0001, AB2-0002, etc

I would like to perform a lookup on the first three character ie.e AA1
or AB2 etc.

Thanks in advanced.
 
C

Claus Busch

Hi,

Am Sun, 14 Aug 2011 09:48:27 +1000 schrieb Mas:
i.e. Column A - AA1-0001, AB2-0002, etc

I would like to perform a lookup on the first three character ie.e AA1
or AB2 etc.

try:
=INDEX(A:A,MATCH("AA1*",A:A,0))
or
=VLOOKUP("AA1*",A:A,1,0)


Regards
Claus Busch
 

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

Top