A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do you update a cell after an operation on it.



 
 
Thread Tools Display Modes
  #1  
Old June 24th, 2009, 08:23 PM posted to microsoft.public.excel.worksheet.functions
Tony
external usenet poster
 
Posts: 593
Default How do you update a cell after an operation on it.

Can you do a calculation on a cell, get the answer and then post it back to
the same cell?

  #2  
Old June 24th, 2009, 08:25 PM posted to microsoft.public.excel.worksheet.functions
Don Guillett
external usenet poster
 
Posts: 6,167
Default How do you update a cell after an operation on it.

You need to learn how to post and you need to learn patience to wait for an
answer. You need a worksheet_change event macro.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Tony" wrote in message
...
Can you do a calculation on a cell, get the answer and then post it back
to
the same cell?


  #3  
Old June 24th, 2009, 08:31 PM posted to microsoft.public.excel.worksheet.functions
Luke M
external usenet poster
 
Posts: 2,672
Default How do you update a cell after an operation on it.

Not without using VB.

Sub CircularLogic()
Range("A1") = Range("A1").Value + Range("C1").value
end sub

You can then either assign the macro to a hotkey, a command button, or an
event (in VB)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Tony" wrote:

Can you do a calculation on a cell, get the answer and then post it back to
the same cell?

  #4  
Old June 24th, 2009, 08:32 PM posted to microsoft.public.excel.worksheet.functions
Luke M
external usenet poster
 
Posts: 2,672
Default How do you update a cell after an operation on it.

My apologies. I forgot to mention that you *can* do it with just formulas, if
you turn off automatic calculation. (tools-Options-calculation, set to
manual, iterations to 1).

Now you could put in A1
=A1-C3
and everytime you press F9, XL would perform a calculation.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Tony" wrote:

Can you do a calculation on a cell, get the answer and then post it back to
the same cell?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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