I just wanted to know that I have some values written in Cell
J10 as shown in image and want to sum these values in cell
To do so, I currently add them manually by typing
=1.25+1.25-1+.5 in cell
Is there any way that cell
K10 automatically calculates the values entered in cell
J10 as shown in image, and cell
K10 automatically updates the total if I make any changes in values in cell
I’ll assume you want to type the formula into J10 and have the result in K10 (per your narrative and image).
Go to Formulas, Defined Names, Name Manager and click New. Set up a new named range called
evalJ with workbook scope and a Refers to: of,
Click OK to create the name and exit the Name Manager.
Type your formula into J10 (e.g. 1.25+1.25-1+.5) without an equals sign. Put the following formula into K10,
This can be used in any column to evaluate an equation in column J of the same row.
Use the following UDF
Function mySum(s As String) As Variant mySum = Evaluate(s) End Function