vlookup in vba

  1. C

    Vlookup in VBA on non-active sheet

    I am looking to "pre"populate a ComboBox for the user with some data. The 1st step is to utilize a Vlookup that takes the current date and chooses a shift letter (A or C) that is on a non-activated sheet.. The below code gives me a runtime error 1004 on the Vlookup line Sub...
  2. F

    VBA: IfError and VLookup

    Trying to look up a value within a range using vlookup. If the value doesn't exist, then I want it to return either 0, nothing etc Then I can use an if statement on the variable, so that if it IS nothing then I can do something (add the missing value to the end of a range) test =...
  3. D

    Cell VLookup formula converted to VBA. I need help converting this Code

    I am having a hard time figuring out how to convert my VLookup formula I have in my cells to a VBA format. Here is the code that I have in my Cells and I need to convert to VBA form. =IF(ISNA(VLOOKUP($C4&" "&U$3,LMSDTU,18,FALSE)),"",VLOOKUP($C4&" "&U$3,LMSDTU,18,FALSE)) Your help is greatly...
  4. L

    Loops, vlookup and dropdown lists

    I'm a newbie at VBA and trying to learn how to get a macro to fill out a list for me. I keep running into errors. Here's what I'm trying to do: I have 2 worksheets: Names and Data Names is a worksheet with multiple data validation boxes Data is a list of all those names with counts of how...
  5. M

    VBA to store Vlookup Function in a cell

    Hi There! I have a workbook where I need a cell to be populated in an array of worksheets I specfiy, with below function: =IF(ISNA(VLOOKUP($C$3&" * ",'Y:\ttd\January 2010\[Jan_costs.xlsx]revdata'!$A$11:$AA$1239,5,0))=TRUE,"",VLOOKUP($C$3&" * ",'Y:\ttd\January...
  6. N

    Returning a Vlookup function in VBA Excel 2003

    Hi all: It has been some time since I have posted. I just can't seem to stay within my comfort zone with excel. I have 2 sheets named "Input" and "ActivityOffset". The sheets are set up as follows: Input Sheet Column A: Activity/Offset Codes. This column is validated by the named range "AO"...

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