VLookUP Formula

Shazz

Board Regular
Joined
Oct 28, 2010
Messages
136
Hi All,

I want to be able to click on a Supplier in the drop down menu on the PO Tab and all the address details are pulled through onto the cells under the supplier name, I know this is possible but I cant work out how to do this. I do not have an option to upload an example but I can PM one to you.

Can someone help at all??

Shazz
x
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Hi All,

I want to be able to click on a Supplier in the drop down menu on the PO Tab and all the address details are pulled through onto the cells under the supplier name, I know this is possible but I cant work out how to do this. I do not have an option to upload an example but I can PM one to you.

Can someone help at all??

Shazz
x

not sure if this is what you want.

1. create your drop down list
1.A. DATA tab then Data Validation
1.B. Change Allow: drop down to list then type in your supplier names.
2. write your Vlookup using the cell with the drop down as your lookup value (use an absolute reference so that it doesn't change as you copy and paste the formula to other cells)

sample formula:

Code:
=IF(ISERROR(VLOOKUP($A$1,$R$3:$W$5,2,0)),0,VLOOKUP($A$1,$R$3:$W$5,2,0))

I used an if(iserror here to return a 0 if there is an error in the formula.

you can get by without it if you don't mind the #NA error being returned.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,239
Members
452,621
Latest member
Laura_PinksBTHFT

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