Vlookup from List

BuffaloGuy

New Member
Joined
Dec 5, 2017
Messages
28
If I have a table in Sheet 1:
NYIDWACORI
1
.1.2.3.4.5
2.2.3.4.5.6
3.3.4.5.6.7
4.4.5.6.7.8
5.5.6.7.8.9

<tbody>
</tbody>

And I have a Drop down List in Sheet 2 that references the top row of Sheet1 (in B2): NY, ID, WA, CO, RI.

ListNY, ID, WA, CO, RI
REF:2
Question:100
Answer=C2*(Cell in Column from List and Row B2)

<tbody>
</tbody>

Can I use a Vlookup to get the Answer I need in D2?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Try this:

=c2*vlookup([cell reference of "ref"],sheet1!A:F,match([cell ref of dropdown list],sheet1!A1:F1,0),false)

Thanks
Jon
 
Upvote 0

Forum statistics

Threads
1,214,636
Messages
6,120,668
Members
448,977
Latest member
moonlight6

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