+ Reply to Thread
Results 1 to 4 of 4

Replacing #N/A with a '0' (zero)

  1. #1
    neilcarden
    Guest

    Replacing #N/A with a '0' (zero)


    Hi all,

    I'm using a Vlookup to pull figures over from another sheet. Is there a
    way that when there isn't any data to pull across, instead of displaying
    #N/A it could display a zero?

    Thanks in advance...

    Neil


    --
    neilcarden

  2. #2
    Bob Phillips
    Guest

    Re: Replacing #N/A with a '0' (zero)

    =IF(ISNA(lookup_formula),0,lookup_formula)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "neilcarden" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Hi all,
    >
    > I'm using a Vlookup to pull figures over from another sheet. Is there a
    > way that when there isn't any data to pull across, instead of displaying
    > #N/A it could display a zero?
    >
    > Thanks in advance...
    >
    > Neil
    >
    >
    > --
    > neilcarden




  3. #3
    Niek Otten
    Guest

    Re: Replacing #N/A with a '0' (zero)

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

    --

    Kind Regards,

    Niek Otten

    Microsoft MVP - Excel

    "neilcarden" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Hi all,
    >
    > I'm using a Vlookup to pull figures over from another sheet. Is there a
    > way that when there isn't any data to pull across, instead of displaying
    > #N/A it could display a zero?
    >
    > Thanks in advance...
    >
    > Neil
    >
    >
    > --
    > neilcarden




  4. #4
    Vinaya
    Guest

    Re: Replacing #N/A with a '0' (zero)


    IF(ISERROR(VLOOKUP(C1,$A$1:$B$4,2,0)),0,(VLOOKUP(C1,$A$1:$B$4,2,0)))

    neilcarden wrote:
    > Hi all,
    >
    > I'm using a Vlookup to pull figures over from another sheet. Is there a
    > way that when there isn't any data to pull across, instead of displaying
    > #N/A it could display a zero?
    >
    > Thanks in advance...
    >
    > Neil
    >
    >



+ 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