Index Match Formula

ai1094

Board Regular
Joined
Aug 23, 2018
Messages
92
I am trying to write a regular INDEX MATCH formula but don't know how. Here is what I am trying to do:

(match index) In CTL File (sheet name) - - OptionID = ACT and locid = CELLN82 find LXD in Column T

CTL File is the sheet name, I want to look for (Column I) Option ID = "ACT" and (Column A) Location ID = N82 and return the (Column T) MaxLeaseEndDate(orModelExpDate)


Does anyone know how to write this formula?
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
You mean something like this?
This assumes there is only one unique match.
Excel Workbook
ABCIT
1LocIDDate
2N24Test16/8/2019
3N82ACT7/2/2019
4N78test27/20/2019
5N82Test38/4/2019
6
7FindLocN82
8IDACT
9
10Date7/2/2019
Sheet
 
Upvote 0
I am having trouble understanding it. Let me put it this way:

In Sheet 1 in Cell O82 is where I am inserting the formula.
In the CTL file I have the Location ID, Option ID, and LXD.
In Sheet 1 if Option ID = "ACT" and Location ID = N82 (Sheet 1) then return me the LXD from the CTL file.
Does this make sense?
 
Last edited:
Upvote 0
Maybe like this.
If your dates in LXD are actual Excel dates (numeric) then you could use the SUMPRODUCT formula.
Formula in O82 will work if dates are text or numeric.

Excel Workbook
O
827/2/2019
837/2/2019
Sheet1
Excel Workbook
AIT
1Loc IDOpt. IDLXD
2N24Test16/8/2019
3N82ACT7/2/2019
4N78test27/20/2019
5N82Test38/4/2019
CTL
 
Upvote 0
It's hard to explain it here, I wish I can show you the workbook. Don't worry I will figure it out. Thank you so much for your help.
 
Upvote 0
You could put a boarder around a small part of your file and use copy/paste to paste it to the forum. Are the examples I gave above close to what you have?
 
Upvote 0
=+INDEX(T:T, MATCH(1, ("N82"=A:A)*("ACT"=I:I), 0))

This is a CSE formula, enter CTRL+SHIFT+ENTER


It's hard to explain it here, I wish I can show you the workbook. Don't worry I will figure it out. Thank you so much for your help.
 
Upvote 0
The problem with the formula you gave me was you have all the information in one sheet whereas I am referencing a different sheet within the workbook.

You could put a boarder around a small part of your file and use copy/paste to paste it to the forum. Are the examples I gave above close to what you have?
 
Upvote 0
Thats fine. Just reference the other sheet, the formula will still work.

If you need assistance on that, i suggest youtube to learn some of the basics of excel.

The problem with the formula you gave me was you have all the information in one sheet whereas I am referencing a different sheet within the workbook.
 
Upvote 0

Forum statistics

Threads
1,214,892
Messages
6,122,112
Members
449,066
Latest member
Andyg666

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top