+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Work Sheet-Reference Relations

  1. #1
    Registered User
    Join Date
    02-12-2011
    Location
    New York, United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Work Sheet-Reference Relations

    Situation:
    I am using excel with windows xp. I have set up a worksheet with a reference attached to it. I have two columns. In the first, I type in a code in reference to the reference sheet. For example, when I type in "123" an address will come up. But if I type in a code that doesn't exist on my reference sheet, then a message will appear in the next cell, telling me I put in the incorrect code. But when I delete my incorrect code, the message remains.

    Problem:
    When my code is deleted, I need for the cell to become empty. My formula for the cell is

    =IF(ISNA(VLOOKUP(E3,Ref!$A$2:$D$100,2,FALSE)),"",VLOOKUP(E3,Ref!$A$2:$D$100,2,FALSE))

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Work Sheet-Reference Relations

    Try this:

    =IF(E3="", "", IFERROR(VLOOKUP(E3, Ref!$A$2:$D$100, 2, FALSE), ""))
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    02-12-2011
    Location
    New York, United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Work Sheet-Reference Relations

    thank you! it worked perfectly!

+ 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