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 Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Optimizing this formula?



 
 
Thread Tools Display Modes
  #1  
Old April 15th, 2010, 05:16 AM posted to microsoft.public.word.tables
VcDeveloper
external usenet poster
 
Posts: 1
Default Optimizing this formula?

I have three columns and only calculating col 2. I have a heading so my
calculation starts from row 2. But here is the task.

1) row 2 is my opening balance.
2) every row after this is a amount that is subtracted from the row 2.
3) the last row will contain the closing balance.

I'm creating a monthly budget and this is what I'm able to do so far.
A) {=B2-(SUM(ABOVE))} BUT, I can't seem to add an extra field to subtract
the extra balance.
B) I used {=B2-SUM(B3:B10)} BUT, I don't want to keep changing the last row
number.

Any suggesting on how to optimize this or am I stuck with making the last
row number change?

--
Coding is like a box of chocolates!...
  #2  
Old April 15th, 2010, 05:24 AM posted to microsoft.public.word.tables
macropod[_2_]
external usenet poster
 
Posts: 2,402
Default Optimizing this formula?

Hi VcDeveloper,

Word's cell addressing doesn't directly support relative references. There is a workaround, however. To see how to do this and a
wide range of calculations in Word, check out my Microsoft Word Field Maths Tutorial, at:
http://lounge.windowssecrets.com/ind...owtopic=365442
or
http://www.gmayor.com/downloads.htm#Third_party
In particular, look at the item titled 'Relative Referencing In Tables'.


--
Cheers
macropod
[Microsoft MVP - Word]


"VcDeveloper" wrote in message ...
I have three columns and only calculating col 2. I have a heading so my
calculation starts from row 2. But here is the task.

1) row 2 is my opening balance.
2) every row after this is a amount that is subtracted from the row 2.
3) the last row will contain the closing balance.

I'm creating a monthly budget and this is what I'm able to do so far.
A) {=B2-(SUM(ABOVE))} BUT, I can't seem to add an extra field to subtract
the extra balance.
B) I used {=B2-SUM(B3:B10)} BUT, I don't want to keep changing the last row
number.

Any suggesting on how to optimize this or am I stuck with making the last
row number change?

--
Coding is like a box of chocolates!...


  #3  
Old April 15th, 2010, 01:40 PM posted to microsoft.public.word.tables
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default Optimizing this formula?

While it is possible, with difficulty, to accomplish this task in Word, Word
is not the best application for the task. Is there some reason you are not
doing this in Excel?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"VcDeveloper" wrote in message
...
I have three columns and only calculating col 2. I have a heading so my
calculation starts from row 2. But here is the task.

1) row 2 is my opening balance.
2) every row after this is a amount that is subtracted from the row 2.
3) the last row will contain the closing balance.

I'm creating a monthly budget and this is what I'm able to do so far.
A) {=B2-(SUM(ABOVE))} BUT, I can't seem to add an extra field to subtract
the extra balance.
B) I used {=B2-SUM(B3:B10)} BUT, I don't want to keep changing the last
row
number.

Any suggesting on how to optimize this or am I stuck with making the last
row number change?

--
Coding is like a box of chocolates!...


 




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 08:45 AM.


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