+ Reply to Thread
Results 1 to 3 of 3

using the MATCH function to get a row index and thus retrieve the cell contents in the row

  1. #1
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Dunedin, New Zealand
    MS-Off Ver
    Excel 2016
    Posts
    105

    using the MATCH function to get a row index and thus retrieve the cell contents in the row

    Hi

    I am using MATCH(A2, worksheet!H;H, 0) to retrieve the row index from the 'worksheet' using the value in A2 and seeking the first occurance

    All good, so far

    but.....I am unclear how to retrieve the contents of another cell in that very row in 'worksheet'

    Bob M

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: using the MATCH function to get a row index and thus retrieve the cell contents in the

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    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
    53,044

    Re: using the MATCH function to get a row index and thus retrieve the cell contents in the

    You need to include a 2nd MATCH, and put them both inside INDEX. Something like this...

    =INDEX(worksheet!A;H,MATCH(A2, worksheet!H;H, 0),match(B2,worksheet!1:1,0))
    where...
    A;H is the full range you are working with
    B2 = the column you need to find
    worksheet!1:1 is the row, on WH where the headings are.

    Adjust the ranges as needed

    when all else fails, upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    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

+ 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] index match for table and partial cell contents
    By surk in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-12-2016, 01:53 PM
  2. [SOLVED] Using the MATCH-INDEX function to retrieve data.
    By APosada2 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-11-2015, 08:02 AM
  3. Index Match when value I want to retrieve is a Hyperlinked Cell?
    By AntiPivotTable in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-16-2014, 04:06 PM
  4. [SOLVED] VBA to perform an index/match function to retrieve data
    By mji006 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-07-2014, 04:23 PM
  5. Replies: 9
    Last Post: 11-07-2014, 07:10 AM
  6. Formula for cell contents using 'index' and 'match'?
    By boostin06evo in forum Excel General
    Replies: 0
    Last Post: 08-01-2011, 03:28 PM
  7. Replies: 7
    Last Post: 03-26-2009, 12:13 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