+ Reply to Thread
Results 1 to 3 of 3

need help with a VBA code to search multiple criteria for singular result

  1. #1
    Registered User
    Join Date
    08-27-2020
    Location
    Texas
    MS-Off Ver
    365
    Posts
    3

    need help with a VBA code to search multiple criteria for singular result

    Hoping someone can help. I have a workbook with two sheets. The second sheet (sheet2) is my source sheet which is updated daily. In sheet1 I have Name in col A and type in col B. there are duplicate names in the source sheet but only one type per name. I need to be able to search for the name (column D in source) and match it with the type (column L in the source) to find the output for column C (column E in the source). I will then need to reference columns A, B and C to find in my source sheet, again, multiples for the name but when all three are matched the other information is accurate from source. I currently have XLOOKUP function doing all of this but having to update the source sheet daily (over 14000 lines) it takes quite awhile for the threads to calculate. I want to move all these functions to a macro module. I have one written that will search the name in column A and return information for column C but can’t figure out how to match both A and B so C is accurate and then of course use A, B and C to match other information. Please take a look at the code written and hopefully someone can help out. Thanks,

  2. #2
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: need help with a VBA code to search multiple criteria for singular result

    @txsooner
    it much better to upload example that can someone help you and please read yellow part above

  3. #3
    Registered User
    Join Date
    08-27-2020
    Location
    Texas
    MS-Off Ver
    365
    Posts
    3

    Re: need help with a VBA code to search multiple criteria for singular result

    attached is the spreadsheet
    Attached Files Attached Files

+ 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. Create Singular record from a Zip Code Range table
    By zoso333 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-23-2020, 09:33 AM
  2. [SOLVED] Search & Find with AutoFilter code for Multiple Criteria Solved!
    By MattHamby in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-09-2019, 08:40 AM
  3. [SOLVED] Search for Singular Yellow Row
    By trevor2524 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-12-2014, 02:18 PM
  4. [SOLVED] Search for multiple rows from multiple sheets by criteria & show result in userform
    By ANDREAAS in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-07-2014, 11:29 AM
  5. 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
  6. creating VB code using advanced search criteria with multiple data validation lists?
    By Jonathan Bay in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-14-2011, 09:56 AM
  7. Search for multiple criteria then return result
    By ctrapper in forum Excel General
    Replies: 7
    Last Post: 03-15-2011, 09:03 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