+ Reply to Thread
Results 1 to 4 of 4

If/Or/VLookup Formula

  1. #1
    Phil Hageman
    Guest

    If/Or/VLookup Formula

    The VLookup portion of this formula works. I tacked on the OR portion and
    can’t get things to operate. If cell T40 is zero, or has a (legitimate)
    #DIV/0! Error, I want cell T40 blank, otherwise execute the VLookup.

    =(IF(OR(T40=0,ISERROR,""),VLOOKUP(T40,$AT$8:$AU$12,2)))


  2. #2
    Dave Peterson
    Guest

    Re: If/Or/VLookup Formula

    Maybe...

    =(IF(OR(T40=0,ISERROR(t40)),"",VLOOKUP(T40,$AT$8:$AU$12,2)))

    Phil Hageman wrote:
    >
    > The VLookup portion of this formula works. I tacked on the OR portion and
    > can’t get things to operate. If cell T40 is zero, or has a (legitimate)
    > #DIV/0! Error, I want cell T40 blank, otherwise execute the VLookup.
    >
    > =(IF(OR(T40=0,ISERROR,""),VLOOKUP(T40,$AT$8:$AU$12,2)))


    --

    Dave Peterson

  3. #3
    Kassie
    Guest

    RE: If/Or/VLookup Formula

    =IF(OR(ISERROR(T40),T40=0,T40=""),"",VLOOKUP(T40,$AT$8:$AU$12,2))

    "Phil Hageman" wrote:

    > The VLookup portion of this formula works. I tacked on the OR portion and
    > can’t get things to operate. If cell T40 is zero, or has a (legitimate)
    > #DIV/0! Error, I want cell T40 blank, otherwise execute the VLookup.
    >
    > =(IF(OR(T40=0,ISERROR,""),VLOOKUP(T40,$AT$8:$AU$12,2)))
    >


  4. #4
    Phil Hageman
    Guest

    RE: If/Or/VLookup Formula

    Kassie and Dave,

    Thanks for your answer - both formulas worked. Appreciate the help.

    Phil

    "Kassie" wrote:

    > =IF(OR(ISERROR(T40),T40=0,T40=""),"",VLOOKUP(T40,$AT$8:$AU$12,2))
    >
    > "Phil Hageman" wrote:
    >
    > > The VLookup portion of this formula works. I tacked on the OR portion and
    > > can’t get things to operate. If cell T40 is zero, or has a (legitimate)
    > > #DIV/0! Error, I want cell T40 blank, otherwise execute the VLookup.
    > >
    > > =(IF(OR(T40=0,ISERROR,""),VLOOKUP(T40,$AT$8:$AU$12,2)))
    > >


+ 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