bnussbaum1
New Member
- Joined
- May 15, 2023
- Messages
- 7
- Office Version
- 2019
- Platform
- Windows
I am looking to do an array formula with a partial string match. Does not seem to be working. Are array formulas different than regular index-match formulas with partial string matches?
This works great!
{=IF(CT5="","",(INDEX(testSp23.xlsx!$GN:$GN,MATCH(1,($K5=testSp23.xlsx!$O:$O)*(CT$1=testSp23.xlsx!$FQ:$FQ),0))))}
with testSp23.xlsx referring to another spreadsheet.
However, If I try to add &"*" to the sheet to make CT$1 a partial string match rather than an exact match, it stops working.
{=IFERROR(INDEX(testSp23.xlsx!$FY:$FY,MATCH(1,($K2=testSp23.xlsx!$O:$O)*(CT$1&"*"=testSp23.xlsx!$FQ:$FQ),0)),"")}
Interested in some thoughts here.
I have done partial string matches before, and referencing another workbook is not new either. But Array formulas are new for me.
Credit to:
for guidance so far. Just trying to put the pieces together.
This works great!
{=IF(CT5="","",(INDEX(testSp23.xlsx!$GN:$GN,MATCH(1,($K5=testSp23.xlsx!$O:$O)*(CT$1=testSp23.xlsx!$FQ:$FQ),0))))}
with testSp23.xlsx referring to another spreadsheet.
However, If I try to add &"*" to the sheet to make CT$1 a partial string match rather than an exact match, it stops working.
{=IFERROR(INDEX(testSp23.xlsx!$FY:$FY,MATCH(1,($K2=testSp23.xlsx!$O:$O)*(CT$1&"*"=testSp23.xlsx!$FQ:$FQ),0)),"")}
Interested in some thoughts here.
I have done partial string matches before, and referencing another workbook is not new either. But Array formulas are new for me.
Credit to:
Tips on Performing an INDEX and MATCH with Two Criteria | Excelchat
Here is how you can use the INDEX and MATCH functions to lookup items with two criteria.
www.got-it.ai
Guidelines and examples of array formulas - Microsoft Support
An array formula (one that spans multiple cells) can do calculations on rows and columns of cells where you might otherwise need to use several formulas. For example, you can count the number of characters that are contained in a range of cells, sum only numbers that meet certain conditions...
support.microsoft.com
Excel Reference Another Sheet | CustomGuide
How to Reference External Worksheets in Excel
www.customguide.com
How to lookup partial string match in Excel?
www.extendoffice.com
for guidance so far. Just trying to put the pieces together.