Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
TrueEnigma TrueEnigma is offline
external usenet poster
 
Posts: 1
Default Using Formulas within IF statements in Word

Am trying insert an IF condition into a table. The True part is a formula but
I cannot seem to find a way of doing it

If C3 = B then H3 = F3-G3 if false then to return 0

TYIA
  #2   Report Post  
Posted to microsoft.public.word.tables
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Using Formulas within IF statements in Word

Hi TrueEnigma,

Unfortunately, Word's cell references only return numerical values. To see how to refer to & test strings, plus perform a wide range
of other calculations in Word, check out my Word Field Maths 'tutorial', at:
http://www.wopr.com/cgi-bin/w3t/show...?Number=365442
or
http://www.gmayor.com/downloads.htm#Third_party
In particular, look at the items titled 'Referencing Cells Containing Text' and 'Testing Or Returning Cell Contents In Tables'.


--
Cheers
macropod
[MVP - Microsoft Word]


"TrueEnigma" wrote in message ...
Am trying insert an IF condition into a table. The True part is a formula but
I cannot seem to find a way of doing it

If C3 = B then H3 = F3-G3 if false then to return 0

TYIA


  #3   Report Post  
Posted to microsoft.public.word.tables
Microsmith Microsmith is offline
external usenet poster
 
Posts: 9
Default Using Formulas within IF statements in Word

Hey macropad,

That document you wrote on Word field math is great. Why does Word have to
make things so hard? Thanks

TrueEnigma, using macropads advice, your formula would look something like
this:

Open the formula dialog box (in 2007 its under Layout)

Type a formula like this:

IF MyTest = "Hi" "True Statement" "False Statement"

Wher MyTest is a bookmark containing the text being evaluated. Don't
bookmark the cell, just the cell contents.

microsmith

"macropod" wrote:

Hi TrueEnigma,

Unfortunately, Word's cell references only return numerical values. To see how to refer to & test strings, plus perform a wide range
of other calculations in Word, check out my Word Field Maths 'tutorial', at:
http://www.wopr.com/cgi-bin/w3t/show...?Number=365442
or
http://www.gmayor.com/downloads.htm#Third_party
In particular, look at the items titled 'Referencing Cells Containing Text' and 'Testing Or Returning Cell Contents In Tables'.


--
Cheers
macropod
[MVP - Microsoft Word]


"TrueEnigma" wrote in message ...
Am trying insert an IF condition into a table. The True part is a formula but
I cannot seem to find a way of doing it

If C3 = B then H3 = F3-G3 if false then to return 0

TYIA



  #4   Report Post  
Posted to microsoft.public.word.tables
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Using Formulas within IF statements in Word

Hi Microsmith,

For a product that is marketed as a Financial Reporting tool, "Formula Builder for MS Word" seems to lack some basic functionality.
For example, I'd want to see a built-in logarithm functions or, even better, functions for NPR calculations and the like.

On top of that, the 'Formula Builder for MS Word' trial I downloaded was set to expire on 30 June 2008 and the 'Accounting Edition'
wouldn't run at all, which made it a bit hard to test ...

--
Cheers
macropod
[MVP - Microsoft Word]


"Microsmith" wrote in message ...
Hey macropad,

That document you wrote on Word field math is great. Why does Word have to
make things so hard? Thanks

TrueEnigma, using macropads advice, your formula would look something like
this:

Open the formula dialog box (in 2007 its under Layout)

Type a formula like this:

IF MyTest = "Hi" "True Statement" "False Statement"

Wher MyTest is a bookmark containing the text being evaluated. Don't
bookmark the cell, just the cell contents.

microsmith

"macropod" wrote:

Hi TrueEnigma,

Unfortunately, Word's cell references only return numerical values. To see how to refer to & test strings, plus perform a wide
range
of other calculations in Word, check out my Word Field Maths 'tutorial', at:
http://www.wopr.com/cgi-bin/w3t/show...?Number=365442
or
http://www.gmayor.com/downloads.htm#Third_party
In particular, look at the items titled 'Referencing Cells Containing Text' and 'Testing Or Returning Cell Contents In Tables'.


--
Cheers
macropod
[MVP - Microsoft Word]


"TrueEnigma" wrote in message ...
Am trying insert an IF condition into a table. The True part is a formula but
I cannot seem to find a way of doing it

If C3 = B then H3 = F3-G3 if false then to return 0

TYIA




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
Word mailmerge how to do multiple If statements Pearl Mailmerge 22 April 22nd 23 02:49 PM
If Statements in Word 2007 How To? JohnH Mailmerge 5 December 1st 07 06:38 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 do i use multiple IF statements in word 2000? dg Mailmerge 1 August 18th 05 06:24 AM


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