Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Display excel formula values

how can I display Excel 2007 cell formulas showing input values as they would
be written on paper or solved on a hand calculator (for educational
purposes), not final value and not cell references which are straightforward?
I found VBA code from 2005 which may solve it but I don't know how to get
this code to work as a macro in Excel and Excel doesn't appear to have any
built-in functions to display input values.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Display excel formula values

http://www.anthony-vba.kefra.com/vba/vbabasic1.htm

http://www.rondebruin.nl/code.htm

http://www.contextures.com/xlvba01.html

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"upquark1" wrote:

how can I display Excel 2007 cell formulas showing input values as they would
be written on paper or solved on a hand calculator (for educational
purposes), not final value and not cell references which are straightforward?
I found VBA code from 2005 which may solve it but I don't know how to get
this code to work as a macro in Excel and Excel doesn't appear to have any
built-in functions to display input values.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 833
Default Display excel formula values

First suggestion (in EXCEL 2007):-

1. In cell A 1 I have:-

1

2. In cell B 1 I have:-

1

3. In cell C 1 I have:-

=(A1+B1)

The result of the above is, of course, showing 3.

4. Click in cell E 4 (for example) then:-

- hit the F 5 key

- click on Special . . . in the lower left hand corner

- Go To Special should launch

- select Formulas then OK

5. The cursor should now move to cell C 1 (the one with the formula in it).

You can apply the above to any Workbook and it will highlight all the
formulas that are in that Workbook.

I think that this is not quite what you want but see my second suggestion
below.

If my comments have helped please hit Yes.

Thanks.





"upquark1" wrote:

how can I display Excel 2007 cell formulas showing input values as they would
be written on paper or solved on a hand calculator (for educational
purposes), not final value and not cell references which are straightforward?
I found VBA code from 2005 which may solve it but I don't know how to get
this code to work as a macro in Excel and Excel doesn't appear to have any
built-in functions to display input values.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 833
Default Display excel formula values

Second suggestion (in EXCEL 2007):-

1. In cell A 1 I have:-

1

2. In cell B 1 I have:-

1

3. In cell C 1 I have:-

=(A1+B1)

The result of the above is, of course, showing 3.

4. Click in cell C 1 then:-

- Ctrl-C to copy

- Home group / Paste / Paste Values

5. The formula in cell C 1 will now be replaced with the value:-

3

If my comments have helped please hit Yes.

Thanks.



"upquark1" wrote:

how can I display Excel 2007 cell formulas showing input values as they would
be written on paper or solved on a hand calculator (for educational
purposes), not final value and not cell references which are straightforward?
I found VBA code from 2005 which may solve it but I don't know how to get
this code to work as a macro in Excel and Excel doesn't appear to have any
built-in functions to display input values.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Display excel formula values

Copy/paste this UDF to a general module in your workbook.

Ryan has posted a few sites explaining how to install macros and code.

Function EvalCell(RefCell As String)
Application.Volatile
EvalCell = Evaluate(RefCell)
End Function

You could enter your calculations in a cell without the = sign as text
only.

e.g. 1 + 1 in A1 or 2 * 3 in A2

In an adjacent cell enter this =evalcell(A1) to return the actual value
of 1 + 1


Gord Dibben MS Excel MVP


On Fri, 18 Dec 2009 16:40:01 -0800, upquark1
wrote:

how can I display Excel 2007 cell formulas showing input values as they would
be written on paper or solved on a hand calculator (for educational
purposes), not final value and not cell references which are straightforward?
I found VBA code from 2005 which may solve it but I don't know how to get
this code to work as a macro in Excel and Excel doesn't appear to have any
built-in functions to display input values.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 - how do I display formula instead of values? thanks. Trish Excel Discussion (Misc queries) 3 August 25th 08 11:12 PM
display formula instead of its values in some cells ah 3 Excel Worksheet Functions 11 January 9th 06 03:59 PM
Excel Compare values in columns & display missing values in a new cpetta Excel Discussion (Misc queries) 1 April 2nd 05 05:51 AM
Values won't display after altering a formula. Mike O Excel Worksheet Functions 1 March 13th 05 11:21 PM
How do you display the values of variables within an Excel formula curious one Excel Discussion (Misc queries) 1 March 3rd 05 02:52 PM


All times are GMT +1. The time now is 05:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"