+ Reply to Thread
Results 1 to 6 of 6

Adding greater than and less than to my search

  1. #1
    Registered User
    Join Date
    09-15-2017
    Location
    Salt Lake City
    MS-Off Ver
    2007
    Posts
    8

    Adding greater than and less than to my search

    Excel Help.JPG
    Let me describe what I'm doing and where my hangup is.
    I have a pin that goes on the end of a wire. I can type my pin # (yellow squares) and the gauge (AWG) of my wire (yellow squares) to get my Applicator (T-8302B in this example).

    The red box displays the applicator for the pin # and AWG entered. The code for the red box is typed below the red box. It has parenthesis.

    As you can see, pin 08-0151 has 2 applicators depending on the insulation outside diameter (OD). I have made columns for the range that the applicator will support.

    What do I have to add to the code to search for a number entered into the Insulation OD box to return the correct applicator? 0.055 for example.

    Thanks for any help or guidance.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Adding greater than and less than to my search

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Quang PT

  3. #3
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Adding greater than and less than to my search

    Try it now, dear localhero, Your formula right, you need to after type formula : Shift+Ctrl+Enter


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  4. #4
    Registered User
    Join Date
    09-15-2017
    Location
    Salt Lake City
    MS-Off Ver
    2007
    Posts
    8

    Re: Adding greater than and less than to my search

    The image was attached because I cannot seem to attach a file. The paperclip icon is blank when I click it.

    My code works for getting the applicator based on the Pin and AWG inputs, my problem is that I need a way to choose between the 08-0151 pins.
    How can I type a number in the Insulation OD (Yellow Box) and have it check that my OD falls in between the numbers in columns F & G?

    The code inside the red box is {=INDEX(C2:C5,MATCH(B8&E8,A2:A5&D2:D5,0))}

    How do I add a search for a number range to this code?

  5. #5
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Adding greater than and less than to my search

    Modify the formula as following:

    =INDEX($C$2:$C$5,MATCH(1,($A$2:$A$5=B8)*($D$2:$D$5=E8)*($F$2:$F$5<=G8)*($G$2:$G$5>=G8),0))

    array entered - to be confirmed by pressing CTRL+SHIFT+ENTER

    This is assuming you have the "Insulation OD" criteria in G8

  6. #6
    Registered User
    Join Date
    09-15-2017
    Location
    Salt Lake City
    MS-Off Ver
    2007
    Posts
    8

    Re: Adding greater than and less than to my search

    YESSSSSSS!!!!!!!!
    Thanks you. That did it.

+ 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. [SOLVED] Adding to cells greater than 0
    By b00 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-25-2017, 06:40 PM
  2. Replies: 4
    Last Post: 12-02-2014, 05:17 PM
  3. search just greater value
    By Gaurav_92 in forum Excel General
    Replies: 3
    Last Post: 06-02-2014, 08:26 AM
  4. Adding values until one cell is greater than the other
    By 307Milkman in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-22-2013, 06:01 PM
  5. Replies: 5
    Last Post: 05-04-2012, 06:39 PM
  6. Search for greater than #
    By ricoandquesa in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 11-12-2007, 09:30 PM
  7. adding equal/greater than into formula
    By rvnwdr in forum Excel General
    Replies: 2
    Last Post: 09-23-2005, 06:05 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