vlookup help

David McCue

New Member
Joined
Nov 25, 2018
Messages
7
I have a column on one sheet (green) that I want it to look up info from the 2nd tab and fill it in.
I was thinking vlookup to solve this but I am not very good at these.

So I want to select a vehicle type from a drop down list in sheet called "Checklist" cell is $g$10 (yellow cell)
then it needs to look at cells b1:z1 in sheet called "MEL" to match the vehicle type from G10

and return the info below that vehicle type on sheet "Checklist" in H12:H60 (Green cells)

Can anyone offer assistance please

1596607957927.png


1596608044276.png
 

Attachments

  • 1596607816257.png
    1596607816257.png
    145.4 KB · Views: 4
  • 1596607854440.png
    1596607854440.png
    139.8 KB · Views: 5

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
am I missing something?
Where is Baggage Tug (Diesel) in sheet MEL?

EDIT
Found it :oops:
 
Upvote 0
The values in row1 in MEL must be the same to the value in G10, otherwise the lookup will fail
So if you have used {ALT}{ENTER} to make cell B1 etc look nice either remove it or add another (hidden) row for your lookup

this formula in H12 copied down should work
=INDEX(MEL!$1:$1048576,MATCH(G12,MEL!$A:$A,0),MATCH($H$10,MEL!$1:$1,0))

you could amend the formula to include actual ranges used - like this
=INDEX(MEL!$A1:$T99,MATCH(G12,MEL!$A1:$A99,0),MATCH($H$10,MEL!$A1:$T1,0))
 
Upvote 0
OOPS - the lookup cell is of course G10
=INDEX(MEL!$1:$1048576,MATCH(G12,MEL!$A:$A,0),MATCH($G$10,MEL!$1:$1,0))
 
Upvote 0
Thanks -I didnt think of an index formula
The 1st formula works a treat - I just had to change the $h$10 to $g$10
 
Upvote 0

Forum statistics

Threads
1,215,046
Messages
6,122,855
Members
449,096
Latest member
Erald

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top