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  

Sum and If Statements in Word Table



 
 
Thread Tools Display Modes
  #1  
Old January 12th, 2010, 08:24 PM posted to microsoft.public.word.tables
Paul
external usenet poster
 
Posts: 1,312
Default Sum and If Statements in Word Table

I am currently using a mail merged document (gathering information from
microsoft access).

I have a table that displays "yes" and "no" under various categories.
Basically, I would like for individuals in particular groups to have a charge
of $250.00 if they do not have a "no" for that particular category. Not every
category is a yes, so I would prefer to use the "not no" criteria.

The statement in excel looks like:
=SUM((IF((B2="Yes"),250,0)),(IF((B4"No"),250,0)) ,(IF((B5"No"),250,0)))

I get a syntax error with this formula.

This works in excel, but not in word's table l formula box.

I would appreciate your help!
  #2  
Old January 12th, 2010, 11:35 PM posted to microsoft.public.word.tables
macropod[_2_]
external usenet poster
 
Posts: 2,402
Default Sum and If Statements in Word Table

Hi Paul,

Unfortunately, Word's cell referencing doesn't work for cells containing text; it's a numbers-only capability. For text, you need to
bookmark the cell contents (not the whole cell) and reference the bookmarks with the formulae.

For more info on field calculations in Word, check out my Word Field Maths Tutorial, at:
http://lounge.windowssecrets.com/ind...owtopic=365442
or
http://www.gmayor.com/downloads.htm#Third_party

--
Cheers
macropod
[Microsoft MVP - Word]


"Paul" wrote in message ...
I am currently using a mail merged document (gathering information from
microsoft access).

I have a table that displays "yes" and "no" under various categories.
Basically, I would like for individuals in particular groups to have a charge
of $250.00 if they do not have a "no" for that particular category. Not every
category is a yes, so I would prefer to use the "not no" criteria.

The statement in excel looks like:
=SUM((IF((B2="Yes"),250,0)),(IF((B4"No"),250,0)) ,(IF((B5"No"),250,0)))

I get a syntax error with this formula.

This works in excel, but not in word's table l formula box.

I would appreciate your help!


 




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 12:50 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.