+ Reply to Thread
Results 1 to 13 of 13

MATCH a range with a column

  1. #1
    Forum Contributor
    Join Date
    10-18-2019
    Location
    Mumbai
    MS-Off Ver
    OFFICE 2010
    Posts
    427

    Arrow MATCH a range with a column

    My 2 input ranges are:
    C3:Q6 & T10:T14 generating positive values. These ranges are non-contiguous (as shown).

    In my output range, C8:Q8, I want to get 10 where the corresponding column of C3:Q6 matches EXACTLY with T10:T14.


    Formula required for P10 & P11
    How to accomplish? Thanks in advance.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    01-09-2022
    Location
    Monterrey Mexico
    MS-Off Ver
    office 365
    Posts
    13

    Re: MATCH a range with a column

    Sorry, Iīm new to the forum... I still donīt know how to attach an excel file.

    In cell C10 copy and paste this formula. I think this should work.

    =IF(SUM((SORT(C3:C7)=SORT($T$10:$T$14))*1)=5,10,0)

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,910

    Re: MATCH a range with a column

    Maybe like this?

    =IF(AGGREGATE(15,6,COUNTIF($T$10:$T$14,C3:C6),1)=0,0,10)

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,416

    Re: MATCH a range with a column

    Cell C8 formula , Drag right

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


    OR

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by wk9128; 01-11-2022 at 05:31 AM.

  5. #5
    Forum Contributor
    Join Date
    10-18-2019
    Location
    Mumbai
    MS-Off Ver
    OFFICE 2010
    Posts
    427

    Re: MATCH a range with a column

    Your formula works. Thanks

  6. #6
    Forum Contributor
    Join Date
    10-18-2019
    Location
    Mumbai
    MS-Off Ver
    OFFICE 2010
    Posts
    427

    Re: MATCH a range with a column

    Both formula did not worked!!

  7. #7
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,416

    Re: MATCH a range with a column

    @bittubadri You're Welcome. Glad to help . Thank You for the feedback

  8. #8
    Forum Contributor
    Join Date
    10-18-2019
    Location
    Mumbai
    MS-Off Ver
    OFFICE 2010
    Posts
    427

    Re: MATCH a range with a column

    Some modification in the formula is needed.
    I inserted 1 row between 2nd & 3rd row. Formula returns wrong answer (0). It should be 10. Please see the attached file.
    Modified formula needed.
    Attached Files Attached Files

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,559

    Re: MATCH a range with a column

    Try the following array entered formula** in cell I9:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    **Array entered formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  10. #10
    Forum Contributor
    Join Date
    10-18-2019
    Location
    Mumbai
    MS-Off Ver
    OFFICE 2010
    Posts
    427

    Re: MATCH a range with a column

    When formula is entered in C9, the answer given is 10 (wrong). It should be 0 since C3:C7 does not match with T11:T15.
    However, I9=10 (correct) since I3:I7 matches with T11:T15
    Some rectification in the formula needed.
    Attached Files Attached Files

  11. #11
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,559

    Re: MATCH a range with a column

    Paste the following into cell C9 and drag the fill handle over to cell Q9:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.

  12. #12
    Forum Contributor
    Join Date
    10-18-2019
    Location
    Mumbai
    MS-Off Ver
    OFFICE 2010
    Posts
    427

    Re: MATCH a range with a column

    Thanks JeteMc for solving.....you made it very simple.....I was going other way for the solution.... Thanks I learnt something from you.

  13. #13
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,559

    Re: MATCH a range with a column

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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] Need Help with getting MAX Value in range and Match the column Title.
    By mudassardp in forum Excel General
    Replies: 6
    Last Post: 12-20-2020, 04:32 AM
  2. [SOLVED] Finding last column of match value in range
    By yuvalmoshe in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-06-2020, 06:44 PM
  3. VBA: Using match with one column from range
    By Mpmcderm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-19-2017, 07:59 PM
  4. VBA Excel: Copy/Paste a column range to another sheet IF column headers match
    By hwatson86 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 06-07-2016, 08:05 AM
  5. [SOLVED] Match 4 cells along a row against a four column range
    By Journeyman3000 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-24-2015, 06:43 PM
  6. [SOLVED] Dynamic Name Range using Offset&Match with Match based off a different column
    By mdlpjr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-16-2013, 06:33 PM
  7. Match values in a range with another range and copy the adjacent column
    By xelmac in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-15-2012, 01:42 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