Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
paul paul is offline
external usenet poster
 
Posts: 249
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   Report Post  
Posted to microsoft.public.word.tables
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
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!


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with If statements in a Word Table using Form fields Carol Microsoft Word Help 11 November 26th 08 12:51 AM
Using Formulas within IF statements in Word TrueEnigma Tables 3 August 15th 08 12:01 AM
IF Statements in Word Fields Erika Microsoft Word Help 1 August 1st 07 11:58 AM
If -Then-Else Statements in Word 2003 bxgti4x4 Mailmerge 7 March 16th 07 10:10 AM
how to create cells in table using if statements in word DMAX Mailmerge 1 December 6th 06 07:55 PM


All times are GMT +1. The time now is 11:48 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"