You are here:

# Excel/Multiple Double Vlookup

Question
I have data like below and i want to pick the 14.3 against "A" then 31.4 against "B", 40.0 against against D and so on.
i have used Index function with Match function but its not working properly.
Thanx

A1   Correct
A2   A   14.3   5.7   5.7   2.9
A3   B   8.6   31.4   0.0   0.0
A4   D   0.0   5.7   0.0   40.0
A5   C   2.9   22.9   22.9   5.7
A6   D   5.7   11.4   0.0   42.9
A7   A   42.9   5.7   5.7   5.7
A8   A   40.0   0.0   20.0   2.9
A9   C   0.0   2.9   51.4   8.6
A10   D   2.9   0.0   5.7   57.1
A11   D   8.6   40.0   0.0   17.1
A12   A   51.4   5.7   2.9   8.6

Hi Manish,

I wasn't sure where you enter the input value. Based on my understanding, I have prepared the following solution:

Cells C1 to F1 contain values A,B,C,D

Cells A1 to A12 contain values 1 to 11

Cells B2 to F12 contain the table you posted in your question

Cell G2 contains the following formula =HLOOKUP(B2,\$C\$1:\$F\$12,A2+1,FALSE)
Cell G3 contains the following formula =HLOOKUP(B3,\$C\$1:\$F\$12,A3+1,FALSE)
and so on until cell G12.

Column G is the result you are looking for.

If this doesn't answer the question, please feel free to mail me your excel file and that will make it easier for me to answer. (gulshanrajpurswani@gmail.com - subject- AllExperts

Wishing you most and more,
Gulshan.
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here

#### GULSHAN PURSWANI

##### Expertise

I can answer questions related to the following topics: 1. MS Excel - Creating and Linking Formulae, Running Pivot Tables, Vlookup etc. 2. Macros / VBA - Creating Macros to do specific jobs. Importing / Exporting / Validating Data in excel through Macros.

##### Experience

I've been working on excel for over 10 years and on VBA macros for over 3 years now.

Education/Credentials
Bachelor of Commerce, Chartered Accountant from The Institute of Chartered Accountants of India