Fetch cell value on basis of Find string in cell and Serial no matched

shakaib26

New Member
Joined
Feb 3, 2023
Messages
23
Office Version
  1. 365
Platform
  1. Windows
Hi,

Can anyone correct this formula to show the accurate cell value. Currently it is showing wrong result.

I want to fetch cell value on basis of finding string in cell and serial no matched.

Formula: =INDEX($B$2:$B$165,XLOOKUP(E2,$A$2:$A$165,IF(ISNUMBER(MATCH("OWS",$B$2:$B$165)),ROW($B$2:$B$165),""),""))


Thanks.



1733390156696.png
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Is this what you mean?
Excel Formula:
=FILTER(B2:B165,(A2:A165=E2)*ISNUMBER(FIND("OWS",B2:B165)),"")

BTW, I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with. 😎
(If you have trouble with XL2BB, review the "XL2BB Icons greyed out" link in the 'Known XL2BB issues' section near the top of the XL2BB Instructions page linked above.)
 
Upvote 0
Is this what you mean?
Excel Formula:
=FILTER(B2:B165,(A2:A165=E2)*ISNUMBER(FIND("OWS",B2:B165)),"")

BTW, I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with. 😎
(If you have trouble with XL2BB, review the "XL2BB Icons greyed out" link in the 'Known XL2BB issues' section near the top of the XL2BB Instructions page linked above.)
Thanks for your prompt reply, but this filter function bring nothing (blank).
 
Upvote 0

Forum statistics

Threads
1,225,739
Messages
6,186,743
Members
453,370
Latest member
juliewar

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