+ Reply to Thread
Results 1 to 4 of 4

Search /match/ IF formula?

  1. #1
    Registered User
    Join Date
    11-01-2016
    Location
    United States
    MS-Off Ver
    2013
    Posts
    9

    Exclamation Search /match/ IF formula?

    I'm looking for a formula that will save me a ton of time weekly on my reports. what I would like it to do is search in seq. to match A1&B1 from sheet1 to sheet two in the same workbook. Then return C1 from sheet1, to C1 in sheet2.
    ex:

    =IF(Origin+Dest Sheet1) = Origin+Dest Sheet2) return(Rate Sheet2) , Rate Sheet1.

    Thanks in advance for the help!

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Search /match/ IF formula?

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    11-01-2016
    Location
    United States
    MS-Off Ver
    2013
    Posts
    9

    Re: Search /match/ IF formula?

    Ex: attached.
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Search /match/ IF formula?

    One way, using this array formula:

    =IFERROR(INDEX(Table1[Rate2],MATCH(1,('Import Needed'!A5=Table1[Orig])*('Import Needed'!B5=Table1[Dest]),0)),"")

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    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. Formula to search cells match contents
    By skyblue4 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-28-2016, 11:43 AM
  2. [SOLVED] Working INDEX MATCH with SEARCH, but I need to add another MATCH to the formula!
    By DaveBre in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-11-2014, 01:03 AM
  3. Looking for a sum,search and match formula
    By excel2425 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-12-2013, 04:30 PM
  4. Formula to search, match value, search again, return SUM
    By Russ Fuquay in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-26-2013, 11:01 PM
  5. [SOLVED] Search and Match Formula Help
    By ScabbyDog in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-19-2013, 02:31 PM
  6. Formula to search and match data from using two criteria
    By Joe O Ceadaigh in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-30-2012, 02:08 PM
  7. Match or Search formula
    By rlkerr in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-19-2007, 11:59 AM

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