+ Reply to Thread
Results 1 to 2 of 2

Fixing a vlookup macro that returns #N/A error

  1. #1
    Grosvenor
    Guest

    Fixing a vlookup macro that returns #N/A error

    I'm running a macro that looks up a value relating to a certain team number
    in another worksheet. This other worksheet (vlookup table) is actually a
    download from another program, and not every team number appears each month
    as their value may be nil. When this occurs, the vlookup formula gives an
    #N/A message. How can I make a "0" value appear instead of #N/A??

  2. #2
    CLR
    Guest

    RE: Fixing a vlookup macro that returns #N/A error

    Wrap your formula in an IF statement.........

    =IF(ISNA(YourFormula),0,YourFormula)

    Vaya con Dios,
    Chuck, CABGx3



    "Grosvenor" wrote:

    > I'm running a macro that looks up a value relating to a certain team number
    > in another worksheet. This other worksheet (vlookup table) is actually a
    > download from another program, and not every team number appears each month
    > as their value may be nil. When this occurs, the vlookup formula gives an
    > #N/A message. How can I make a "0" value appear instead of #N/A??


+ 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