+ Reply to Thread
Results 1 to 3 of 3

Help displaying more than one result of a Vlookup but hiding any N/As.

  1. #1
    Registered User
    Join Date
    11-25-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    3

    Help displaying more than one result of a Vlookup but hiding any N/As.

    Hello,

    I was asked to come up with a 'search engine' for a friend and stupidly said yes!

    She needed a search engine that when her customer put in a postcode it would bring up all of the companies in a specific area.

    I've managed to create a simple format where when the postcode is put into the seach box it'll bring up any matches using a Vlookup but needed help with the it then returning a second, third, fourth (etc.) result.

    Is there a bit of code that would do this?

    I'm currently using an IF statement to hide any of the errors it finds but I'm stuck with how to display the other results as the Vlookup only returns the first result it finds.

    I was thinking there may be a way of using a Countif and another IF statement? Any help would be greatly appreciated!

    Work in progress search engine..xlsx

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Help displaying more than one result of a Vlookup but hiding any N/As.

    Try this........

    This is an array formula so it needs to be confirmed with Ctrl+Shift+Enter and then drag the formula across and down.

    Please Login or Register  to view this content.
    Please see the attached sheet.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    11-25-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Help displaying more than one result of a Vlookup but hiding any N/As.

    Many thanks sktneer!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VLOOKUP result displaying #N/A
    By favorgirl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-11-2013, 03:42 PM
  2. Hiding/Displaying Cells based off input box value
    By Qppg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2008, 05:27 PM
  3. displaying/hiding a picture in a column
    By hamster in forum Excel General
    Replies: 6
    Last Post: 05-08-2007, 02:30 AM
  4. Vlookup is displaying the formula in its cell not the result??
    By Craig H in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2006, 06:15 AM
  5. [SOLVED] Hiding / Displaying columns
    By majesticaussies in forum Excel General
    Replies: 1
    Last Post: 09-14-2005, 12:05 AM

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