+ Reply to Thread
Results 1 to 3 of 3

vlookup returning what cells

  1. #1
    Registered User
    Join Date
    01-31-2011
    Location
    Ann Arbor, MI
    MS-Off Ver
    Excel for Mac
    Posts
    14

    vlookup returning what cells

    Vlookup works perfectly to find the first part my problem, but what I need is to know if there is any text in the cell to the right.

    My current formula is =VLOOKUP(A8,B:E,1,FALSE)

    The value of A8 is 20, and the cell 20 appears in is B7. VLOOKUP finds that 20 is in B8 but I need a second part to pull whether text is entered into C7. The formula I use to find if text is
    entered usually is =IF((ISBLANK(C7)),"No","Yes".

    How can I have vlookup return what cell it finds 20 in, then use ISBLANK to search text? Or a faster way if possible :P

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: vlookup returning what cells

    C7 or C8?
    If unclear then please attach a simple example,
    under normal curcumstances
    =VLOOKUP(A8,B:E,2,FALSE)
    would supply the result next to the found value, as 2 is the second column in the lookup range.

  3. #3
    Registered User
    Join Date
    01-31-2011
    Location
    Ann Arbor, MI
    MS-Off Ver
    Excel for Mac
    Posts
    14

    Re: vlookup returning what cells

    That formula worked, but it returns #N/A when it doesn't find a vlookup match, and a 0 when there is no data next to a match. Is there a way it can just output a blank cell? (This way I can use Isblank.

+ 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