index and multiple match not working.

trekker1218

Board Regular
Joined
Feb 15, 2018
Messages
86
Office Version
  1. 2019
Platform
  1. Windows
I have read most of the other threads and I have used index and match many times with multiple searches.
I am looking to insert cell data from a second sheet into sheet 1 but only if meets a double verification of matching cells.

I've been using this and getting an error.

=INDEX('orig-data'!Z:Z,MATCH(1,(U19548='orig-data'!O:O)*(AE19548='orig-data'!Y:Y),0))


I want to index a COL on (Orig-Data) sheet. But only show the result of the index if 2 matches are true.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Did you confirm it with Ctrl Shift Enter, rather than just Enter?
 
Upvote 0
Yes... same result. When i evaluate the formula. it finds the match of the ROW (#19548 on Orig-Data sheet)
and the data in that row.
 
Upvote 0
That suggests it can't find both values on the same row.
 
Upvote 0
That suggests it can't find both values on the same row.
Orig-Data
1614806794632.png


New Sheet
1614806914417.png

I am trying to fill AF2 with the date from Orig-Data Z2 but only if G2 matches U2 and Y2 matches AE2
 
Upvote 0
That should work, although it's best to avoid using whole column references in array formulae.
Check that none of the values have leading/trailing spaces.
 
Upvote 0
I only did the full columns for the chat here. I usually isolate the col and rows.
Is there a way to INDEX multiple columns with this formula.
Reason being. The Value Horsepower may appear in different columns with result in adjacent column.

In orig-Data sheet Columns y & Z represent the horsepower. Just noticed that further down my data sheet the Horsepower column is in AA & AB
 
Upvote 0
You're best bet would be to sort out the data so it's uniform, rather than trying to create a very messy formula to get round the problem.
 
Upvote 0

Forum statistics

Threads
1,214,891
Messages
6,122,101
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