• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Vlookup/Index match, Vba code for two sheets in a Workbook

Hi Guys,

I am looking for some help for a simple vlookup/Indexmatch using vba code.

Below is the source Data where we do a vlookup from sheet 1(Base sheet) Sheet 2 as "RMA" .

Please note the Data are not constant ..its dynamic in nature.All the #NA should come as"Not Available in report"

Request your help for Vba code to help me in resolving my task.
Thanks Again.


upload_2016-1-16_12-21-8.png

upload_2016-1-16_12-23-39.png
 

Attachments

  • Sample Note.xlsx
    91.1 KB · Views: 1
@Dinesh_Excel
Something like this?
Cell[B2] is
=VLOOKUP(A2,RMA!A:B,2,0)
change to
=IFERROR(VLOOKUP(A2,RMA!A:B,2,0),"Not Available in report")
... and copy down
 
Superb Friend... one small change,can we get "0" Zero for the records which are in base sheet but donot have any cell value in the second sheet.

Attached sheet for your reference.

Thanks again for all your support.

I liked that part "Do it":)
 

Attachments

  • Sample Note1.xlsb
    56.4 KB · Views: 1
Back
Top