• 408K Members
• 7,282 Online
• 465K Conversations
SOLVED

## Return Common Row Number if Conditions Are Matched

Occasional Contributor

# Return Common Row Number if Conditions Are Matched

Hello There,

My attached image is self explanatory.

I attach raw file too.

TIA

5 Replies
Solution

# Re: Return Common Row Number if Conditions Are Matched

It could be

`=IFERROR(MATCH(1,INDEX(ISNUMBER(SEARCH(\$J\$14,\$A:\$A))*(\$H:\$H=\$K\$14),0),0),"no such")`

# Re: Return Common Row Number if Conditions Are Matched

The formula in L14 is:
=MAX(INDEX(ROW(A2:A5)*
ISNUMBER(FIND(J14,A2:A5))*
COUNTIF(K14,H2:H5),0))

# Re: Return Common Row Number if Conditions Are Matched

This array formula (enter formula using control+shift+enter) does the trick:
=MATCH("*"&J14&"*|"&K14,\$A\$2:\$A\$5&"|"&\$H\$2:\$H\$5,0)
Note the * wildcard characters enabling the code to be found in any part of the cells of column A

# Re: Return Common Row Number if Conditions Are Matched

Hi Sergei
Salute!!
You are awesome :D

# Re: Return Common Row Number if Conditions Are Matched

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
16 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
11 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies