+ Reply to Thread
Results 1 to 9 of 9

Need to find the intersection within a table but output a cell within the same column

Hybrid View

  1. #1
    Registered User
    Join Date
    09-20-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    3

    Need to find the intersection within a table but output a cell within the same column

    Size of Tubing 16 21 27 35 41 53 63 78 91 103 116 129 155
    AWG 14 12 22 36 62 85 140 200 200 200 200 200 200 200
    AWG 12 9 16 26 45 62 102 145 200 200 200 200 200 200
    AWG 10 5 10 16 28 38 63 90 139 187 200 200 200 200
    AWG 8 3 5 9 16 22 36 52 80 100 138 173 200 200

    Basically need to find the "Size of Tubing" based on "AWG #" (input 1) and another number within the body of the table. I need to find the intersection in the table but then output the intersection of the same column and the first row.

    Example. If I input AWG 12 and input 16 how do i get the output 21?

    Please help.
    Last edited by laona; 09-20-2014 at 09:27 AM. Reason: solved

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Need to find the intersection within a table but output a cell within the same column

    Hi laona,
    Welcome to the Forum.

    Please find the attached sheet to see if this is what you are trying to achieve.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    09-20-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    3

    Re: Need to find the intersection within a table but output a cell within the same column

    Sktneer,

    Formula worked. I was on the right track but was messing up the orders. Had to rearrange my table and change match type to -1 for greater than but other than that it worked like a charm.

    Thank you!

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Need to find the intersection within a table but output a cell within the same column

    Try this...

    Data Range
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    1
    Size
    16
    21
    27
    35
    41
    53
    63
    78
    91
    103
    116
    129
    155
    2
    AWG 14
    12
    22
    36
    62
    85
    140
    200
    200
    200
    200
    200
    200
    200
    3
    AWG 12
    9
    16
    26
    45
    62
    102
    145
    200
    200
    200
    200
    200
    200
    4
    AWG 10
    5
    10
    16
    28
    38
    63
    90
    139
    187
    200
    200
    200
    200
    5
    AWG 8
    3
    5
    9
    16
    22
    36
    52
    80
    100
    138
    173
    200
    200
    6
    7
    8
    AWG 12
    16
    21


    This formula entered in C8:

    =INDEX(B1:N1,MATCH(B8,INDEX(B2:N5,MATCH(A8,A2:A5,0),0),0))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    09-20-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    3

    Re: Need to find the intersection within a table but output a cell within the same column

    Tony,

    Thanks for your help. Sktneer had the exact same idea. It works. Appreciate the help!

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Need to find the intersection within a table but output a cell within the same column

    Quote Originally Posted by laona View Post
    Tony,

    Thanks for your help. Sktneer had the exact same idea. It works. Appreciate the help!
    You're welcome!

    I think it's best to post any solutions in the reply so that EVERYONE can see it. People that are unable to download files won't know what the solution is.

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Need to find the intersection within a table but output a cell within the same column

    @Tony Valko

    So sorry. As the OP didn't upload the sheet and I created one for him to show that how this can be achieved and also I was not aware of the sheet layout of OP's original workbook, that's why I thought it was useless to write the formula in the reply. But now I think there was no harm in sharing the formula along with the attached sheet.
    I will definitely take care of this in future.

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Need to find the intersection within a table but output a cell within the same column

    Quote Originally Posted by sktneer View Post
    @Tony Valko

    So sorry. As the OP didn't upload the sheet and I created one for him to show that how this can be achieved and also I was not aware of the sheet layout of OP's original workbook, that's why I thought it was useless to write the formula in the reply. But now I think there was no harm in sharing the formula along with the attached sheet.
    I will definitely take care of this in future.
    Related...

    https://www.excelforum.com/showthread.php?p=3325291

  9. #9
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Need to find the intersection within a table but output a cell within the same column

    @ laona
    You're welcome. Glad I could help.

+ 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. Replies: 0
    Last Post: 07-28-2013, 05:40 PM
  2. [SOLVED] Search formula to find intersection of column and row
    By parky58 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-15-2012, 04:01 PM
  3. Nested Formula to find intersection in table
    By RTE in forum Excel General
    Replies: 1
    Last Post: 06-09-2011, 10:01 AM
  4. How do I find a value at the intersection of a column and a row?
    By brianalucas in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-01-2010, 08:02 PM
  5. Replies: 3
    Last Post: 07-17-2007, 09:43 AM

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