Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel - how to record a function's result despite future changes?

How can I automatically record a single moment's result for a function to
preserve it, when future changes in variables accessed by the function will
change it in the future?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Excel - how to record a function's result despite future changes?


Change it to a value
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"starflight33" wrote in message
...
How can I automatically record a single moment's result for a function to
preserve it, when future changes in variables accessed by the function
will
change it in the future?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel - how to record a function's result despite future chang

To clarify: I'm looking for my formula to update its calculation everytime
the variables it depends on are updated, ~and to record each calculation
separately~. At this point I'm manually typing the result in a cell, but am
hoping to be able to have Excel do this, without my typing or preferably
without even having to use a macro.

Is there a solution?

"Don Guillett" wrote:


Change it to a value
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"starflight33" wrote in message
...
How can I automatically record a single moment's result for a function to
preserve it, when future changes in variables accessed by the function
will
change it in the future?



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Excel - how to record a function's result despite future chang

Copy down
=IF(LEN(TRIM(C2))<1,"",SUM($D$2:D2)/SUM($C$2:C2))
or
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("c2:c4")) Is Nothing Then Exit Sub
If Len(Application.Trim(Target)) < 1 Then
Target.Offset(, 2) = ""
Else
Target.Offset(, 2) = Range("d7") / Range("c5")
End If
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Don Guillett" wrote in message
...
If desired, send your workbook to my address below along with a snippet of
this message copied to an inserted worksheet and clear examples of what
you want. I will take a look tomorrow before the Texas game.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"starflight33" wrote in message
...
To clarify: I'm looking for my formula to update its calculation
everytime
the variables it depends on are updated, ~and to record each calculation
separately~. At this point I'm manually typing the result in a cell, but
am
hoping to be able to have Excel do this, without my typing or preferably
without even having to use a macro.

Is there a solution?

"Don Guillett" wrote:


Change it to a value
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"starflight33" wrote in message
...
How can I automatically record a single moment's result for a function
to
preserve it, when future changes in variables accessed by the function
will
change it in the future?




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 Add in for AS: Function's not recognized VallabhK Excel Programming 1 December 11th 06 07:22 PM
A correct IF function doesn't show the function's result in cell Michael Excel Discussion (Misc queries) 1 April 10th 06 09:10 AM
Send cmd to com1 record result to new cell Friesr via OfficeKB.com Excel Programming 0 June 29th 05 04:24 PM
how make a selection like sum function's CFCAT Excel Programming 1 June 1st 05 05:59 PM
Updating a Function's Result Syed Zeeshan Haider[_5_] Excel Programming 8 December 6th 03 09:32 PM


All times are GMT +1. The time now is 08:28 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"