+ Reply to Thread
Results 1 to 10 of 10

find and index follow 2 conditions

  1. #1
    Registered User
    Join Date
    04-07-2015
    Location
    Vietnam
    MS-Off Ver
    Office 2013
    Posts
    89

    find and index follow 2 conditions

    Hi ALL
    I want to find and index data from sheet1 to sheet2 with 2 conditions fill over table
    So now I post my data in the forum, please help me!
    1. I take 2 condiontions: Messers and date
    2. I want to have a table follow header of sheet2 from Sheet1
    S/# (sheet2) into mă tắt (sheet1)
    4;5;6;7;8;9;10 = 11;12;13;14;15;16;17
    I attach file below:
    http://www.mediafire.com/download/bg...SD-invoice.rar

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: find and index follow 2 conditions

    Not all forummembers wants or are allowed to access external links.

    You get better help is you add a small example of your excel file, without confidential information on this forum.

    Please also add the expected result (manualy) in the file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    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
    44,063

    Re: find and index follow 2 conditions

    If you MUST use an external link, please save as Excel file not as rar.
    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

  4. #4
    Registered User
    Join Date
    04-07-2015
    Location
    Vietnam
    MS-Off Ver
    Office 2013
    Posts
    89

    Re: find and index follow 2 conditions

    Oh, I did not before.
    Ok, Now I post again my small data
    please open it and solve puzzles in that data.
    Attached Files Attached Files

  5. #5
    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
    44,063

    Re: find and index follow 2 conditions

    I am a little confused by your post. In the YELLOW cells in sheet 2, pleease write the column LETTER from Sheet1 that should be imported.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-07-2015
    Location
    Vietnam
    MS-Off Ver
    Office 2013
    Posts
    89

    Re: find and index follow 2 conditions

    Quote Originally Posted by Glenn Kennedy View Post
    I am a little confused by your post. In the YELLOW cells in sheet 2, pleease write the column LETTER from Sheet1 that should be imported.
    Thanks Glenn kennedy

  7. #7
    Registered User
    Join Date
    04-07-2015
    Location
    Vietnam
    MS-Off Ver
    Office 2013
    Posts
    89

    Re: find and index follow 2 conditions

    Quote Originally Posted by Glenn Kennedy View Post
    I am a little confused by your post. In the YELLOW cells in sheet 2, pleease write the column LETTER from Sheet1 that should be imported.
    Your formula is very good. But when I apply in my original file. It did not work.
    Maybe I don't understand your formula.
    Can you explain for me =IFERROR(INDEX(tbl_GiathanhSX[8],SMALL(INDEX(((tbl_GiathanhSX[6]<>$B$5)+(tbl_GiathanhSX[3]<>$L$4))*10^10+ROW(tbl_GiathanhSX[6]),0),ROW(1:1))),"")
    my mistake.
    I did not understand Row(1:1) and *10^10.
    Please explain it for me.

  8. #8
    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
    44,063

    Re: find and index follow 2 conditions

    Probably the problem is here

    tbl_GiathanhSX[8]

    you should have selected the whole coumn. See also the PM that I have sent to you.

  9. #9
    Registered User
    Join Date
    04-07-2015
    Location
    Vietnam
    MS-Off Ver
    Office 2013
    Posts
    89

    Re: find and index follow 2 conditions

    Quote Originally Posted by Glenn Kennedy View Post
    Probably the problem is here

    tbl_GiathanhSX[8]

    you should have selected the whole coumn. See also the PM that I have sent to you.
    Very nice! Glenn.
    I got it.
    I think I use table so when I do it, I also take limit by table number, so it is reason. It did not work.
    Thanks again.

  10. #10
    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
    44,063

    Re: find and index follow 2 conditions

    It WILL work on Tables. The INDEX phrase should cover the whole column, the others, just the data rows. the 10^10 is used to make a large numerical difference between the matching rows and the non-matching rows, to make it easy for SMALL to return them in the correct order. Row(1:1) is just a counter to return the 1st, 2nd, 3rd matching results, etc.

    if it is NOT working for you, please email it to me at the address on my PM to you.

+ 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] Find/copy/paste follow header of column
    By lamvienthien in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-13-2015, 02:31 AM
  2. [SOLVED] Index match with conditions
    By lejanco in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-26-2014, 10:16 AM
  3. Formula with INDEX and CONDITIONS
    By DianacGuerra in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-25-2014, 05:20 AM
  4. [SOLVED] INDEX with conditions
    By PJR in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-08-2014, 07:33 AM
  5. want to find a template for managing customer follow-up
    By Ed Maurina in forum Excel General
    Replies: 1
    Last Post: 01-05-2013, 06:19 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