Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Change formulas to values
 
Posts: n/a
Default is there a way to change formulas to values for sorting purposes?


  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Select the cells with the formulas.

EditCopy then EditPaste SpecialValues

Biff

"Change formulas to values" <Change formulas to
wrote in message
...



  #3   Report Post  
Bryan Hessey
 
Posts: n/a
Default


Hi,

ps, save your Workbook before you play with Macros, and as a different
name afterwards.

To change the H column to reflect the formula in column B is

For i = 1 To 100
Range("H" & i).Value = "'" & Range("b" & i).Formula
Next i

To put that into a macro, select Tools, Macro, Record new macro,
select a cell, then end the macro recorder.
then, Tools, Macro, Macros, select the macro and Edit.

Copy the code, and amend the For i = 1 to 100 to show the rows where
you wish this to happen, amend the columns H & B to be where you want
the formula to show (a spare column) and where the formula was.
Run the macro.

Hope this helps

Change formulas to values Wrote:


is there a way to change formulas to values for sorting purposes?


--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=401367

  #4   Report Post  
.
 
Posts: n/a
Default

Bryan Hessy wrote:

Change formulas to values Wrote:


is there a way to change formulas to values for sorting purposes?


The Sort command (Data-Sort) treats formulas as values. Have you
tried sorting your data as is?

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
Using Numeric Values from Formulas Natalie Tarry Excel Discussion (Misc queries) 4 August 22nd 05 04:19 PM
vlookup formulas returning no values Mogle Excel Worksheet Functions 5 August 11th 05 04:50 PM
#N/A Values : Returned by Formulas vs Entered Manually monir Charts and Charting in Excel 8 July 7th 05 01:16 AM
Can series tool change formulas over time when used to copy them compu_trainer Excel Worksheet Functions 3 May 26th 05 07:55 PM
How do I view formulas by values not by which cells they use to c. excelhelp Excel Discussion (Misc queries) 1 December 6th 04 12:30 AM


All times are GMT +1. The time now is 09:50 PM.

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

About Us

"It's about Microsoft Excel"