+ Reply to Thread
Results 1 to 2 of 2

Excel search box

  1. #1
    Registered User
    Join Date
    10-20-2015
    Location
    london
    MS-Off Ver
    2010
    Posts
    24

    Excel search box

    Afternoon all.

    I have a database on sheet 2 with various data on it and would like to create a search box on sheet one that will search the data base and display the relevant data.

    I've had various attempts at this but am getting no where and I'm very close to being defeated, (I'm completely new to excel)

    on sheet one I have created a search box and on sheet 2 I have defined various ranges, i.e Asset, Logger, Alert, Validation and Box.

    The ranges are above are as follows:-

    •"=OFFSET(Sheet2!$A$2,0,0,COUNTA(Shee2!$A:$A)-1)" -----ASSET
    •"=OFFSET(Sheet2!$B$2,0,0,COUNTA(Shee2!$B:$B)-1)" -----LOGGER
    •"=OFFSET(Sheet2!$C$2,0,0,COUNTA(Shee2!$C:$C)-1)" -----ALERT
    •"=OFFSET(Sheet2!$D$2,0,0,COUNTA(Shee2!$D:$D)-1)" -----VALIDATION
    •"=OFFSET(Sheet2!$E$2,0,0,COUNTA(Shee2!$E:$E)-1)" ------BOX

    My search box on sheet one is set in C2 as follows:-

    2.Click "C6" and type "=IF($C$2="", "", $C$2)".
    3.Click "C7" and type "=IF($C$2="", "", INDEX(LOGGER,MATCH($C$2,ASSET,0)))".
    4.Click "C8" and type "=IF($C$2="", "", INDEX(ALERT,MATCH($C$2,ASSET,0)))".
    5.Click "C9" and type "=IF($C$2="", "", INDEX(VALIDATION,MATCH($C$2,ASSET,0)))".
    6.Click "C10" and type "=IF($C$2="", "", INDEX(BOX,MATCH($C$2,ASSET,0)))".

    the issue i'm having is when I'm entering my search the search results all populate with #VALUE!

    I have no idea what i'm doing wrong, any help would be much appreciated.

    Thank you
    E

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Excel search box

    Can you upload the spreadsheet? (Go Advanced>Manage Attachments)
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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. Search Folder + Search Excel File and Sum
    By Vanda_a in forum Excel General
    Replies: 1
    Last Post: 03-06-2015, 12:00 PM
  2. VBA Code - Search text & search number & search qty and result - Urgent Please
    By naresh73 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2014, 10:51 AM
  3. [SOLVED] Search box in Excel to search key words in sentences in multiple worksheets
    By fernandoii676 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-05-2012, 01:42 PM
  4. Replies: 2
    Last Post: 10-19-2012, 11:11 AM
  5. Replies: 1
    Last Post: 06-05-2012, 01:39 PM
  6. Developing Search Engine to search several Excel sheets
    By cruiser102 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-26-2009, 09:30 AM
  7. How do I search excel spreadsheets using multiple search criteria.
    By Kasper in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-14-2005, 08:30 PM

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