Help me vba vlookup

efeduman

New Member
Joined
Nov 22, 2018
Messages
1
Hello there ;

If you can help me with a few problems in the code block below, I'd like to be happy.

• The searched value does not work if there is no number. I want to find mixed values ​​in text, numbers and text.
• I want to search the table on the different page according to the following conditions.
o Example; If od export tab is od import ”from table in page1,
o Example; Working according to date range in column alı c “
o Example; In the column where the values ​​are written, you should search only for those who do not.
Code:
Sub FastestVlookup()
[COLOR=#212121][FONT=inherit][CODE][/FONT][/COLOR] 

Sub FastestVlookup()

    With Sayfa2.Range("c3:c" & Range("A3").End(xlDown).Row)
        .FormulaR1C1 = _
        "=IF(VLOOKUP(RC2,Sayfa2!R3C9:R20700C11,1)=RC2,VLOOKUP(RC2,Sayfa2!R3C9:R20700C11,3),""N/A"")"
        .Value = .Value
    End With
 
End Sub
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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