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

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
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,224,821
Messages
6,181,163
Members
453,021
Latest member
Justyna P

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