+ Reply to Thread
Results 1 to 51 of 51

vlookup avoiding #N/A

Hybrid View

  1. #1
    Registered User
    Join Date
    07-05-2005
    Posts
    3

    vlookup avoiding #N/A

    Hi!

    If anybody know a way around this I'll be forever thankfull.

    I have a standard list which uses vlookup to another list which varies. If there is not a match I get #N/A and that messes up my subtotals in the first list. I have tried variations with if, match and find but I can not make it work.

    How can I get Excel to reply "" or 0 instead of #N/A?

    N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    N2=FD312 Insurance

    Thanks in advance
    Last edited by Lillian Eik; 07-05-2005 at 12:36 PM.

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    If we use ISERROR to trap error messages, we can prevent them from showing up, as such:

    =IF(ISERROR(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)

    The first part of the formula looks to see if the result is an error and if so, returns the empy string "". If no error is found, the result of the formula is returned.

    HTH

    Bruce
    Bruce
    The older I get, the better I used to be.
    USA

  3. #3
    Gord Dibben
    Guest

    Re: vlookup avoiding #N/A

    Just a head's up on ISERROR

    It will mask all errors, not just the #N/A and may hide something you don't
    want hidden.

    Preferable to use the ISNA function.

    =IF(ISNA(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)


    Gord Dibben Excel MVP

    On Tue, 5 Jul 2005 11:41:21 -0500, swatsp0p
    <[email protected]> wrote:

    >
    >If we use ISERROR to trap error messages, we can prevent them from
    >showing up, as such:
    >
    >=IF(ISERROR(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)
    >
    >The first part of the formula looks to see if the result is an error
    >and if so, returns the empy string "". If no error is found, the
    >result of the formula is returned.
    >
    >HTH
    >
    >Bruce



  4. #4
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    Thanks for the tip, Gord. I'll keep that in mind as I evaluate the need for error trapping methods.

    Cheers!

    Bruce

  5. #5
    Gord Dibben
    Guest

    Re: vlookup avoiding #N/A

    Just a head's up on ISERROR

    It will mask all errors, not just the #N/A and may hide something you don't
    want hidden.

    Preferable to use the ISNA function.

    =IF(ISNA(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)


    Gord Dibben Excel MVP

    On Tue, 5 Jul 2005 11:41:21 -0500, swatsp0p
    <[email protected]> wrote:

    >
    >If we use ISERROR to trap error messages, we can prevent them from
    >showing up, as such:
    >
    >=IF(ISERROR(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)
    >
    >The first part of the formula looks to see if the result is an error
    >and if so, returns the empy string "". If no error is found, the
    >result of the formula is returned.
    >
    >HTH
    >
    >Bruce



  6. #6
    Gord Dibben
    Guest

    Re: vlookup avoiding #N/A

    Just a head's up on ISERROR

    It will mask all errors, not just the #N/A and may hide something you don't
    want hidden.

    Preferable to use the ISNA function.

    =IF(ISNA(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)


    Gord Dibben Excel MVP

    On Tue, 5 Jul 2005 11:41:21 -0500, swatsp0p
    <[email protected]> wrote:

    >
    >If we use ISERROR to trap error messages, we can prevent them from
    >showing up, as such:
    >
    >=IF(ISERROR(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)
    >
    >The first part of the formula looks to see if the result is an error
    >and if so, returns the empy string "". If no error is found, the
    >result of the formula is returned.
    >
    >HTH
    >
    >Bruce



  7. #7
    Gord Dibben
    Guest

    Re: vlookup avoiding #N/A

    Just a head's up on ISERROR

    It will mask all errors, not just the #N/A and may hide something you don't
    want hidden.

    Preferable to use the ISNA function.

    =IF(ISNA(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)


    Gord Dibben Excel MVP

    On Tue, 5 Jul 2005 11:41:21 -0500, swatsp0p
    <[email protected]> wrote:

    >
    >If we use ISERROR to trap error messages, we can prevent them from
    >showing up, as such:
    >
    >=IF(ISERROR(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)
    >
    >The first part of the formula looks to see if the result is an error
    >and if so, returns the empy string "". If no error is found, the
    >result of the formula is returned.
    >
    >HTH
    >
    >Bruce



  8. #8
    Gord Dibben
    Guest

    Re: vlookup avoiding #N/A

    Just a head's up on ISERROR

    It will mask all errors, not just the #N/A and may hide something you don't
    want hidden.

    Preferable to use the ISNA function.

    =IF(ISNA(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)


    Gord Dibben Excel MVP

    On Tue, 5 Jul 2005 11:41:21 -0500, swatsp0p
    <[email protected]> wrote:

    >
    >If we use ISERROR to trap error messages, we can prevent them from
    >showing up, as such:
    >
    >=IF(ISERROR(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)
    >
    >The first part of the formula looks to see if the result is an error
    >and if so, returns the empy string "". If no error is found, the
    >result of the formula is returned.
    >
    >HTH
    >
    >Bruce



  9. #9
    Gord Dibben
    Guest

    Re: vlookup avoiding #N/A

    Just a head's up on ISERROR

    It will mask all errors, not just the #N/A and may hide something you don't
    want hidden.

    Preferable to use the ISNA function.

    =IF(ISNA(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)


    Gord Dibben Excel MVP

    On Tue, 5 Jul 2005 11:41:21 -0500, swatsp0p
    <[email protected]> wrote:

    >
    >If we use ISERROR to trap error messages, we can prevent them from
    >showing up, as such:
    >
    >=IF(ISERROR(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)
    >
    >The first part of the formula looks to see if the result is an error
    >and if so, returns the empy string "". If no error is found, the
    >result of the formula is returned.
    >
    >HTH
    >
    >Bruce



  10. #10
    Gord Dibben
    Guest

    Re: vlookup avoiding #N/A

    Just a head's up on ISERROR

    It will mask all errors, not just the #N/A and may hide something you don't
    want hidden.

    Preferable to use the ISNA function.

    =IF(ISNA(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)


    Gord Dibben Excel MVP

    On Tue, 5 Jul 2005 11:41:21 -0500, swatsp0p
    <[email protected]> wrote:

    >
    >If we use ISERROR to trap error messages, we can prevent them from
    >showing up, as such:
    >
    >=IF(ISERROR(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)
    >
    >The first part of the formula looks to see if the result is an error
    >and if so, returns the empy string "". If no error is found, the
    >result of the formula is returned.
    >
    >HTH
    >
    >Bruce



  11. #11
    Gord Dibben
    Guest

    Re: vlookup avoiding #N/A

    Just a head's up on ISERROR

    It will mask all errors, not just the #N/A and may hide something you don't
    want hidden.

    Preferable to use the ISNA function.

    =IF(ISNA(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)


    Gord Dibben Excel MVP

    On Tue, 5 Jul 2005 11:41:21 -0500, swatsp0p
    <[email protected]> wrote:

    >
    >If we use ISERROR to trap error messages, we can prevent them from
    >showing up, as such:
    >
    >=IF(ISERROR(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)
    >
    >The first part of the formula looks to see if the result is an error
    >and if so, returns the empy string "". If no error is found, the
    >result of the formula is returned.
    >
    >HTH
    >
    >Bruce



  12. #12
    Gord Dibben
    Guest

    Re: vlookup avoiding #N/A

    Just a head's up on ISERROR

    It will mask all errors, not just the #N/A and may hide something you don't
    want hidden.

    Preferable to use the ISNA function.

    =IF(ISNA(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)


    Gord Dibben Excel MVP

    On Tue, 5 Jul 2005 11:41:21 -0500, swatsp0p
    <[email protected]> wrote:

    >
    >If we use ISERROR to trap error messages, we can prevent them from
    >showing up, as such:
    >
    >=IF(ISERROR(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)
    >
    >The first part of the formula looks to see if the result is an error
    >and if so, returns the empy string "". If no error is found, the
    >result of the formula is returned.
    >
    >HTH
    >
    >Bruce



  13. #13
    Gord Dibben
    Guest

    Re: vlookup avoiding #N/A

    Just a head's up on ISERROR

    It will mask all errors, not just the #N/A and may hide something you don't
    want hidden.

    Preferable to use the ISNA function.

    =IF(ISNA(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)


    Gord Dibben Excel MVP

    On Tue, 5 Jul 2005 11:41:21 -0500, swatsp0p
    <[email protected]> wrote:

    >
    >If we use ISERROR to trap error messages, we can prevent them from
    >showing up, as such:
    >
    >=IF(ISERROR(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)
    >
    >The first part of the formula looks to see if the result is an error
    >and if so, returns the empy string "". If no error is found, the
    >result of the formula is returned.
    >
    >HTH
    >
    >Bruce



  14. #14
    Gord Dibben
    Guest

    Re: vlookup avoiding #N/A

    Just a head's up on ISERROR

    It will mask all errors, not just the #N/A and may hide something you don't
    want hidden.

    Preferable to use the ISNA function.

    =IF(ISNA(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)


    Gord Dibben Excel MVP

    On Tue, 5 Jul 2005 11:41:21 -0500, swatsp0p
    <[email protected]> wrote:

    >
    >If we use ISERROR to trap error messages, we can prevent them from
    >showing up, as such:
    >
    >=IF(ISERROR(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)
    >
    >The first part of the formula looks to see if the result is an error
    >and if so, returns the empy string "". If no error is found, the
    >result of the formula is returned.
    >
    >HTH
    >
    >Bruce



  15. #15
    Gord Dibben
    Guest

    Re: vlookup avoiding #N/A

    Just a head's up on ISERROR

    It will mask all errors, not just the #N/A and may hide something you don't
    want hidden.

    Preferable to use the ISNA function.

    =IF(ISNA(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)


    Gord Dibben Excel MVP

    On Tue, 5 Jul 2005 11:41:21 -0500, swatsp0p
    <[email protected]> wrote:

    >
    >If we use ISERROR to trap error messages, we can prevent them from
    >showing up, as such:
    >
    >=IF(ISERROR(VLOOKUP(B2;Internal!B:C;2;FALSE)),"",VLOOKUP(B2;Internal!B:C;2;FALSE)
    >
    >The first part of the formula looks to see if the result is an error
    >and if so, returns the empy string "". If no error is found, the
    >result of the formula is returned.
    >
    >HTH
    >
    >Bruce



  16. #16
    N Harkawat
    Guest

    Re: vlookup avoiding #N/A

    =if(iserror(match(b2;c:c;0)),"",VLOOKUP(B2;Internal!B:C;2;FALSE))

    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >




  17. #17
    Odie
    Guest

    RE: vlookup avoiding #N/A

    try this:
    IF(ISNA(VLOOKUP($B15,$J$14:$N$60,2,FALSE)),0,VLOOKUP($B15,$J$14:$N$60,2,FALSE))

    "Lillian Eik" wrote:

    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile: http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >
    >


  18. #18
    Peo Sjoblom
    Guest

    Re: vlookup avoiding #N/A

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);0)

    would be one way where 0 would be returned if there is no match, if you want
    what looks like an empty cell

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);"")


    --
    Regards,

    Peo Sjoblom

    (No private emails please)


    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >



  19. #19
    N Harkawat
    Guest

    Re: vlookup avoiding #N/A

    =if(iserror(match(b2;c:c;0)),"",VLOOKUP(B2;Internal!B:C;2;FALSE))

    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >




  20. #20
    N Harkawat
    Guest

    Re: vlookup avoiding #N/A

    =if(iserror(match(b2;c:c;0)),"",VLOOKUP(B2;Internal!B:C;2;FALSE))

    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >




  21. #21
    Odie
    Guest

    RE: vlookup avoiding #N/A

    try this:
    IF(ISNA(VLOOKUP($B15,$J$14:$N$60,2,FALSE)),0,VLOOKUP($B15,$J$14:$N$60,2,FALSE))

    "Lillian Eik" wrote:

    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile: http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >
    >


  22. #22
    Odie
    Guest

    RE: vlookup avoiding #N/A

    try this:
    IF(ISNA(VLOOKUP($B15,$J$14:$N$60,2,FALSE)),0,VLOOKUP($B15,$J$14:$N$60,2,FALSE))

    "Lillian Eik" wrote:

    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile: http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >
    >


  23. #23
    Peo Sjoblom
    Guest

    Re: vlookup avoiding #N/A

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);0)

    would be one way where 0 would be returned if there is no match, if you want
    what looks like an empty cell

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);"")


    --
    Regards,

    Peo Sjoblom

    (No private emails please)


    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >



  24. #24
    Peo Sjoblom
    Guest

    Re: vlookup avoiding #N/A

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);0)

    would be one way where 0 would be returned if there is no match, if you want
    what looks like an empty cell

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);"")


    --
    Regards,

    Peo Sjoblom

    (No private emails please)


    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >



  25. #25
    N Harkawat
    Guest

    Re: vlookup avoiding #N/A

    =if(iserror(match(b2;c:c;0)),"",VLOOKUP(B2;Internal!B:C;2;FALSE))

    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >




  26. #26
    Odie
    Guest

    RE: vlookup avoiding #N/A

    try this:
    IF(ISNA(VLOOKUP($B15,$J$14:$N$60,2,FALSE)),0,VLOOKUP($B15,$J$14:$N$60,2,FALSE))

    "Lillian Eik" wrote:

    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile: http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >
    >


  27. #27
    Peo Sjoblom
    Guest

    Re: vlookup avoiding #N/A

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);0)

    would be one way where 0 would be returned if there is no match, if you want
    what looks like an empty cell

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);"")


    --
    Regards,

    Peo Sjoblom

    (No private emails please)


    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >



  28. #28
    N Harkawat
    Guest

    Re: vlookup avoiding #N/A

    =if(iserror(match(b2;c:c;0)),"",VLOOKUP(B2;Internal!B:C;2;FALSE))

    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >




  29. #29
    N Harkawat
    Guest

    Re: vlookup avoiding #N/A

    =if(iserror(match(b2;c:c;0)),"",VLOOKUP(B2;Internal!B:C;2;FALSE))

    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >




  30. #30
    Odie
    Guest

    RE: vlookup avoiding #N/A

    try this:
    IF(ISNA(VLOOKUP($B15,$J$14:$N$60,2,FALSE)),0,VLOOKUP($B15,$J$14:$N$60,2,FALSE))

    "Lillian Eik" wrote:

    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile: http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >
    >


  31. #31
    Odie
    Guest

    RE: vlookup avoiding #N/A

    try this:
    IF(ISNA(VLOOKUP($B15,$J$14:$N$60,2,FALSE)),0,VLOOKUP($B15,$J$14:$N$60,2,FALSE))

    "Lillian Eik" wrote:

    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile: http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >
    >


  32. #32
    Peo Sjoblom
    Guest

    Re: vlookup avoiding #N/A

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);0)

    would be one way where 0 would be returned if there is no match, if you want
    what looks like an empty cell

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);"")


    --
    Regards,

    Peo Sjoblom

    (No private emails please)


    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >



  33. #33
    Peo Sjoblom
    Guest

    Re: vlookup avoiding #N/A

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);0)

    would be one way where 0 would be returned if there is no match, if you want
    what looks like an empty cell

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);"")


    --
    Regards,

    Peo Sjoblom

    (No private emails please)


    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >



  34. #34
    N Harkawat
    Guest

    Re: vlookup avoiding #N/A

    =if(iserror(match(b2;c:c;0)),"",VLOOKUP(B2;Internal!B:C;2;FALSE))

    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >




  35. #35
    N Harkawat
    Guest

    Re: vlookup avoiding #N/A

    =if(iserror(match(b2;c:c;0)),"",VLOOKUP(B2;Internal!B:C;2;FALSE))

    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >




  36. #36
    Odie
    Guest

    RE: vlookup avoiding #N/A

    try this:
    IF(ISNA(VLOOKUP($B15,$J$14:$N$60,2,FALSE)),0,VLOOKUP($B15,$J$14:$N$60,2,FALSE))

    "Lillian Eik" wrote:

    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile: http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >
    >


  37. #37
    Odie
    Guest

    RE: vlookup avoiding #N/A

    try this:
    IF(ISNA(VLOOKUP($B15,$J$14:$N$60,2,FALSE)),0,VLOOKUP($B15,$J$14:$N$60,2,FALSE))

    "Lillian Eik" wrote:

    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile: http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >
    >


  38. #38
    Peo Sjoblom
    Guest

    Re: vlookup avoiding #N/A

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);0)

    would be one way where 0 would be returned if there is no match, if you want
    what looks like an empty cell

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);"")


    --
    Regards,

    Peo Sjoblom

    (No private emails please)


    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >



  39. #39
    Peo Sjoblom
    Guest

    Re: vlookup avoiding #N/A

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);0)

    would be one way where 0 would be returned if there is no match, if you want
    what looks like an empty cell

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);"")


    --
    Regards,

    Peo Sjoblom

    (No private emails please)


    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >



  40. #40
    N Harkawat
    Guest

    Re: vlookup avoiding #N/A

    =if(iserror(match(b2;c:c;0)),"",VLOOKUP(B2;Internal!B:C;2;FALSE))

    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >




  41. #41
    Odie
    Guest

    RE: vlookup avoiding #N/A

    try this:
    IF(ISNA(VLOOKUP($B15,$J$14:$N$60,2,FALSE)),0,VLOOKUP($B15,$J$14:$N$60,2,FALSE))

    "Lillian Eik" wrote:

    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile: http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >
    >


  42. #42
    Peo Sjoblom
    Guest

    Re: vlookup avoiding #N/A

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);0)

    would be one way where 0 would be returned if there is no match, if you want
    what looks like an empty cell

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);"")


    --
    Regards,

    Peo Sjoblom

    (No private emails please)


    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >



  43. #43
    N Harkawat
    Guest

    Re: vlookup avoiding #N/A

    =if(iserror(match(b2;c:c;0)),"",VLOOKUP(B2;Internal!B:C;2;FALSE))

    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >




  44. #44
    N Harkawat
    Guest

    Re: vlookup avoiding #N/A

    =if(iserror(match(b2;c:c;0)),"",VLOOKUP(B2;Internal!B:C;2;FALSE))

    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >




  45. #45
    N Harkawat
    Guest

    Re: vlookup avoiding #N/A

    =if(iserror(match(b2;c:c;0)),"",VLOOKUP(B2;Internal!B:C;2;FALSE))

    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >




  46. #46
    Odie
    Guest

    RE: vlookup avoiding #N/A

    try this:
    IF(ISNA(VLOOKUP($B15,$J$14:$N$60,2,FALSE)),0,VLOOKUP($B15,$J$14:$N$60,2,FALSE))

    "Lillian Eik" wrote:

    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile: http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >
    >


  47. #47
    Odie
    Guest

    RE: vlookup avoiding #N/A

    try this:
    IF(ISNA(VLOOKUP($B15,$J$14:$N$60,2,FALSE)),0,VLOOKUP($B15,$J$14:$N$60,2,FALSE))

    "Lillian Eik" wrote:

    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile: http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >
    >


  48. #48
    Odie
    Guest

    RE: vlookup avoiding #N/A

    try this:
    IF(ISNA(VLOOKUP($B15,$J$14:$N$60,2,FALSE)),0,VLOOKUP($B15,$J$14:$N$60,2,FALSE))

    "Lillian Eik" wrote:

    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile: http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >
    >


  49. #49
    Peo Sjoblom
    Guest

    Re: vlookup avoiding #N/A

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);0)

    would be one way where 0 would be returned if there is no match, if you want
    what looks like an empty cell

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);"")


    --
    Regards,

    Peo Sjoblom

    (No private emails please)


    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >



  50. #50
    Peo Sjoblom
    Guest

    Re: vlookup avoiding #N/A

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);0)

    would be one way where 0 would be returned if there is no match, if you want
    what looks like an empty cell

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);"")


    --
    Regards,

    Peo Sjoblom

    (No private emails please)


    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >



  51. #51
    Peo Sjoblom
    Guest

    Re: vlookup avoiding #N/A

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);0)

    would be one way where 0 would be returned if there is no match, if you want
    what looks like an empty cell

    =IF(ISNUMBER(MATCH(B2;Internal!B:B;0));VLOOKUP(B2;Internal!B:C;2;FALSE);"")


    --
    Regards,

    Peo Sjoblom

    (No private emails please)


    "Lillian Eik" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi!
    >
    > If anybody know a way around this I'll be forever thankfull.
    >
    > I have a standard list which uses vlookup to another list which varies.
    > If there is not a match I get #N/A and that messes up my subtotals in
    > the first list. I have tried variations with if, match and find but I
    > can not make it work.
    >
    > N2=VLOOKUP(B2;Internal!B:C;2;FALSE)
    > N2=FD312 Insurance
    >
    > Thanks in advance
    >
    >
    > --
    > Lillian Eik
    > ------------------------------------------------------------------------
    > Lillian Eik's Profile:
    > http://www.excelforum.com/member.php...o&userid=24919
    > View this thread: http://www.excelforum.com/showthread...hreadid=384575
    >



+ 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