+ Reply to Thread
Results 1 to 2 of 2

IF & Vlookup

  1. #1
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb IF & Vlookup

    i want to find a cell value in range of value i-e:
    formula in cell Sheet1!H4 is, if value in Sheet1!B4 is in a range Sheet2!B5:B700 then return "Present" otherwise return "Not"
    =IF(B4=(VLOOKUP(B4,June06,1,0), "Present","No")
    but this returns N/A. i can understand that this is wrong function because of repitition of bolded reference.
    how can i acheive my purpose.
    thanks in anticipation of quick response.

  2. #2
    Trevor Shuttleworth
    Guest

    Re: IF & Vlookup

    =IF(ISNA(VLOOKUP(B4,June06,1,0)), "Not Present","Present")

    Regards

    Trevor


    "starguy" <[email protected]> wrote in
    message news:[email protected]...
    >
    > i want to find a cell value in range of value i-e:
    > formula in cell Sheet1!H4 is, if value in Sheet1!B4 is in a range
    > Sheet2!B5:B700 then return "Present" otherwise return "Not"
    > =IF(*B4*=(VLOOKUP(*B4*,June06,1,0), "Present","No")
    > but this returns N/A. i can understand that this is wrong function
    > because of repitition of bolded reference.
    > how can i acheive my purpose.
    > thanks in anticipation of quick response.
    >
    >
    > --
    > starguy
    > ------------------------------------------------------------------------
    > starguy's Profile:
    > http://www.excelforum.com/member.php...o&userid=32434
    > View this thread: http://www.excelforum.com/showthread...hreadid=525121
    >




+ 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