If's with drop down menu

snash

Board Regular
Joined
Jan 12, 2006
Messages
209
Hi,
I have a list of items on sheet 2 in A1:A5. I also have a list in B1:B5
In sheet one A1 I have a drop down list which selects the items in column A (Sheet 2). I want a formula beside this list that displays the info from column B. I can do it with one item. Do I need multiple if?
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
8,053
Office Version
  1. 365
How about a VLOOKUP?

=VLOOKUP(A1,Sheet2!A1:B5,2,0)
 

snash

Board Regular
Joined
Jan 12, 2006
Messages
209
Thanks. I forgot about the VLookup - works a treat. Thanks!
 

Forum statistics

Threads
1,170,943
Messages
5,872,874
Members
432,950
Latest member
ALeXceLBr

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
Top