Consulting

Results 1 to 3 of 3

Thread: To search a column in a database and to return all the entries found

  1. #1

    Cool To search a column in a database and to return all the entries found

    I have a database of about 300 products with about 45 different attributes (in 45 columns)
    I have created a front sheet and using vlookups I am able to search on the Product Code (in the first column) and return the most common attributes into a form.

    The products are sold to about 10 major retailers - and I want to find a way of searching through the Retailer column and a list returns showing all the matching products to the selected retailer.
    Just showing back the Product Code and Product Name would suffice.

    Is this possible to do?

    Thanks in advance

    Sally

  2. #2
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,874
    Please provide a workbook so that we don't guess wrongly your layout, and if there's a form - include that too.
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

  3. #3
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,726
    Location
    Have you looked at using a pivot table?
    ---------------------------------------------------------------------------------------------------------------------

    Paul


    Remember: Tell us WHAT you want to do, not HOW you think you want to do it

    1. Use [CODE] ....[/CODE ] Tags for readability
    [CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
    2. Upload an example
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
    3. Mark the thread as [Solved] when you have an answer
    Thread Tools (on the top right corner, above the first message)
    4. Read the Forum FAQ, especially the part about cross-posting in other forums
    http://www.vbaexpress.com/forum/faq...._new_faq_item3

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •