+ Reply to Thread
Results 1 to 6 of 6

Function to match two values one in row, another in column

  1. #1
    Registered User
    Join Date
    02-18-2014
    Location
    london, england
    MS-Off Ver
    Excel 2010
    Posts
    57

    Function to match two values one in row, another in column

    Hi there!

    My puzzle is to list revisions of multiple documents by date. I have three columns with number, revision and date that it's been issued.

    With the help of pivot table, i sorted numbers in column and dates in a row and now need to show on what date what revision was issued.
    Unfortunately pivot table lists just number, not the revision name itself. so instead of "AB" or somthing, it gives only "1". which is not good enough

    It's not a terribly big table - only 38 dates and 2000-ish documents with multiple revisions.

    I guess that it would be two criteria function - if or vlookup and match?

    Please HELP!!!

    Lina

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,192

    Re: Function to match two values one in row, another in column

    Attach a sample workbook (not image).

    Make sure there is just enough data to demonstrate your need. 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 shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    02-18-2014
    Location
    london, england
    MS-Off Ver
    Excel 2010
    Posts
    57

    Post Re: Function to match two values one in row, another in column

    Sorry, forgot to attach the example.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,192

    Re: Function to match two values one in row, another in column

    In B2

    =IFERROR(INDEX('sorted data'!$C$2:$C$586,MATCH($A2&DATEVALUE(B$1),'sorted data'!$A$2:$A$586&'sorted data'!$B$2:$B$586,0)),"")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Copy across and down

  5. #5
    Registered User
    Join Date
    02-18-2014
    Location
    london, england
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: Function to match two values one in row, another in column

    WOW... Thank you very much! All is working. How did you learn all that?

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,192

    Re: Function to match two values one in row, another in column

    Most of what I now know about Excel has been learned via this forum by reading posts and then lots of practice!

    Equally there are many sites on the Internet providing Excel education, especially on YouTube.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Index / Match or other function to lookup 3 values and return column D
    By t83357 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-08-2016, 07:01 PM
  2. Index-match function to return multiple values in a row or column
    By bping in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-10-2015, 04:57 PM
  3. Replies: 1
    Last Post: 11-17-2014, 09:59 AM
  4. Match values from two columns having similar values in 1st column if not error
    By csunilkumar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-23-2014, 08:32 AM
  5. Replies: 3
    Last Post: 09-10-2014, 09:39 PM
  6. Replies: 2
    Last Post: 12-30-2013, 08:15 AM
  7. Replies: 1
    Last Post: 07-03-2013, 12:14 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