# VLOOKUP (or HLOOKUP, or LOOKUP) please help/suggest

Ok, I have a spreadsheet with a grid of numbers (17 columns, and 200 rows, if that matters) that correspond to some text (also in spreadsheet) to right of numbers. The numbers should already be unique (just all jumbled up)

- 1 60 76 91 131 162 177 text-fieldUNO text-field-DOS
- 2 61 77 92 132 163 178 text-unique text-again-unique
- 3 62 78 93 133 164 4566 more-text etc-etc

QUESTION: I need to get output as follows:

- 60 text-fieldUNO text-field-DOS
- 61 text-unique text-again-unique
- 62 more-text etc-etc
- [then continuing on consecutively to the last number:]
- 4566 more-text etc-etc

I've read all the vlookup, hlookup, lookup, array, etc pages, but my brain isn't getting how to easily get from the giant grid (because vlookup only pulls from the first column and it cannot search a comma-separated-list) to an ordered list that spits out the text fields that appear to the right on same-row.

The output DOES NOT need to be sorted (I can easily paste to another sheet and sort by column, but it has to dump each unique number from 60 to 4566 along with the corresponding text that's on the same line as the number. Just looking for some fast help pretty-please?

To clarify, the values shown in your first example are all in separate columns? Do you then have 15 columns of numbers followed by two columns of text? And the output needs to be three columns?

You are exactly correct. There are 17 columns with unique numbers followed by 2 columns with text (that same text is associated with all 17 of the numbers appearing to the left). Some cells are blank (like not every row is filled with 17 numbers, a few only have 2). Huge thanks for taking a look.

Other potential tools I'm looking at are INDEX and MATCH.

Does the output have as many rows as the source? And is the search value always in the same column? For instance, your example above suggests all the 'lookup' numbers are in column 2 and that the lookups range from 60 to 4566

yes, output has same number of rows as source. CORRECTION: my example is misleading, the numbers to be searched-for appear NOT JUST in column 2 but ALSO in columns 3-17 as well. ... as far as the "search value" I may be a bit confused or reading too much in, but I want to "search for" all the numbers from 60-4566 and dump the corresponding 2 text fields that appear next to the table.

I'll be here until I solve this. Continuing to look at possible solutions. Thanks a ton for any suggestions. (still here)