Results 1 to 2 of 2

two similar match/search functions, only one works

Threaded View

Blaise815 two similar match/search... 09-30-2016, 05:14 PM
newdoverman Re: two similar match/search... 09-30-2016, 07:06 PM
  1. #1
    Registered User
    Join Date
    09-30-2016
    Location
    Philadelphia, PA
    MS-Off Ver
    2013
    Posts
    1

    Angry two similar match/search functions, only one works

    Hello,

    I have two functions:

    Function A:
    ={MATCH($AD$51 & 1,('AMUSA PRICING'!$D$165:$D$1159) & (--NOT(NOT(SEARCH($AD$50,'AMUSA PRICING'!$L$165:$L$1159)))),0)+164}

    Function B:
    ={MATCH($AD$51 & 1,('AMUSA PRICING'!$D$165:$D$1159) & (--NOT(NOT(SEARCH($AD$52,'AMUSA PRICING'!$M$165:$M$1159)))),0)+164}

    Only Function B returns an answer; I get a #N/A for Function A.

    I have tested out the following functions and they return answers with no errors:

    ={MATCH(1,(--NOT(NOT(SEARCH($AD$50,'AMUSA PRICING'!$L$165:$L$1159)))),0)+164}
    ={MATCH($AD$51,'AMUSA PRICING'!$D$165:$D$1159,0)+164}
    ={MATCH(1,(--NOT(NOT(SEARCH($AD$52,'AMUSA PRICING'!M165:M1159)))),0)+164}

    Any thoughts as to what might be causing this issue?

    What I am trying to do is combine a matching function with a searching function, which I seem to be able to do for Function B, but not Function A. The "D" column is for a horsepower value (always a whole number) so I can control entry via data validation. The "M" column contains data listing out different voltages with things like "208/460V" in a cell, so I want to be able to search "208" or "460" and return the same cell each time. Similarly, for the "L" column I have data that's a mixture of five different unique entries, but two entries contain similar terms and both should appear if the proper search term is entered (e.g. I search "V-Belt" and I get values from "V-belt" and "V-belt for special use"). I am able to edit everything, so if changing the way I am setting up my data columns is required instead of the formulas I can do that as well.

    Ultimately I'd like to be able to take some input values for HP (Column D), Voltage (Column M), and Drive Type (Column L) and come up with the row that fits all the criteria using a formula.
    Last edited by Blaise815; 09-30-2016 at 05:20 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] VBA which works similar to 'comments'
    By Keibri in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-27-2015, 03:48 PM
  2. [SOLVED] Index, Match and Search functions
    By rogelioperrett in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-13-2014, 10:14 AM
  3. [SOLVED] Using Match/Index/Search Functions
    By fl9805 in forum Excel General
    Replies: 2
    Last Post: 08-10-2014, 09:30 AM
  4. [SOLVED] Using Search and Lookup/Match/Index Functions
    By fl9805 in forum Excel General
    Replies: 14
    Last Post: 08-06-2014, 10:47 AM
  5. index/match search works in some cells, but not others?
    By pythonscript in forum Excel General
    Replies: 2
    Last Post: 07-06-2011, 08:32 PM
  6. Replies: 13
    Last Post: 05-13-2011, 07:53 AM
  7. Replies: 6
    Last Post: 02-27-2010, 05:29 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