How to find if a cell contains a reference to a another cell

Vera

Banned
Joined
Sep 22, 2002
Messages
33
In A1 I have formula =B4*C23. In A2 I need a formula which would tell if A1 has a reference to C23. Thank you so much for your help.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Paul B

Well-known Member
Joined
Feb 15, 2002
Messages
575
if you have =B4*C23 in A1, A1 has a reference to B4 & C23, you can use the auditing tools to find your references, go to tools auditing
 

Vera

Banned
Joined
Sep 22, 2002
Messages
33
Thank you Paul, but I need a formula.

Thank you Aladin. Unfortunately I need an Excel formula/function. My spreadsheet is used by various people on different machines; I can not install the add-in to every single computer.
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209

ADVERTISEMENT

On 2002-09-23 12:35, Vera wrote:
Thank you Paul, but I need a formula.

Thank you Aladin. Unfortunately I need an Excel formula/function. My spreadsheet is used by various people on different machines; I can not install the add-in to every single computer.

What a pity...

There isn't a built-in function. However, you can use this UDF in VBA (which is slower than Longre's FORMULATEXT)...

Public Function FormulaText(source As Range) As String
FormulaText = source.Formula
End Function
This message was edited by Aladin Akyurek on 2002-09-23 13:02
 

briankelly

New Member
Joined
Aug 7, 2002
Messages
43
If it is an irregular thing for them to look for something, how about ctrl-~ to shift the view?
 

Vera

Banned
Joined
Sep 22, 2002
Messages
33
Thank you Brian; it is not irregular; I would use that info in other formula; if A1 has C23 in it do task 1; if A1 doesn't have do task 2. Thank you anyway, it seems that there is no kind of more elaborate combination of build in functions to achieve what I need.

Best regards
 

Jim North

MrExcel MVP
Joined
Jun 20, 2002
Messages
791
Vera,

You are tapped into a lot of business and application experience here. If you tell us what your business problems is, and ignore the Excel part, maybe someone can help.
 

Forum statistics

Threads
1,144,510
Messages
5,724,773
Members
422,577
Latest member
kayth891

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
Top