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
0
votes
0 answers

Find match in second column using possible non-unique value in first column

I have two columns of data: SubID (Column A) and Gender (Column B). The SubID can be listed several times in Column A. I would like to create a new column (Column C) that lists the Gender with every instance that the SubID occurs in Column A. To…
0
votes
2 answers

Match criteria between two tables to find maximum date within a list

I have 2 tables of data, one is only 5 columns and the second is 100s of columns, but in simplistic terms they have the formatting below. Both are hundreds of rows long. Table 1 (is sorted ascending, all columns) A B C D …
NathanC
  • 23
  • 5
0
votes
2 answers

Return individual cell values from a wildcard search against a range into individual cells using Excel

so I've been trying to work out this problem in Excel (Office 2016, Mac El Capitan, latest updates installed) but have failed so far. In essence, I would like to search a range of cells (in this case A2:A9) for a partial keyword (A2). Hence all…
user2238144
  • 11
  • 1
  • 2
0
votes
0 answers

pulling multiple modules to fulfill a total criteria

I currently have a INDEX+MATCH solution in place that I use to pull out matching criterias.. here is the current setup that I work with :- Have an excel with two sheets, - Data sheet contains an inventory master of sorts where.. we can see each item…
0
votes
1 answer

Excel refrencing array with adress and indirect from another work sheet

As part of a formula in Excel I am trying to create a reference to an array which is located on Another work sheet. In order to do so I am trying to combine INDIRECT and ADDRESS in this way: INDIRECT(ADDRESS(MATCH('current sheet'!E87;'sheet…
0
votes
1 answer

Excel - Match cell values in 2 separate columns and paste a different value if match

=INDEX(C:C,MATCH(A1,B:B,0)) The above formula is being pasted in D1. I need it to return the C cell that on the same row as the matching A and B fields: A B C D 77 22 MO91117 88 88 MO91337 99 99 …
DBoe
  • 28
  • 3
0
votes
2 answers

Excel MATCH Function Error

I am trying to find a value containing "~" using the MATCH function, and it's returning a #N/A error. See the below example. Cell B1 returns #N/A: A B 1 ~toto =MATCH(A1,A2:A3,0) 2 ~toto 3 ~titi I used the RIGHT function to…
Pierre
  • 1
  • 1
  • 3
0
votes
0 answers

Excel Match not matching

To ensure the correct line items are included in the reconciliation, I created a MATCH function (as there is no other unique identifier in both files/tabs). As there are rounding variances of +/- 0.01, I also created columns if it is unable to match…
Sammie
  • 1
  • 1
0
votes
1 answer

Excel : Match Function is Unknown (Not Even Found in Function Library)

My problem is that the function MATCH is not recognized in Excel (I'm using Microsoft Excel 2010). The Error: When I try to evaluate the formula, I get this (this proves that the MATCH function is not recognized): How can I solve this problem?
Anis
  • 15
  • 4
0
votes
3 answers

Excel Match If Greater than Zero

I'm working in excel and i want to use the formula MATCH to retrieve the row of each number greater than zero in a column. For example, having the next column Number 0 0 6 1 0 8 0 0 0 0 10 I want to obtain in other column…
Xhoan
  • 310
  • 2
  • 5
  • 13
0
votes
1 answer

MS Excel - Run formula or save previous value based on random row selection

I have an Excel sheet for which I am selecting random rows based on bands of numbers. My initial goal was to select a row and save the time at which it was selected by the random number generator. However, due to recalculation and volatility of the…
0
votes
1 answer

Index match match function issue

I am using INDEX MATCH MATCH to perform a matrix lookup but the following formula returns "#N/A": =INDEX(Table1,match(Table2[[#Headers],[UK],Table1[Location],0),MATCH([@DATE],Table1[#Headers],0)) Issue seems to be that the dates in my Table1 Header…
Terry
  • 3
  • 1
0
votes
1 answer

Excel Match not returning correct row number

As you can see from the image my match formula is returning the value of 10. I expected it to return 7, as it is 7 rows down. Why is this happening? Excel Screenshot
bensd
  • 47
  • 2
  • 7
0
votes
1 answer

In excel returning whole column in the middle of a formula

I am currently using an index/match formula in Excel =index(P:P,Match(1,B:B="text")*(F:F="text2"),0)) Instead of knowing in advance that the data is in column P:P, can this be set up so the formula will find the right column from its heading? For…
0
votes
0 answers

Index Match Excel Multiple Tabs

I am using an index match formula to find data in my workbook. The issue i have is that i need this formula to run through a series of tabs ie: '5-13-2:5-21-3'! this is my current formula: =INDEX('C. 5-13-2'!C8:C8,MATCH("Fair - DPS Actionable",'C.…
westman2222
  • 663
  • 1
  • 12
  • 30