+ Reply to Thread
Results 1 to 8 of 8

LookUp Text by two criterias

  1. #1
    Registered User
    Join Date
    03-25-2015
    Location
    Bucharest, Romania
    MS-Off Ver
    Office 2013
    Posts
    43

    LookUp Text by two criterias

    Hello everyone,

    I am looking for a formula that will return a text by checking a table that is made of two criterias for example:

    Table 1:
    Number1 Number2 Number3 Number4
    Date1 Text1 Text2 Text3 Text4
    Date2 Text5 Text6 Text7 Text8
    Date3 Text9 Text10 Text11 Text12

    and i have another table that provides the following

    Number2
    Date3
    ?

    The "?" should be "Text10"

    Can you please help?

    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    01-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    651

    Re: LookUp Text by two criterias

    this should work.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    (untested)

    if it doesn't upload a sample workbook.
    Hope I could help - if your post has been solved don't forget to mark it as such.

    Clicking the * below is a great way to say thanks!

    "Drowning in 10 feet of water isn?t any different than drowning in a million feet. And if you can swim, it doesn?t matter how deep the ocean is. At some level, once you realize you?re in water that?s too deep to stand, you have to have a very different approach," - Joi Ito

  3. #3
    Forum Contributor
    Join Date
    06-21-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    191

    Re: LookUp Text by two criterias

    Assuming your table is A1:E4, and the match criteria is G1 and G2, then this would go in G3:
    =INDEX(A1:E4,MATCH(G2,A1:E4,0),MATCH(G1,A1:E4,0))

  4. #4
    Registered User
    Join Date
    03-25-2015
    Location
    Bucharest, Romania
    MS-Off Ver
    Office 2013
    Posts
    43

    Re: LookUp Text by two criterias

    Hello Simarui,

    Thank you for your reply, i tried using that formula but with no success.

    You can find attached the document i am currently working on

    - Sheet 1 - Teams by number by date
    - Sheet 2 - Placement of the members of each team

    By selecting a date from sheet2 all of the desks to be automatically populated with data from sheet1 depending on the desk and the date

    Thanks.
    Attached Files Attached Files
    Last edited by dLhx; 03-25-2015 at 04:36 PM.

  5. #5
    Forum Contributor
    Join Date
    06-21-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    191

    Re: LookUp Text by two criterias

    In E6:
    =INDEX(Sheet1!$A$1:$BB$112,MATCH(Sheet2!D6,Sheet1!$A$1:$A$112,0),MATCH(Sheet2!$E$2,Sheet1!$A$1:$BB$1,0))

    In F6 you need to change Sheet2!D6 to Sheet2!G6. Then you can copy and paste those two cells all over.

  6. #6
    Registered User
    Join Date
    03-25-2015
    Location
    Bucharest, Romania
    MS-Off Ver
    Office 2013
    Posts
    43

    Re: LookUp Text by two criterias

    Hello soberguy,

    I tried doing that but it still doesn`t work.

    Do i need to do something special for this formula to work?

    Thanks

  7. #7
    Forum Contributor
    Join Date
    06-21-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    191

    Re: LookUp Text by two criterias

    Change the format of your cell where you enter it from text to general.

    Also, there's no need for a PM. No, I do not Skype.

  8. #8
    Registered User
    Join Date
    03-25-2015
    Location
    Bucharest, Romania
    MS-Off Ver
    Office 2013
    Posts
    43

    Re: LookUp Text by two criterias

    It is working now.

    Thank you very much. Added Rep

+ 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] Lookup for 2 criterias in 3 sheets.
    By thilag in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-26-2015, 11:30 PM
  2. Lookup with 2 different criterias
    By frostie77 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-13-2012, 10:14 AM
  3. How to use lookup function with multiple criterias?
    By surfol in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-27-2009, 03:43 AM
  4. 2 Criterias, 2 Sheets lookup?
    By banquo_ws in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-24-2007, 01:35 PM
  5. [SOLVED] Lookup with 3 criterias
    By Ginger in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-30-2005, 05:06 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