LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 3
Default Display formulae as values of each cell reference

Hello all, I was wondering if someone could please help me with a macro. Any and all help is appreciated:

Essentially, it would be a macro where you take a cell (which has various formulas and cell references in it) and convert those formulas and references into their values within the formula bar into a separate cell next to it.

For example:

Where Cell A1 = Cells (F2+F3+F4)/F5
F2 = 50
F3= 200
F4= 250
F5=100

Steps for Macro

1. I would highlight cell A1 (or if multiple cells, I would highlight all of them)
2. I would run the macro

Macro Output

1. The macro would paste a formula into the corresponding cells directly to the right of it. (In this case, it would be cell B1)
2. In cell B1, the cell would show a value of "5", and would show the following formula: =(50+200+250)/100
 
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
How do I use formulae to display a specific picture in a cell? Tricia Excel Discussion (Misc queries) 1 June 19th 08 10:50 PM
Display formulae instead of showing values in cells Kent Excel Worksheet Functions 3 November 6th 07 03:27 AM
Remote cell reference in formulae Graham Excel Discussion (Misc queries) 3 July 25th 07 01:32 PM
How do I get just 1 cell to display it's formulae not whole sheet? MrsWiz Excel Worksheet Functions 5 August 2nd 06 07:05 PM
Shortcut key to display change the display from displaying cell values to cell formulae Adrian[_7_] Excel Programming 3 September 14th 04 12:07 PM


All times are GMT +1. The time now is 12:38 AM.

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"