Vlookup help, i think that is what I should use.

rbyland

New Member
Joined
Aug 11, 2011
Messages
4
I need some assistance with Vlookup. I have a data validation list (drop down list) that I am orking with. I want to have a value written in the next cell when you choose a certain criteria from the drop down. I have the information for the drop down and the criteria on the 2nd sheet and haven't been able for it to come out correctly.

=LOOKUP(C6,Sheet4!A2:A38,Sheet4!B2:B38)

C6 is the list to match to Sheet4!a2:a38, if that matches to those it should show the input on Sheet4!B2:B38.

Hope that isn't too confusing.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Thanks, that worked great.

Last question

If nothing is in the c6 cell, could I use an

=if(c6>0,(VLOOKUP(C6,Sheet4!A2:B38,2,FALSE),"")

To hide the #N/A that appears?
 
Upvote 0
Thanks, that worked great.

Last question

If nothing is in the c6 cell, could I use an

=if(c6>0,(VLOOKUP(C6,Sheet4!A2:B38,2,FALSE),"")

To hide the #N/A that appears?

Use =if(iserror(VLOOKUP(C6,Sheet4!A2:B38,2,FALSE)),"",VLOOKUP(C6,Sheet4!A2:B38,2,FALSE))

This would hide the #N/A error
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,357
Members
452,907
Latest member
Roland Deschain

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