Find the Row of a String from a Collection of Columns


The formula works on Microsoft Excel for Mac version 16.36.

Given:


Problem:
Kassandra is in which team?

Formula:
=INDEX(RESULT_ARRAY,MATCH(1,MMULT(--(COLUMN_HAYSTACK=NEEDLE),TRANSPOSE(COLUMN(COLUMN_HAYSTACK)^0)),0))

Actual Application:
=INDEX(A3:A6,MATCH(1,MMULT(--(B3:D6=A7), TRANSPOSE(COLUMN(B3:D6)^0)),0))

Result:
"Eagle"




Comments

Popular posts from this blog

Terraform: Merge a List ofObjects into One

Send SMS using Windows and any GSM Modem

SMS Notification using Gammu on Linux