Search a Text item in a range

Pauljj

Well-known Member
Joined
Mar 28, 2004
Messages
2,047
In a range AD12:AJ56 there maybe a cell reference that I have formulated to appear. How can I search that entire range so that AD10 shows the value

So for example in AF20 there maybe a cell reference saying $C$21, if it does, then I want $C$21 to appear on AD10

Or similarly I may have $D$19 appear in AJ20, therefore I would want $D$19 to appear in AD10....hope that makes sense.

I presume I will need to be using an array formula but I can't seem to think what formula would apply as the value will not always be the same


Thanks in advance
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
I must be asking lots of questions that no one knows the answer to, not having much luck on any :-)
 
Upvote 0
The reference appears as text, from a formula which is


=IF(AND(N21<>"",M21=""),ADDRESS(ROW(),COLUMN(C12)),"")
 
Upvote 0
I guess I should give some more indepth information as to the result

The user has 7 columns to which he or she has to fill in data. So for example in C21 the user has to indicate a job for the user . In M21 will be the automated details of the job and N21 has the time of the job
The formula I gave you is located in AD21 and its returning the reference C21.

This is because the user has not put in a job for the employee in C21, ie there is a time for the employee to be in (N21) but no details for the job (M21)

Ultimately what I am trying to achieve is to indicate to the user that a particular cell has not been filled in. I will have a table of potential cells with missing data. These are all in AD12:AJ56 What code I am looking for and this is hopefully where you come in, is to say ok there is a reference of C21 appearing in that table of AD12 to AJ56, I want that reference C21 to appear in AD10...is that as clear as mud ?
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,224,508
Messages
6,179,189
Members
452,893
Latest member
denay

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