Checking source of value in cell.

bebo021999

Well-known Member
Joined
Jul 14, 2011
Messages
2,541
Office Version
  1. 2016
I would like to check if value in cell A1 is typed directly or calculated from

a formula:

Ex: A1 = 2 ==> B1 = TRUE

A1 = 1+1 ==> B1 = FALSE

Is there any formula in B1 can do that? (without VBA)

Thanks in advance.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
No, those examples are both formulas. There is no worksheet function that can evaluate the content of a formula in another cell, only the displayed value.

Now, with VBA, one could probably construct one, but then... that's VBA.
 
Upvote 0
Maybe using GET.CELL xml function

1. Create a named formula

Formula > Names Manager > New

Name: HasFormula
Refers to: =GET.CELL(48,INDIRECT("RC[-1]",FALSE))
Ok, Close

2. in B1
=HasFormula=False

HTH

M.
 
Upvote 0
Wouldn't selecting A1 and looking at the formula bar be sufficient?
What is the goal of this tool(?) ?
 
Upvote 0

Forum statistics

Threads
1,224,503
Messages
6,179,134
Members
452,890
Latest member
Nikhil Ramesh

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