+ Reply to Thread
Results 1 to 4 of 4

Plz help me to replace vlookup formula with a macro

  1. #1
    Registered User
    Join Date
    12-30-2011
    Location
    INDIA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Question Plz help me to replace vlookup formula with a macro

    Plz help me to replace this
    formula with a macro
    =IF(A1="","",IF(ISNA(VLOOKUP
    (A1,Sheet2!
    A:B,2,0)),A1,(VLOOKUP
    (A1,SHEET2!A:B,2,0))

  2. #2
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: Plz help me to replace vlookup formula with a macro

    What is the purpose behind it being a macro? Is it to only display the value? How would you output the result, into a cell, message box, or what?

  3. #3
    Registered User
    Join Date
    12-30-2011
    Location
    INDIA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Exclamation Re: Plz help me to replace vlookup formula with a macro

    By this formula i change old account into new account no.
    plz help to create a macro code

  4. #4
    Registered User
    Join Date
    12-30-2011
    Location
    INDIA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Plz help me to replace vlookup formula with a macro

    I have an excel file in which
    sheet 2's A column contains
    Old account number B column
    contains New account number.
    I want that
    when i enter an old no in
    column A then new no show in
    column B of sheet
    2.
    in this case i need Excel
    experts help
    please tell me how can i create
    a VBA code to do this.
    But i dont want to use a Vlook
    up formula.
    thanks in advance

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1