+ Reply to Thread
Results 1 to 16 of 16

How to nest formula MATCH , ROW to display multiples criteria

  1. #1
    Registered User
    Join Date
    06-21-2015
    Location
    fort lauderdale, florida
    MS-Off Ver
    2007
    Posts
    77

    How to nest formula MATCH , ROW to display multiples criteria

    Hi,

    Note: using a table and lookup for sure i do the job, but i can't use a table because there are other purpose ahead.

    what i'm doing:
    i'm using excel helper to find row location of cell "I1" content in range A3:A20, The formula work perfect!
    Please Login or Register  to view this content.
    for example:
    Cell 'I1' have #100 as content, and in Range A3:A20 Is a number #100 located in row 18, then (where formula is copied) i got 18

    What i need to do:
    But now i would like to add more content to located row position of 'I1', 'K1', 'O1, 'P1', 'R1' in same Range A3:A20
    How can i do that?, perhaps i tried
    Please Login or Register  to view this content.
    and as return on first Row it display -52 (should display 0 )

    So that's why of my question : How to nest the formula?


    Thank you!

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

    Re: How to nest formula MATCH , ROW to display multiples criteria

    Try:
    =SUMPRODUCT(--(($A$3:$A$20=$I$1)+($A$3:$A$20=$K$1)+($A$3:$A$20=$O$1)+($A$3:$A$20=$P$1)+($A$3:$A$20=$R$1))*ROW($A$3:$A$20))
    Quang PT

  3. #3
    Registered User
    Join Date
    06-21-2015
    Location
    fort lauderdale, florida
    MS-Off Ver
    2007
    Posts
    77

    Re: How to nest formula MATCH , ROW to display multiples criteria

    Hi bebo02199,

    thanks for fast response.
    unfortunately the formula is not working.
    It display row 27 (content of cell 'I1') on row where is supposed to show 0, then when i copy the formula down it still show 27 on entire range.

    Franky

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: How to nest formula MATCH , ROW to display multiples criteria

    I think you need to upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like. I am having a hard time visualising what you have
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    06-21-2015
    Location
    fort lauderdale, florida
    MS-Off Ver
    2007
    Posts
    77

    Re: How to nest formula MATCH , ROW to display multiples criteria

    Hi FDIbbins,

    You're right, i thought the formula was no to hard to figure it out..


    please find sample file attached.
    Attached Files Attached Files

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: How to nest formula MATCH , ROW to display multiples criteria

    So what would a sample answer look like?

    You can find the row number by just using MATCH...
    =MATCH($I$2,A:A,0)

  7. #7
    Registered User
    Join Date
    06-21-2015
    Location
    fort lauderdale, florida
    MS-Off Ver
    2007
    Posts
    77

    Re: How to nest formula MATCH , ROW to display multiples criteria

    Hi Mr FDibbins,

    As
    Please Login or Register  to view this content.
    it work but only for I2, (as the other formula does)
    Please Login or Register  to view this content.
    But what i need to know is How do i nest any of these formula to include 'I2', 'K2', 'O2, 'P2', 'R2' (not only I2) to search and display (in Column U )the Row number of string
    of Range A3:A20?


    thanks
    Last edited by Franky alta; 12-13-2015 at 09:03 PM. Reason: changed from I1 to 12

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: How to nest formula MATCH , ROW to display multiples criteria

    Perhaps you missed this part?
    Quote Originally Posted by FDibbins View Post
    So what would a sample answer look like?

  9. #9
    Registered User
    Join Date
    06-21-2015
    Location
    fort lauderdale, florida
    MS-Off Ver
    2007
    Posts
    77

    Re: How to nest formula MATCH , ROW to display multiples criteria

    Hi FDibbins,

    The sample look like :

    Excel Helper Columns
    Result___Formula
    Num___ MATCH/ROW
    50________ 0
    35________ 0
    06________ 0
    44________ 6 <--- #44 located on Row 6
    07________ 0
    88________ 8 <--- #88 located on Row 8
    27________ 0
    72________ 10 <--- #72 located on Row 10
    22________ 0
    79________ 0
    23________ 0
    85________ 0
    80________ 15 <--- #88 located on Row 15
    90________ 0
    99________ 0
    100_______ 18 <--- #100 located on Row 18
    77________ 0
    70________ 0

    *No arrow/Text included

    Thanks!!
    Last edited by Franky alta; 12-13-2015 at 09:20 PM. Reason: added a note

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: How to nest formula MATCH , ROW to display multiples criteria

    yes, I can see that in your file. How do you arrive at that. Which part are you entering and which part are you trying to calc?
    What is =INDIRECT("$A$3") supposed to be doing? That could just as easily have been =A3

    TBH, I have no clue what you are trying to do here, so be gentle with me, explain what you are doing

  11. #11
    Registered User
    Join Date
    06-21-2015
    Location
    fort lauderdale, florida
    MS-Off Ver
    2007
    Posts
    77

    Re: How to nest formula MATCH , ROW to display multiples criteria

    Hi FDibbins,

    be gentle with me... lol

    where INDIRECT is a excel helper column,is just to indicated the row number belong to which number
    Column T have the same values of Column A trough INDIRECT.

    i know it can be easy to place A3 (than INDIRECT) But if you noticed, Column B have some values sorted most to least that belong to each cell of Column A,
    so both column A and B are filtered. that's why i used INDIRECT on column T when string change position up or down.

    thanks !

  12. #12
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: How to nest formula MATCH , ROW to display multiples criteria

    You stil have not explained what you want and how you would do it?

  13. #13
    Registered User
    Join Date
    06-21-2015
    Location
    fort lauderdale, florida
    MS-Off Ver
    2007
    Posts
    77

    Re: How to nest formula MATCH , ROW to display multiples criteria

    Hi,

    I need to return the Row position of string searched (cell I2, K2, O2, P2 and R2) on Column U (next to corresponding Number)
    Last edited by Franky alta; 12-13-2015 at 09:51 PM. Reason: changed to Row2 (from row 1) due that sample file explanation

  14. #14
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: How to nest formula MATCH , ROW to display multiples criteria

    Try this, no helpe column used...
    =IFERROR(MATCH(INDEX($I$2:$R$2,MATCH(A3,$I$2:$R$2,0)),A:A,0),"")
    copied down

  15. #15
    Registered User
    Join Date
    06-21-2015
    Location
    fort lauderdale, florida
    MS-Off Ver
    2007
    Posts
    77

    Re: How to nest formula MATCH , ROW to display multiples criteria

    Hi FDibbins,

    Yes, it work!!!

    Thank you !!!!!!!!!!!!!!

  16. #16
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: How to nest formula MATCH , ROW to display multiples criteria

    Im happy we got you where you wanted to be, thanks for the feedback

+ 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 identify multiples with 2 criteria
    By BG1983 in forum Excel General
    Replies: 1
    Last Post: 11-23-2015, 05:21 PM
  2. [SOLVED] How to nest INDEX and Match into IF statements?
    By neojihui in forum Excel General
    Replies: 5
    Last Post: 08-20-2015, 05:10 AM
  3. HOW TO ? - Having issue with INDEX / Match and to nest with IF
    By icmpl in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-27-2013, 07:35 AM
  4. Replies: 3
    Last Post: 07-26-2013, 06:46 PM
  5. Counting multiples with criteria
    By vancoservices in forum Excel General
    Replies: 16
    Last Post: 08-12-2010, 09:08 AM
  6. Display 'UNKNOWN' in a cell if the criteria doesn't match
    By famico78 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-27-2008, 09:55 AM
  7. Format a cell to display multiples of 7
    By Carl in forum Excel General
    Replies: 4
    Last Post: 08-10-2006, 02:10 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