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  

Formula to enter text



 
 
Thread Tools Display Modes
  #1  
Old January 16th, 2008, 01:51 PM posted to microsoft.public.word.tables
Jackie010
external usenet poster
 
Posts: 6
Default Formula to enter text

I want one column (LBS1) to recognize if another column (QTY1) is greater
than 1......if so then enter "ea." in LBS1 column.
Can someone help?
Thanks
  #2  
Old January 16th, 2008, 02:31 PM posted to microsoft.public.word.tables
Graham Mayor
external usenet poster
 
Posts: 18,297
Default Formula to enter text

The only really satisfactory way to do this and ensure that the calculation
updated automatically would be with form fields.
Assuming a form field in the quantity cell called Text1, you could insert a
calculated field in the document where you want ea to display as follows {IF
{Text1} 1 "ea." ""} check the calculate in exit check box of the form
field and lock the form.


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Jackie010 wrote:
I want one column (LBS1) to recognize if another column (QTY1) is
greater than 1......if so then enter "ea." in LBS1 column.
Can someone help?
Thanks



  #3  
Old January 16th, 2008, 03:46 PM posted to microsoft.public.word.tables
Jackie010
external usenet poster
 
Posts: 6
Default Formula to enter text

ok, this isn't working.
do I need spaces in the equation?

"Graham Mayor" wrote:

The only really satisfactory way to do this and ensure that the calculation
updated automatically would be with form fields.
Assuming a form field in the quantity cell called Text1, you could insert a
calculated field in the document where you want ea to display as follows {IF
{Text1} 1 "ea." ""} check the calculate in exit check box of the form
field and lock the form.


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Jackie010 wrote:
I want one column (LBS1) to recognize if another column (QTY1) is
greater than 1......if so then enter "ea." in LBS1 column.
Can someone help?
Thanks




  #4  
Old January 16th, 2008, 04:37 PM posted to microsoft.public.word.tables
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default Formula to enter text

Did you use Ctrl+F9 to insert the { Text1 } field?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Jackie010" wrote in message
...
ok, this isn't working.
do I need spaces in the equation?

"Graham Mayor" wrote:

The only really satisfactory way to do this and ensure that the
calculation
updated automatically would be with form fields.
Assuming a form field in the quantity cell called Text1, you could insert
a
calculated field in the document where you want ea to display as follows
{IF
{Text1} 1 "ea." ""} check the calculate in exit check box of the form
field and lock the form.


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Jackie010 wrote:
I want one column (LBS1) to recognize if another column (QTY1) is
greater than 1......if so then enter "ea." in LBS1 column.
Can someone help?
Thanks







  #5  
Old January 16th, 2008, 05:02 PM posted to microsoft.public.word.tables
Jackie010
external usenet poster
 
Posts: 6
Default Formula to enter text

Yes

"Suzanne S. Barnhill" wrote:

Did you use Ctrl+F9 to insert the { Text1 } field?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Jackie010" wrote in message
...
ok, this isn't working.
do I need spaces in the equation?

"Graham Mayor" wrote:

The only really satisfactory way to do this and ensure that the
calculation
updated automatically would be with form fields.
Assuming a form field in the quantity cell called Text1, you could insert
a
calculated field in the document where you want ea to display as follows
{IF
{Text1} 1 "ea." ""} check the calculate in exit check box of the form
field and lock the form.


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Jackie010 wrote:
I want one column (LBS1) to recognize if another column (QTY1) is
greater than 1......if so then enter "ea." in LBS1 column.
Can someone help?
Thanks







  #6  
Old January 16th, 2008, 09:04 PM posted to microsoft.public.word.tables
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default Formula to enter text

It *might* make a difference whether Text1 is designated a text or number
field. Oh, and did you check "Calculate on exit" in the Form Field Options
for Text1. And Tab out of it (you have to tab to exit, not just click
somewhere else).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Jackie010" wrote in message
...
Yes

"Suzanne S. Barnhill" wrote:

Did you use Ctrl+F9 to insert the { Text1 } field?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Jackie010" wrote in message
...
ok, this isn't working.
do I need spaces in the equation?

"Graham Mayor" wrote:

The only really satisfactory way to do this and ensure that the
calculation
updated automatically would be with form fields.
Assuming a form field in the quantity cell called Text1, you could
insert
a
calculated field in the document where you want ea to display as
follows
{IF
{Text1} 1 "ea." ""} check the calculate in exit check box of the
form
field and lock the form.


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Jackie010 wrote:
I want one column (LBS1) to recognize if another column (QTY1) is
greater than 1......if so then enter "ea." in LBS1 column.
Can someone help?
Thanks











  #7  
Old January 17th, 2008, 07:24 PM posted to microsoft.public.word.tables
Jackie010
external usenet poster
 
Posts: 6
Default Formula to enter text

it seems to me that you're telling me to do things in 2 different windows.
"Form Field" comes up in a small window and there I can click "calculate on
exit". got that.
but I have to work directly on the doc to use the F9 key and tab out like
you're telling me to do.
which way should I be entering the formula?

"Suzanne S. Barnhill" wrote:

It *might* make a difference whether Text1 is designated a text or number
field. Oh, and did you check "Calculate on exit" in the Form Field Options
for Text1. And Tab out of it (you have to tab to exit, not just click
somewhere else).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Jackie010" wrote in message
...
Yes

"Suzanne S. Barnhill" wrote:

Did you use Ctrl+F9 to insert the { Text1 } field?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Jackie010" wrote in message
...
ok, this isn't working.
do I need spaces in the equation?

"Graham Mayor" wrote:

The only really satisfactory way to do this and ensure that the
calculation
updated automatically would be with form fields.
Assuming a form field in the quantity cell called Text1, you could
insert
a
calculated field in the document where you want ea to display as
follows
{IF
{Text1} 1 "ea." ""} check the calculate in exit check box of the
form
field and lock the form.


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Jackie010 wrote:
I want one column (LBS1) to recognize if another column (QTY1) is
greater than 1......if so then enter "ea." in LBS1 column.
Can someone help?
Thanks












  #8  
Old January 17th, 2008, 08:02 PM posted to microsoft.public.word.tables
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default Formula to enter text

The field you need is { IF { Text1 } 1 "ea" "" }

You need a space either side of


and between

1 and "ea"

and between

"ea" and ""

In other places they are optional and would be ignored.

Does the formfield into which the number is being inserted have the bookmark
name of Text1? If, you will need to change the name in the formula to suit.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Jackie010" wrote in message
...
ok, this isn't working.
do I need spaces in the equation?

"Graham Mayor" wrote:

The only really satisfactory way to do this and ensure that the
calculation
updated automatically would be with form fields.
Assuming a form field in the quantity cell called Text1, you could insert
a
calculated field in the document where you want ea to display as follows
{IF
{Text1} 1 "ea." ""} check the calculate in exit check box of the form
field and lock the form.


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Jackie010 wrote:
I want one column (LBS1) to recognize if another column (QTY1) is
greater than 1......if so then enter "ea." in LBS1 column.
Can someone help?
Thanks






  #9  
Old January 17th, 2008, 08:41 PM posted to microsoft.public.word.tables
Jackie010
external usenet poster
 
Posts: 6
Default Formula to enter text

IT WORKS....IT WORKS
Thanks for everyones help!!
mwah, mwah

"Doug Robbins - Word MVP" wrote:

The field you need is { IF { Text1 } 1 "ea" "" }

You need a space either side of


and between

1 and "ea"

and between

"ea" and ""

In other places they are optional and would be ignored.

Does the formfield into which the number is being inserted have the bookmark
name of Text1? If, you will need to change the name in the formula to suit.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Jackie010" wrote in message
...
ok, this isn't working.
do I need spaces in the equation?

"Graham Mayor" wrote:

The only really satisfactory way to do this and ensure that the
calculation
updated automatically would be with form fields.
Assuming a form field in the quantity cell called Text1, you could insert
a
calculated field in the document where you want ea to display as follows
{IF
{Text1} 1 "ea." ""} check the calculate in exit check box of the form
field and lock the form.


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Jackie010 wrote:
I want one column (LBS1) to recognize if another column (QTY1) is
greater than 1......if so then enter "ea." in LBS1 column.
Can someone help?
Thanks






 




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 11:22 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.