Would prefer not having to enter = manually in each cell.
D Dave Peterson Apr 14, 2005 #2 Edit|Replace what: Average( with: =average( As long as Average( only occurs at the beginning of each cell in your selected area. It'll screw up on cells like: =if(a1=5,average(b1:b10),average(c1:c18))
Edit|Replace what: Average( with: =average( As long as Average( only occurs at the beginning of each cell in your selected area. It'll screw up on cells like: =if(a1=5,average(b1:b10),average(c1:c18))
J Jason Morin Apr 14, 2005 #4 Assuming your "formulas" w/out equal signs are in column A... 1. Insert this into row 1 of an open col. (say col. B) and fill down: ="="&A1 2. Select col. B, copy it, and go to Edit > Paste Special Value. Click to expand... 3. Press Ctrl+H and fill in: Find What: = Replace With: = HTH Jason Atlanta, GA
Assuming your "formulas" w/out equal signs are in column A... 1. Insert this into row 1 of an open col. (say col. B) and fill down: ="="&A1 2. Select col. B, copy it, and go to Edit > Paste Special Value. Click to expand... 3. Press Ctrl+H and fill in: Find What: = Replace With: = HTH Jason Atlanta, GA
G Gord Dibben Apr 14, 2005 #5 You can employ a UDF. Function EvalCell(RefCell As String) Application.Volatile EvalCell = Evaluate(RefCell) End Function With the text average(A:A) in B1 enter =EvalCell(B1) in C1 Would seem to me however that typing an = sign would be easier than entering/copying a bunch of formulas. Unless you have the text pre-entered and are looking to change to a formula. Gord Dibben Excel MVP
You can employ a UDF. Function EvalCell(RefCell As String) Application.Volatile EvalCell = Evaluate(RefCell) End Function With the text average(A:A) in B1 enter =EvalCell(B1) in C1 Would seem to me however that typing an = sign would be easier than entering/copying a bunch of formulas. Unless you have the text pre-entered and are looking to change to a formula. Gord Dibben Excel MVP