returning more columns with vlookup?

E

eglea

Hi all

by default vlookup returns 1 column. Is there a way to return more than
1 (not necessarily adjacent) columns?

example

instead of

=VLOOKUP(38, A2:L10, 3, FALSE)

using something like

=VLOOKUP(38, A2:L10, (3,7,9), FALSE)

that would return cells in columns 3, 7 and 9 ?

Thanks!
 
N

Niek Otten

Maybe not exactly what you require, but it might help you:

http://www.cpearson.com/excel/TablesAndLookups.aspx

Look under the heading "Returning A Row Or Column From A Table"

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

| Hi all
|
| by default vlookup returns 1 column. Is there a way to return more than
| 1 (not necessarily adjacent) columns?
|
| example
|
| instead of
|
| =VLOOKUP(38, A2:L10, 3, FALSE)
|
| using something like
|
| =VLOOKUP(38, A2:L10, (3,7,9), FALSE)
|
| that would return cells in columns 3, 7 and 9 ?
|
| Thanks!
 

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