Questions tagged [excel-match]

MATCH is an Excel function for searching for a specified value in a range of cells and it returns the relative position of the matched value in the given range.

Definition:

MATCH is a Microsoft Excel function which searches for the lookup_value from the lookup_array (a range of cells) based on the match_type.

It returns the relative position of the first matched value in the given range, and if no match is found, it returns #N/A.

Syntax:

MATCH(lookup_value, lookup_array, [match_type])

Where:

  • lookup_value (Required) - The value to search and match in the given array.
  • lookup_array (Required) - The array or range of cells to search for the given value.
  • match_type (Optional) - The type of match to perform on the given array. 1 is the default value. There are three possible values:
    • 1 - To find the position of largest value that is less than or equal to the lookup_value. The lookup_array must be sorted in ascending order.
    • 0 - To find the position of the first value that is equal to the lookup_value. The lookup_array can be in any order.
    • -1 - To find the position of the smallest value that is greater than or equal to the lookup_value. The lookup_array must be sorted in descending order.

Learn More:

136 questions
1
vote
2 answers

Unpredictable output from Excel Index-Match

I'm trying to do what should be a simple enough task: find the index of the last cell in an array that matches a certain value. I am using a MATCH-INDEX function combination that is giving me incorrect, inconsistent results. I can't figure out the…
Luke
  • 11
  • 1
1
vote
1 answer

Combining SUM and INDEX MATCH

I am using the following formula to grab a number from each PivotTable and sum the result. =SUM(Index(A1,Match(D1,G1:G50,0)),(Index(W1,Match(Y1,Z1:Z50,0)) The formula is then copied down to match the name in A1 down to A100. The problem is that in…
SFro
  • 131
  • 1
  • 13
1
vote
4 answers

How to map the sheet 1 data with sheet 2 with help of Unique ID?

I have created an excel sheet with the attributes ID, NAME in one sheet. SHEET 1: In another sheet, I have names in a random manner and they have to be mapped to their correct ID with the reference from SHEET-1 data. SHEET 2: The highlighted…
Mr.Robot
  • 489
  • 2
  • 8
  • 17
1
vote
1 answer

MATCH function does not work with words that have wildcards (*)

I am trying to match HA24BB-3-1LL with HA24B*-3-1** in Excel. Another example is matching HA24FB-3-1LL with HA24F*-3-1**. However, when I performed the regular match function, these could not be matched. col A col B 1 HA24BB-3-1LL …
Grinsummer
  • 109
  • 1
  • 12
1
vote
2 answers

Two column lookup in table array using INDEX and MATCH

I would like excel to display the value from table array which has two matching cells com_cd and div_cd using INDEX and MATCH. I have tried the following formula but it did not work. =INDEX(K9:K53,MATCH(K3,I9:I53,0),MATCH(K4,J9:J53,0)) Here is a…
Iftekhar
  • 335
  • 2
  • 11
  • 26
1
vote
2 answers

Match current date with selection and return cell address

I have a row containing dates: 05/10/15 06/10/15 07/10/15 08/10/15 09/10/15 10/10/15 11/10/15 D3:J3 I have a cell (D5) with the following value: =NOW() //Returns "07/10/15" //The cell is formatted to exclude time. I have this…
brian4342
  • 1,265
  • 8
  • 33
  • 69
1
vote
1 answer

MATCH-based Excel (2007) array formula not iterating over the desired array

I have a long table in excel that maps speed to a list of angles. The angles are 16-bit integers, so [-180°,180) corresponds to [-32768,32768).      I'm trying to create a reverse map from this data (List of speeds for each angle).      In order to…
TylerKehne
  • 361
  • 2
  • 12
1
vote
1 answer

Combination of several INDEX and MATCH functions

I'm currently working on an evaluation excel sheet for forceplate data (showing vertical force development in jumps over time) and stumbled upon a problem that I couldn't manage to fix for the past days. Basically there are two main columns over ~…
Schmendlow
  • 21
  • 3
  • 4
1
vote
4 answers

Can MATCH function in an array formula to return multiple matches?

I tried to use the MATCH function in an array formula to return multiple matches (by default it only returns the first match). However, this doesn't seem to work. How can I solve this problem without a complex, unreadable formula?
MgSam
  • 12,139
  • 19
  • 64
  • 95
1
vote
1 answer

pulling and comparing dates in excel

For example: On my first tab Last visit, I have columns, Customer Name, Customer # and Scheduled date On my second tab, All visits I have Customer Name, Customer #, and Visit Dates. Now, this tab shows all of the visit dates (even the last one that…
Cole Coen
  • 11
  • 3
1
vote
2 answers

Index & Match formula does not show the repeated entry with different value

I have an excel spreadsheet - downloadable here contains some columns as following : Column A : Companies' Names Column B : Project's Name When I try to filter my data using combo box to show only companies in specific area and use INDEX and MATCH…
A Elsheikh
  • 89
  • 1
  • 2
  • 11
1
vote
2 answers

Excel Match() On Multiple Columns

I have two Excel Worksheets, like worksheet1... FirstName LastName BLEVINS BARBARA BLEVINS CAROLYN BLEVINS CAROLYN BLEVINS EMILY BLEVINS JEANETTE BLEVINS OLINKA BLEVINS OLINKA BLEVINS REBEKAH BLEVINS REBEKAH BLEVINS …
doubleJ
  • 1,190
  • 1
  • 16
  • 29
1
vote
1 answer

VLOOKUP together with MATCH

I have the below lookup condition but can't seem to get it working. =VLOOKUP(A1,'Raw Data'!A1:A3,MATCH('Submitted Data'!B1,'Submitted Data'!A1:B1)) I'm trying to pull in the B column value from Submitted Data into the B column in Raw Data based of…
llanato
  • 2,508
  • 6
  • 37
  • 59
1
vote
1 answer

Matching two columns and returning a third with data in between

I have tried using VLOOKUP, INDEX, and IF statements but none have quite worked. What I want to do is match serial numbers and return a stock number, but there is data between the columns that I need to keep. Also there are only 60 serials that I am…
1
vote
2 answers

Index/Match multiple columns in Excel

I have 2 sheets. Sheet 1 is set up similarly to: Keyword Domain Rank A Z 1 B Z 2 C Z 3 D Y 10 E Y 15 B Y 20 And sheet 2 is set up like: Keyword (Domain Z) …
Kurt
  • 1,868
  • 3
  • 21
  • 42