+ Reply to Thread
Results 1 to 2 of 2

Thread: help with a Lookup formula

  1. #1
    Registered User
    Join Date
    01-27-2005
    Posts
    31

    help with a Lookup formula

    hi all,

    I need to create a Lookup formula which will create a certain answer should a value NOT be found.

    I have a long list of data on my left column, I then want to enter some data in another column and get the Lookup function just to simply say wether the data I just entered is either in the left column or that it doesn't appear. I suspect I will have to use an IF formula, but I have not much experience with them. Can anyone lend me a hand?

  2. #2
    Registered User
    Join Date
    01-27-2005
    Posts
    3
    You do need an IF function. You want to disable "range lookup" on the lookup function, so that it doesn't find an in-between value, and then you want to use the ISERROR() function. ISERROR returns true or false, based on the parameter. If the parameter is something like #N/A, it will return true.

    "IF" is a simple function with three parameters:

    =IF( Statement that is TRUE OR FALSE, Value if True, Value if False)

    OR you can think of it as If <blank>, then..., else...

    =IF(<blank>, then..., else... )

    In your case, the <blank> should be ISERROR(<lookup function as normal>) and then and else should be what you want to display. If you want the cell to be blank use two double quotes "", for the Then or Else.

+ 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.2.0