Searching for specific text within a formula and returning adjacent cell

MMCP15

New Member
Joined
Nov 28, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi - I am looking to input a formula into cell AO161 which searches formulas in cell range H:H in a separate workbook (2nd snip below) for the text included in A161.

I would like cell AO to return the text included in cell A22 in 2nd snip, if the text is found within its formula.

The formula will then need to be dragged down to look for slightly different code in A162 within the same range H:H returning the adjacent cell in A:A in 2nd snip.

Basically looking for "G TB FY23'!AN161" within H22 formula, and returning A22. But done in a way so formula can autofill for different text to search for.

Can anyone advise if this can be done? Any help appreciated!!

1669650241784.png



1669650313021.png
 

Attachments

  • 1669650153428.png
    1669650153428.png
    21.9 KB · Views: 4

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,214,641
Messages
6,120,691
Members
448,978
Latest member
rrauni

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