+ Reply to Thread
Results 1 to 9 of 9

Index: cross reference a row & column to return a value

  1. #1
    Registered User
    Join Date
    06-13-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    6

    Index: cross reference a row & column to return a value

    Hello,

    I am trying to figure out a formula that will cross reference a number across a row & column.

    Please note that the example used was created to keep this as simple as possible.

    I am attempting to use an index function to perform the cross reference, however I get an error in the column portion.
    • Did not use concatenates because my column header has over 20 variables I need to check against
    • I would hope to search across row 5 to match the "BLUE".




    =INDEX(LIST,MATCH(A11,A1:A6,0),HELP)

    FORUM QUESTION.PNG
    Last edited by genechem; 01-30-2015 at 05:40 PM.

  2. #2
    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,929

    Re: Index: cross reference a row & column to return a value

    Hi, welcome to the forum

    Pictures often dont come through properly, and we cant really work with them anyway Please upload a sample workbook for us to play with.

    Having said that, maybe this wull help a bit?
    INDEX() syntax...
    =index(range,row number,column)
    So if you know the row and column...
    =INDEX(A1:J10,2,5)
    this will return the contents of teh cell and the intersection of row 2 and column E

    To fone the row (or column) number, you would (often) use =MATCH()
    =match(criteria-to-find,column-to-search-in,0) 0 returns exact match........for the row number
    =MATCH(criteria-to-find,row-to-search-in,0)...........for teh column number
    soooo that gives us...
    =index(range, match(criteria-to-find,column-to-search-in,0), match(criteria-to-find,row-to-search-in,0)
    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

  3. #3
    Registered User
    Join Date
    06-13-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Index: cross reference a row & column to return a value

    Hi FDibbins,

    Thanks for the welcome and quick response! This may sound foolish, but where is the upload button? I found the info below in the forum rules but do not see a paperclip?

    Post a WORKBOOK. Nobody wants to type data from a picture or paste text from your post into a spreadsheet as a prelude to helping. To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    I have used INDEX MATCH functions in the past. My challenges with this particular instance is different because the column field is dynamic, thus I cannot use a static column reference.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I am currently searching for a way to upload this using excelforum.com, sorry for the delay.

  4. #4
    Registered User
    Join Date
    06-13-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Index: cross reference a row & column to return a value

    Okay, I have the file uploaded now

    Best way to put it is that I am trying to do something like:

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


    Ideally, like to search across row 5 which is the return value for:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by genechem; 01-30-2015 at 06:33 PM. Reason: Adding detail

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

    Re: Index: cross reference a row & column to return a value

    OK so you want to look down the # column for 13213 and look across til it finds BLUE - and then return what?

  6. #6
    Registered User
    Join Date
    06-13-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Index: cross reference a row & column to return a value

    I would like the formula to look across until it finds "BLUE" then return that value without using a specific column reference like C:C.

    The formula will be used to validate data before being uploaded into our system.

  7. #7
    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,929

    Re: Index: cross reference a row & column to return a value

    OK, but how would it know to find BLUE? What exaqctly are you trying to do here?

  8. #8
    Registered User
    Join Date
    06-13-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Index: cross reference a row & column to return a value

    I am hoping it would be able to find the "BLUE" entry in C5 by using some type of row reference like 5:5.

    I have a list of 3,717 leases and each lease has anywhere from 1-20 tanks on them. I am performing a cross reference to match the lease & tanks that a contracted company sends in to what we have in our database to ensure that it matches and uploads correctly.

  9. #9
    Registered User
    Join Date
    06-13-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Index: cross reference a row & column to return a value

    I ended up solving this on my business spreadsheet with a nested index match formula.
    Last edited by genechem; 02-02-2015 at 06:27 PM.

+ 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] Cross Reference two columns and return common values?
    By chewedbacca in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-27-2013, 12:29 PM
  2. Cross-reference 3 lists to return all available employees
    By jabyird2569 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-10-2013, 12:26 AM
  3. Replies: 5
    Last Post: 07-02-2012, 07:01 AM
  4. [SOLVED] Best way to cross-reference a numberic index
    By Joah in forum Excel General
    Replies: 4
    Last Post: 06-14-2012, 11:08 AM

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