Consulting

Results 1 to 3 of 3

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

  1. #1
    VBAX Regular
    Joined
    Dec 2015
    Posts
    11
    Location

    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.

    Below is the Base sheet-Sheet 1


    Source
    Status
    Delivery
    Quote status
    Approval Date
    INC700037568479
    INC700037564386
    INC700038070248
    INC700037349295



    Below is the RMA Sheet -Sheet 2 (Vlookup/Index match should be made from this sheet)
    Status
    Delivery
    Quote status
    Approval Date
    INC700037568479
    open Suspended 9/17/2015
    INC700037564386
    Closed 9/17/2015
    INC700038070248
    Suspended 9/17/2015
    INC700037349295
    9/17/2015





  2. #2
    VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    You don't need VBA, just the Worksheet Function VLOOKUP.
    IF you have a VLOOKUP formula that works except that you get #NA, then edit your formula like
    =IF(ISERROR(OriginalFormula),"Not Available in report",OriginalForumla)
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

  3. #3
    VBAX Regular
    Joined
    Dec 2015
    Posts
    11
    Location
    Thanks Sam ...this will help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •