+ Reply to Thread
Results 1 to 2 of 2

VBA to Search and List Results Based on specified Criteria

  1. #1
    Registered User
    Join Date
    07-06-2015
    Location
    Illinois, USA
    MS-Off Ver
    2010
    Posts
    5

    VBA to Search and List Results Based on specified Criteria

    Hello - I have a workbook (attached) with a sheet for entry, a sheet to hold data, and a sheet for results.

    on the first (Entry Form) sheet, a user would enter a material # and then assign a quantity to a set of stores based on criteria

    ex. entry on Sheet1 (Entry Form)


    Material All Trait 1 Trait 2 Trait 3 Trait 4
    5959 10
    14506 20


    Based on these entries, the VBA code would perform a search on the 2nd (Store List by Trait) sheet and grab all customers for material 5959, and all customers with an "x" in the Trait 2 column for material 14506.

    ex. Store list on Sheet 2 (Store List by Trait)

    Cust # Trait 1 Trait 2 Trait 3 Trait 4
    13463 x x
    13280 x x x
    27777 x x
    13464 x
    13477 x


    Those stores would then be listed in Sheet 3 (Store Level orders for Upload) along with the material # and the quantity


    ex. Store level Orders on Sheet 3 (Store Level orders for Upload)

    Customer Material Qty
    13463 5959 10
    13280 5959 10
    27777 5959 10
    13464 5959 10
    13477 5959 10
    13463 14506 20
    13280 14506 20

    Attached is a more detailed example. Any help is GREATLY appreciated!!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    07-06-2015
    Location
    Illinois, USA
    MS-Off Ver
    2010
    Posts
    5

    Re: VBA to Search and List Results Based on specified Criteria

    My apologies for the spacing - I am having some formatting trouble. Hopefully the attachment paints a clearer picture than the examples as shown

+ 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. Find and Delete rows based on cell value VBA, using a list as search criteria
    By ang374 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-08-2015, 10:55 AM
  2. Multiple Search Criteria produces (list) Multiple results in a single cell
    By snake007uk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-02-2014, 12:13 PM
  3. Replies: 6
    Last Post: 10-22-2013, 01:48 PM
  4. List Results Based on Multiple Criteria
    By scottcnichols in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-23-2013, 12:30 PM
  5. Search by Multiple Criteria, Put All Results into Drop Down List
    By Jeff C in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-27-2012, 02:54 PM
  6. list alternate cell based off search function results
    By agragg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-03-2012, 05:41 PM
  7. Macro needed: list results based on criteria
    By nantoy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2012, 09:18 PM

Tags for this Thread

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