+ Reply to Thread
Results 1 to 3 of 3

IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE")

  1. #1
    Souris
    Guest

    IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE")

    I have following code to check does MYDATA retrun 0 from index 4.
    I got false result, even I have return value is 0.

    IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE")

    Am I right?

    If mydata return value zero if should execute "TRUE",
    It executea "FALSE" if it return non zero value.

    Please let me know if I am wrong.

    Any infromation is great appreciated,


  2. #2
    Norman Jones
    Guest

    Re: IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE")

    Hi Souris,

    > IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE")


    try using the fourth lookup parameter which determines if an exact match is
    to be returned:

    IF(VLOOKUP("MYDATA", MYNAME, 4,0) = 0, "TRUE", "FALSE")

    If the fourth parameter is omitted, an approximate match is returned.


    See Excel help on VLookup for assistance with this additional parameter.


    ---
    Regards,
    Norman



    "Souris" <[email protected]> wrote in message
    news:[email protected]...
    >I have following code to check does MYDATA retrun 0 from index 4.
    > I got false result, even I have return value is 0.
    >
    > IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE")
    >
    > Am I right?
    >
    > If mydata return value zero if should execute "TRUE",
    > It executea "FALSE" if it return non zero value.
    >
    > Please let me know if I am wrong.
    >
    > Any infromation is great appreciated,
    >




  3. #3
    Souris
    Guest

    Re: IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE")

    Thanks millions,

    It works,



    "Norman Jones" wrote:

    > Hi Souris,
    >
    > > IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE")

    >
    > try using the fourth lookup parameter which determines if an exact match is
    > to be returned:
    >
    > IF(VLOOKUP("MYDATA", MYNAME, 4,0) = 0, "TRUE", "FALSE")
    >
    > If the fourth parameter is omitted, an approximate match is returned.
    >
    >
    > See Excel help on VLookup for assistance with this additional parameter.
    >
    >
    > ---
    > Regards,
    > Norman
    >
    >
    >
    > "Souris" <[email protected]> wrote in message
    > news:[email protected]...
    > >I have following code to check does MYDATA retrun 0 from index 4.
    > > I got false result, even I have return value is 0.
    > >
    > > IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE")
    > >
    > > Am I right?
    > >
    > > If mydata return value zero if should execute "TRUE",
    > > It executea "FALSE" if it return non zero value.
    > >
    > > Please let me know if I am wrong.
    > >
    > > Any infromation is great appreciated,
    > >

    >
    >
    >


+ 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