Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DOING MY BEST
 
Posts: n/a
Default Excel: Add/subtract to existing value in same cell

When there is an exisitng value in a cell and there is a value to be
subtracted or added to the exisitng value, a separate calculator needs to be
used. Can Excel perform this function and eliminate the need for the separate
calculator?
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

Not without using a macro.



"DOING MY BEST" wrote:

When there is an exisitng value in a cell and there is a value to be
subtracted or added to the exisitng value, a separate calculator needs to be
used. Can Excel perform this function and eliminate the need for the separate
calculator?

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

It can with code, but the complexity hardly makes it worthwhile IMO.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"DOING MY BEST" <DOING MY wrote in message
...
When there is an exisitng value in a cell and there is a value to be
subtracted or added to the exisitng value, a separate calculator needs to

be
used. Can Excel perform this function and eliminate the need for the

separate
calculator?



  #4   Report Post  
Jerry W. Lewis
 
Posts: n/a
Default

A cell formula does not have memory. The only way to build in memory is
with VBA (You chould have a worksheet change event that updates the cell
when there is a change in the cell).
http://www.mcgimpsey.com/excel /accumulator.html

As a practical matter, memory in a calculation is almost always a bad
idea. How would you deal with data entry errors in the cell? If the
running total somehow gets out of sync, how would you correct, or even
detect it?

Jerry

DOING MY BEST wrote:

When there is an exisitng value in a cell and there is a value to be
subtracted or added to the exisitng value, a separate calculator needs to be
used. Can Excel perform this function and eliminate the need for the separate
calculator?


  #5   Report Post  
.
 
Posts: n/a
Default

Jerry W. Lewis wrote:

A cell formula does not have memory. The only way to build in memory is
with VBA (You chould have a worksheet change event that updates the cell
when there is a change in the cell).


If it's a one-time change (eg subtracting an offset from data), it is
possible to use the "Paste Special" command.

1. Type the number to be subtracted/added in one cell.
2. Copy this cell.
3. Highlight the cell/range to be modified.
4. Use "Paste Special" (either right-click, or Edit-Paste Special)
5. Select the operation to be performed.

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
copying cell names Al Excel Discussion (Misc queries) 12 August 11th 05 03:01 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
Excel to Excel, Cut & Paste, 1 cell, text, multiplies file size f. PboB Excel Discussion (Misc queries) 3 March 16th 05 06:17 PM
Paste rows of numbers from Word into single Excel cell BecG Excel Discussion (Misc queries) 1 December 8th 04 04:55 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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