# Index Match Between Two Sheets In Matrix?

Jul 16, 2014

Question about what I think should be accomplished using an index match.

On Sheet1 I have values in O3:O132.

I want to find these values on Sheet2 in I2:I197

Then I want to return the matching value with column AL's corresponding value which are also in row 1 in columns J1:BM1 on Sheet2.

## Index Match Ascend Between 2 Sheets

Jul 7, 2014

I'm not finding much on INDEX MATCH ASCEND BETWEEN 2 SHEETS and 2 COLUMNS, other then tediously do each pair of columns VBA Asecend, which is what I am trying to avoid.

Sheet1 Column A2:A26 and Sheet1 Column B2:B26 is the source

Sheet2 Column A2:A26 and Sheet2 Column B2:B26 is the the Ascended of Sheet 1

The Reference to Ascend values is from Sheet 1 B2:B26, but must match the same in Column A

So if A2: A26 is, 1,2,3,4,5....and

B2:B26 is and asortment of negative, 0 and positive values, then the lowest value is to be shown first on Sheet2.

-----------
Sheet 1
A B
------------
1. 10.
2. 5
3. 0
4. -15
5. 3

then Sheet 2's INDEX is:

-----------
Sheet 2
A B
------------
4. -15
3. 0
5. 3
2. 5
1. 10

If blank, show "",

## INDEX And MATCH With Same Table On Multiple Sheets?

Aug 25, 2014

I have a workbook (workbook1) with multiple sheets (sheet a, sheet b, sheet c), all with the same column headings. One of the columns in each sheet of this workbook contains an invoice number.

In a different workbook(workbook2) I need to find the invoice details based on sheets a-c from workbook1.

So, in workbook2 I can input the invoice number in column a and the rest of the details will be pulled through based on whichever sheet (a-c) from workbook1 that the details are in.

Workbook1 is normally closed (from reading others posts, the INDIRECT function might do what I need but would not work with workbook1 closed)

Working with just 1 sheet in workbook 1, the following formula works perfectly:

=INDEX('[workbook1.xlsx]sheet a'!\$V:\$V,MATCH(A2,'[workbook1.xlsx]sheet a'!\$W:\$W,0))

How to do the same, but looking in sheet a, b and c at the same time for the answer?

## Index And Match Multiple Columns On Two Different Sheets?

Mar 13, 2014

I've got a problem where I am trying to return a value if two criteria from one table match two from another.

I have included a example of my issue.

=INDEX(Time!D:D,MATCH(Data!A2,Time!A:A,0)*AND(MATCH(Data!C2,Time!C:C,0)))

I have had a look around lots of forums but cant get my head around what is wrong with my formula

## How To Use Index Match To Search For Value From Multiple Sheets

Sep 3, 2012

I have a set of values in column A in sheet 1 and a compilation of some of the same set of data in column A in sheet 2. Using the index match function, I have been able to list the corresponding values in column B of sheet 2 onto column B of sheet 1 (for those values which are common to both sheets - matching occurs between column A in both sheets). However, I now have some of the set of data in sheet 2 and the rest in sheet 3 (again, in column A). Is there any way of using index match to search in both sheets and index the corresponding value from column B of the sheet containing the matched value in column B of sheet 1?

I have tried this by nesting the index match functions for each sheet into two separate IF arguments but haven't had any luck. Is there a better way of doing this?

This is what I have currently tried in Cell B2 of sheet 1:

=IF(INDEX(Sheet2!\$B\$2:\$B\$3001,MATCH(A2,Sheet2!\$A\$2:\$A\$3001,FALSE),1),IF(INDEX(Sheet3!\$B\$2:\$B\$3001,MATCH(A2,Sheet3!\$A\$2:\$ A\$3001,FALSE),1)))

Excel keeps saying this formula has errors but I have no idea as to what changes I need to make to get the formula to model my situation. Then again, I'm not even sure if this is the approach I should be taking to create a formula that models my situation.

## Excel 2007 - Vlookup / Index / Match With Two Datasets On Two Sheets

May 22, 2014

I have two data sets across two worksheets. The first worksheet contains sales order numbers (Sheet1:column A) and other data . The second worksheet contains sales order numbers (Sheet2:column A) and the product details.

On sheet1, I had to manually duplicate a sales order number (inserting another row) if the number of units of the order is greater than 1. I then need to fetch the product details from sheet2 for each unit for that specific order number. However in sheet2, there are multiple products for one sales order number.

How do i create a lookup/match to fetch the product details for each sales order number without duplicating the product details if there are multiple products for one sales order number?

I know a simple vlookup function will return the values that it matches first and that is not what i want.

Example: Sheet1

Column A (Sales Order#) | Column B (Quantity)

0417436GPCP | 1

0417436GPCP | 1

0413412FACY | 1

0413412FACY | 1

[code].....

## Formulas By Using VLOOKUP, INDEX, MATCH, INDEX&MATCH Separately

Oct 8, 2009

I have this table

.......A.....B.....C....D
1.....I......a.....d.....g

2.....II.....b.....e.....h

3.....III....c.....f......i

As you can see, the number I has a,d,and g, II has b,e,and h, and III has c, f, and i

I want to make formula that if I make the input g it would return I, f would return III, and c would return III, and so on

I want to make four formulas by using VLOOKUP, INDEX, MATCH, INDEX&MATCH separately.

## Return Corresponding Value Of Found Match In Matrix

Mar 15, 2008

A have a table like this:

X 1 2
A 9 5
B 8 4

I would like to have a condition that when is equal to B and 2, return the corresponding paragraph in the matrix (in this case 4)

## VLOOKUP / INDEX / MATCH Function: Match Data From 2 Independent Sets??

Oct 8, 2009

I am trying to match data from 2 independent sets, formatted slightly differently so not sure which function would work best for me. From the attached file, I am trying to match the date and time stamp (in cell A1) with that from the other data (in this example in cell E1) and return the data (from cell F1) to cell C1. So basically any date and time stamp before 04/03/09 04:00 will return a value of 44 (this value should appear, therefore in cells C1 - C30)

## Counting Number Of Times INDEX / MATCH Finds More Than 1 Match?

May 23, 2014

We know how INDEX/MATCH works, and it's very nice. I attached a COUNTIF to it to count how many times the index finds itself on another table; if it doesn't find itself, then it goes blank. However, this time I need to count how many times it finds a certain string condition in the other table.

sampleexcelhelp.xlsx

The columns that need to be filled are shaded in dark pink.

## Index And / Or Match Formula With Multiple Match Required To Return A Value

Jan 21, 2014

See attached file, "Rate Sample Index-Match Formula".

I need a formula to return the value at the cross section of two (2) lookup values that match. This formula will be input into column D under, "RATE" on the 1st tab, "TEST FILE".

In the 1st tab, "TEST FILE" there are a series of columns as follows;

A = Service
B = From
C = To
D = Rate

In the 2nd tab, "RATES" there is a series of rates with drivers From (green) & To (blue)

The formula needs to do the following;

1. Lookup the "From" value in column B on tab, "TEST FILE" and match to column B2:B59 on tab, "RATES" both highlighted in green
2. Then Lookup the "To" value in column C on tab, "TEST FILE" and match to row C1:BH1 on tab, "RATES" both highlighted in blue
3. Then return the value at the cross section of the match "From" (point 1 above) & "To" (point 2 above) in range C2:BH59

For Example;

The rate From SYD To CBR = 0.33. I have highlighted this in yellow on both tabs to show where the formula needs to lookup the data to return the answer.

## VLOOKUP / INDEX And MATCH To Return All Values That Match

Feb 4, 2014

I have two sheets of data , sheet A and Sheet B.

Sheet B contains a column called "Name" and for each name, and for each name there are corresponding numbers. In sheet A, I have a "list of interest" in column A. What i want to do look through the data in sheetB to find a match from the list of interest and return the corresponding letters, located in column A.

I have filled out the first two rows of results that should be returned as an example.

One idea i had was to put a vlookup formula in each column result 1 to result 6 so i can catch all 6 "Serves" columns from column B, but there may be duplicates in the serve columns and vlookup only reports the first match.

## Using Index / Match Function For Two Column Match Values

Aug 28, 2012

Basically where the columns say 2011 or 2012 AND 1, 2, 3. I want to be able to have it index the number below based on the GL number on the left and both the year and period on the top. I think that you can do with using the sumproduct function with the binary, but the computer is a little dated and it takes a while to run those calculations.

2011
2011
2011
2012
2012
2012

[code].....

## INDEX / MATCH Multiple Ocurence Match Values

Jul 11, 2008

INDEX/MATCH multiple ocurence match values needed

## Lookup/Index-Match-Match Using Segments

Jun 10, 2009

Is it possible to return a value or a sum of values using segmented lookup criteria. The Sample 1 spreadsheet (attached) explains it better.

## Match Upper Closest Value Using Index-Match

Jan 15, 2013

I couldn't resolve the formula of Index-Match for getting the values that matches the following criteria

1) Match the "Category" of Table 1 to Table 2

2) Match the "value" of Table 1 to Table 2, if value is not present in Table 2 take the upper closest value.

Once the above conditions are met, Take the Result from Table 2

Table 1 is for Input and Table 2 is for Database.

Please note that Data in Table 2 should not be sorted in any way. I tried to use the -1 option of the Match function for upper closest value but it didn't work out.

Have a look at the file attached : IndexMatchUpperClosestValue_AlongwithExactMatch.xlsx

## Adding A Third Match To An Index Match Formula

Oct 6, 2009

I currently have a spreadsheet with two sheets. The first is my reporting sheet and the second is called Stores. I currently am using the following formula in the reporting sheet:

## Sum If W/ Index Match On Vertical And Horizontal Match

Sep 27, 2007

I am looking to sum the values found at the intersection of multiple values based upon a vertical and horizontal lookup. The formula I am trying is as follows (which results in #Value):

{=IF(ISBLANK(G\$9),"",SUM(IF(INDEX('Journal'!\$A\$20:\$Z\$1020,MATCH("Prior",'Journal'!\$F\$20:\$F\$1020,0),MATCH(G\$9,'Journal'!\$H\$19:\$Z\$19,0)),"")))}

## Hlookup And Match Or Index And Match?

Apr 6, 2009

Example:......

On my worksheet 1, I have two dropdown boxes: B7 (that gives the building name) and B11 which gives the Type of Commission (Renewal, Expansion, New). B 20 is supposed to automatically select the percentage based upon what B7 and B11 select. E.g. B7 = House, B11 = Expansion then B20 should be 3.

This is my formula.
=HLOOKUP(B7,'Building Details'!\$A\$2:\$R\$24,MATCH(B11,'Building
Details'!\$A\$2:\$R\$2,0))

## Match 1st And 2nd Columns In 2 Sheets And Return 3rd / 4th And 5th Column If Match

Dec 15, 2013

[URL]

What im trying to do is match columns A & B from AUDIT Sheet to Columns A & B in MASTER sheet. If they match then pull columns C, D & E from MASTER into AUDIT.

## IF INDEX And MATCH Together

Jan 8, 2014

I am using sheet 1 to pull data from sheet 2 using this formula

=INDEX(Attendance!D:D,MATCH(C2,Attendance!A:A,0)).

This on its own works to pull the data. However the data is repeated for each 'set' of data ie each group of repeating names, as I drag down. I just want the data to appear once on the first lie of each group so I have added an if to the formula

=IF(C2=C1,"No Match",

My complete formula is now

=IF(C2=C1,"No Match",=INDEX(Attendance!D:D,MATCH(C2,Attendance!A:A,0))

## Various Index Match

May 3, 2009

On the attached workbook, on the "Progress Summary" page, cell C30 has a formula which should list the names of pupils who made 0 progress (as referenced by the Raw Data page, column R [progress] and column A [name].)

## Index- Match

Dec 3, 2009

I have never used the aforementioned functions before, but i assume thats what i need to do here....

In the attached table, what formula do i use to return the value '8' i.e. whats in column "Epsilon" and row "Three"

If you could let me have the generic formula i need as well, that would be good.

## Index,match = #n/a

Feb 3, 2010

I can't figure out why the N/As are coming. In G2 I have =INDEX(Area_Codes!\$D:\$D,MATCH(F2,INDEX(Area_Codes!\$B:\$B,0),0)). If I replace F2 with 407, I get FL which is right. But why do I get N/A??

## Match The INDEX

Feb 18, 2010

L26 returns incorrect information. Input parameters are F29 and F30. In its current state, it returns the value “b”, where I think it should be returning “1”, i.e the intersection point for “3Ph” & “Single-core 70°C thermoplastic non-arm Cu Table 4D1”

## Index And Match The Value

Mar 5, 2009

If the value on sheet2 columnA ,matches value sheet1, column AC
then corresponding row value sheet2,column E be put in corresponding row for matched value ,sheet1,column Z.

## Index/match Within Certain Value

Mar 30, 2009

I have the following array formula that matches against a table with 3 criteria (one specfically is a time), it works ok until the time criteria is not of the value searched for, it may be +/- 30 minutes out, is it possible for the formula to index/match to the actual value or to find the nearest match possible, its in column B.

Apr 27, 2009

## Index, Match For VBA

Dec 17, 2006

I have the following code from my UserForm that works fine for my Summary sheet.

Private Sub TextBox2_AfterUpdate()
Application.ScreenUpdating = False
'//Get the Truck # to act on
Dim varInput As Variant
varInput = TextBox2.Value
'//Exit if no input
If varInput = "" Then
Exit Sub
End If

What I am trying to figure out is to do a Index,Match or what ever it takes to populate the Truck sheet (250+) with info from the user form.

TextBox1 is the date. TextBox2 is the truck number, 3 is the Milage, and 4 is the Cost.

All in relation to the following sheet for the truck: ...

## Index & Match

Mar 10, 2008

I have the below formula which works fine when I only want it to lookup one sheet but I am now trying to get it to lookup 2 sheets.

I have tried numerous variations but still no luck. Plus I am not sure that with the formula that I am using it is even possible.

HTML =INDEX('2008'!\$B\$2:\$J\$1697;MATCH(\$B6;'2008'!\$B\$2:\$B\$1697;0);2)+INDEX('2007'!\$B\$2:\$J\$1697;MATCH(\$B6;'2007'!\$B\$2:\$B\$1697;0);2)