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

Field with IF and nested formula not working



 
 
Thread Tools Display Modes
  #1  
Old May 14th, 2004, 03:56 PM
external usenet poster
 
Posts: n/a
Default Field with IF and nested formula not working

Shouldn't this work so that if the value of bookmark1 * bookmark2 is
anything other then 0 it will display the value of bookmark1 * bookmark2,
otherwise it will be blank. In stead it shows no matter what the value of
the bookmarks are.


Insert-Field
Field Codes:

IF { = bookmark1 * bookmark2 } 0 { = bookmark1 * bookmark2 }

If it matters it's word 2000

Thanks
RC


  #2  
Old May 14th, 2004, 04:17 PM
Graham Mayor
external usenet poster
 
Posts: n/a
Default Field with IF and nested formula not working

If the field result is then you have not created a field but simply typed
the entry. You must use CTRL+F9 for each pair of field boundaries. The
syntax would then be:

{IF{={REF Bookmark1} * {REF Bookmark2}} 0 "{={REF Bookmark1} * {REF
Bookmark2}}"}
or
{IF{={Bookmark1} * {Bookmark2}} 0 "{=({Bookmark1} * {Bookmark2}}" }


--

Graham Mayor - Word MVP

Web site www.gmayor.com
Word MVP web site www.mvps.org/word




RC wrote:
Shouldn't this work so that if the value of bookmark1 * bookmark2 is
anything other then 0 it will display the value of bookmark1 *
bookmark2, otherwise it will be blank. In stead it shows no matter
what the value of the bookmarks are.


Insert-Field
Field Codes:

IF { = bookmark1 * bookmark2 } 0 { = bookmark1 * bookmark2 }

If it matters it's word 2000

Thanks
RC



 




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 04:55 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.