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  

Advanced calculations in tables--Question 2



 
 
Thread Tools Display Modes
  #1  
Old September 30th, 2009, 05:52 PM posted to microsoft.public.word.tables
DeeDeeCee
external usenet poster
 
Posts: 62
Default Advanced calculations in tables--Question 2


On the Invoice Template I have, there is a column showing the number of
hours worked on a given day. I know I can use a formula like =sum(C1:C7), if
I have exactly 7 days worked. But the number of days on a bill varies, and
often I add lots of rows to the bill, so the column length can vary from 3 to
20. Still, I'd like to have a formula in my template that simply adds up all
the cells above the formula, regardless of how many there end up being. Is
there any such thing? Thanks.

ddc
  #2  
Old September 30th, 2009, 07:11 PM posted to microsoft.public.word.tables
Jay Freedman
external usenet poster
 
Posts: 9,488
Default Advanced calculations in tables--Question 2

On Wed, 30 Sep 2009 09:52:02 -0700, DeeDeeCee
wrote:


On the Invoice Template I have, there is a column showing the number of
hours worked on a given day. I know I can use a formula like =sum(C1:C7), if
I have exactly 7 days worked. But the number of days on a bill varies, and
often I add lots of rows to the bill, so the column length can vary from 3 to
20. Still, I'd like to have a formula in my template that simply adds up all
the cells above the formula, regardless of how many there end up being. Is
there any such thing? Thanks.

ddc


You can use the formula =SUM(ABOVE). But be aware of a few possible
problems with that, as described in
http://www.word.mvps.org/FAQs/AppErr...eIncorrect.htm.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
  #3  
Old September 30th, 2009, 11:10 PM posted to microsoft.public.word.tables
macropod[_2_]
external usenet poster
 
Posts: 2,402
Default Advanced calculations in tables--Question 2

To see how to do a wide range of other calculations in Word, check out my Word Field Maths Tutorial, at:
http://www.wopr.com/index.php?showtopic=365442
or
http://www.gmayor.com/downloads.htm#Third_party


--
Cheers
macropod
[Microsoft MVP - Word]


"DeeDeeCee" wrote in message ...

On the Invoice Template I have, there is a column showing the number of
hours worked on a given day. I know I can use a formula like =sum(C1:C7), if
I have exactly 7 days worked. But the number of days on a bill varies, and
often I add lots of rows to the bill, so the column length can vary from 3 to
20. Still, I'd like to have a formula in my template that simply adds up all
the cells above the formula, regardless of how many there end up being. Is
there any such thing? Thanks.

ddc

  #4  
Old October 1st, 2009, 06:34 AM posted to microsoft.public.word.tables
DeeDeeCee
external usenet poster
 
Posts: 62
Default Advanced calculations in tables--Question 2

Thanks, Mr. Pod. Your site is truly great, and I've saved both the document
on Word Math Fields and the web-address for future use.

"macropod" wrote:

To see how to do a wide range of other calculations in Word, check out my Word Field Maths Tutorial, at:
http://www.wopr.com/index.php?showtopic=365442
or
http://www.gmayor.com/downloads.htm#Third_party


--
Cheers
macropod
[Microsoft MVP - Word]


"DeeDeeCee" wrote in message ...

On the Invoice Template I have, there is a column showing the number of
hours worked on a given day. I know I can use a formula like =sum(C1:C7), if
I have exactly 7 days worked. But the number of days on a bill varies, and
often I add lots of rows to the bill, so the column length can vary from 3 to
20. Still, I'd like to have a formula in my template that simply adds up all
the cells above the formula, regardless of how many there end up being. Is
there any such thing? Thanks.

ddc


  #5  
Old October 5th, 2009, 04:36 PM posted to microsoft.public.word.tables
Samy
external usenet poster
 
Posts: 11
Default Advanced calculations in tables--Question 2

Hi Macropod, what an awesome doc need to know how I can round down a decimal
point my formula is SUM(ABOVE)*.14 amd I need to round down if the result is
under 0.05. All the examples I have seen and tried round to a full number.

Thanks Sam

"macropod" wrote:

To see how to do a wide range of other calculations in Word, check out my Word Field Maths Tutorial, at:
http://www.wopr.com/index.php?showtopic=365442
or
http://www.gmayor.com/downloads.htm#Third_party


--
Cheers
macropod
[Microsoft MVP - Word]


"DeeDeeCee" wrote in message ...

On the Invoice Template I have, there is a column showing the number of
hours worked on a given day. I know I can use a formula like =sum(C1:C7), if
I have exactly 7 days worked. But the number of days on a bill varies, and
often I add lots of rows to the bill, so the column length can vary from 3 to
20. Still, I'd like to have a formula in my template that simply adds up all
the cells above the formula, regardless of how many there end up being. Is
there any such thing? Thanks.

ddc


  #6  
Old October 5th, 2009, 10:07 PM posted to microsoft.public.word.tables
macropod[_2_]
external usenet poster
 
Posts: 2,402
Default Advanced calculations in tables--Question 2

Hi Sammy,

Perhaps the simplest way is to divide the number by the precision you require, before getting the integer value, then multiply the
integer value by that same precision afterwards. For example:
{=INT(SUM(5.53244,6.67432,7.75021)/0.05)*0.05 \# 0.00000}
returns 19.95, whereas the unrounded value is 19.95697

--
Cheers
macropod
[Microsoft MVP - Word]


"Samy" wrote in message ...
Hi Macropod, what an awesome doc need to know how I can round down a decimal
point my formula is SUM(ABOVE)*.14 amd I need to round down if the result is
under 0.05. All the examples I have seen and tried round to a full number.

Thanks Sam

"macropod" wrote:

To see how to do a wide range of other calculations in Word, check out my Word Field Maths Tutorial, at:
http://www.wopr.com/index.php?showtopic=365442
or
http://www.gmayor.com/downloads.htm#Third_party


--
Cheers
macropod
[Microsoft MVP - Word]


"DeeDeeCee" wrote in message ...

On the Invoice Template I have, there is a column showing the number of
hours worked on a given day. I know I can use a formula like =sum(C1:C7), if
I have exactly 7 days worked. But the number of days on a bill varies, and
often I add lots of rows to the bill, so the column length can vary from 3 to
20. Still, I'd like to have a formula in my template that simply adds up all
the cells above the formula, regardless of how many there end up being. Is
there any such thing? Thanks.

ddc



  #7  
Old October 5th, 2009, 11:01 PM posted to microsoft.public.word.tables
Samy
external usenet poster
 
Posts: 11
Default Advanced calculations in tables--Question 2

Thanks will give that a shot.

"macropod" wrote:

Hi Sammy,

Perhaps the simplest way is to divide the number by the precision you require, before getting the integer value, then multiply the
integer value by that same precision afterwards. For example:
{=INT(SUM(5.53244,6.67432,7.75021)/0.05)*0.05 \# 0.00000}
returns 19.95, whereas the unrounded value is 19.95697

--
Cheers
macropod
[Microsoft MVP - Word]


"Samy" wrote in message ...
Hi Macropod, what an awesome doc need to know how I can round down a decimal
point my formula is SUM(ABOVE)*.14 amd I need to round down if the result is
under 0.05. All the examples I have seen and tried round to a full number.

Thanks Sam

"macropod" wrote:

To see how to do a wide range of other calculations in Word, check out my Word Field Maths Tutorial, at:
http://www.wopr.com/index.php?showtopic=365442
or
http://www.gmayor.com/downloads.htm#Third_party


--
Cheers
macropod
[Microsoft MVP - Word]


"DeeDeeCee" wrote in message ...

On the Invoice Template I have, there is a column showing the number of
hours worked on a given day. I know I can use a formula like =sum(C1:C7), if
I have exactly 7 days worked. But the number of days on a bill varies, and
often I add lots of rows to the bill, so the column length can vary from 3 to
20. Still, I'd like to have a formula in my template that simply adds up all
the cells above the formula, regardless of how many there end up being. Is
there any such thing? Thanks.

ddc



 




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 03:24 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.