Index and Match

josieguida02

New Member
Joined
Mar 23, 2009
Messages
13
Can someone help me with my issue?

I only want to display companies from sheet one on sheet 2 that have a match for cell A1 on sheet 2.


Current workbook formulas.

Sheet 1 last column, =IF(ISNA(MATCH(C2,{"abc","abc1","abc2","abc3"},0)),"-",MAX(I$1:I1)+1)

Dateserial numbercompany Review Date Status
5/1/2018B12345ABC 5/1/2018 Accepted1
5/2/2018B23456ABC1 5/2/2018 Consider2
5/3/2018B34567ABC2 5/3/2018 Compare Elsewhere3
5/4/2018B45678ABC3 5/4/2018 Rejected4
5/5/2018C12345ABC 5/4/2018 Accepted5
5/5/2018C23456ABC1 5/2/2018 Consider6
5/5/2018D12345ABC2 5/3/2018 Compare Elsewhere7
5/5/2018D24567ABC3 5/4/2018 Rejected8


Sheet 2

Each data point in all three columns

=IFERROR(INDEX('Sheet 1'!A:A,MATCH(ROWS($2:2),'Sheet 1'!$I:$I,0)),"")

=IFERROR(INDEX('Sheet 1'!B:B,MATCH(ROWS($2:2),'Sheet 1'!$I:$I,0)),"")

=IFERROR(INDEX('Sheet 1'!C:C,MATCH(ROWS($2:2),'Sheet 1'!$I:$I,0)),"")



ABC
dateserial numberCompany
5/1/2018B12345ABC
5/2/2018B23456ABC1
5/3/2018B34567ABC2
5/4/2018B45678ABC3
5/5/2018C12345ABC
5/5/2018C23456ABC1
5/5/2018D12345ABC2
5/5/2018D24567ABC3


Thank you in advance.

Josie
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
What version of Excel do you have? Please update your profile to show that. It's quite easy to do with Excel 365:

Book1
ABC
1ABC
2DateSerial NumberCompany
343221B12345ABC
443225C12345ABC
5
Sheet9
Cell Formulas
RangeFormula
A3:C4A3=FILTER(Sheet8!A2:C20,Sheet8!C2:C20=A1)
Dynamic array formulas.


It's possible with older versions, but we need to know what version you have so that we know what functions are available.
 
Upvote 0
What version of Excel do you have? Please update your profile to show that. It's quite easy to do with Excel 365:

Book1
ABC
1ABC
2DateSerial NumberCompany
343221B12345ABC
443225C12345ABC
5
Sheet9
Cell Formulas
RangeFormula
A3:C4A3=FILTER(Sheet8!A2:C20,Sheet8!C2:C20=A1)
Dynamic array formulas.


It's possible with older versions, but we need to know what version you have so that we know what functions are available.
Thank you for your help.
I found this to work for me. =IFERROR(INDEX(Companies!C2,MATCH($A$1,Companies!$C2,0)),"")
 
Upvote 0
Thank you for your help.
I found this to work for me. =IFERROR(INDEX(Companies!C2,MATCH($A$1,Companies!$C2,0)),"")

Well, if you're happy, then I'm happy. But I don't think that formula will work for you. MATCH requires a range for the second parameter, and you just have a single cell.
 
Upvote 0

Forum statistics

Threads
1,216,084
Messages
6,128,728
Members
449,465
Latest member
TAKLAM

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