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 multiply values from drop down boxes in table.



 
 
Thread Tools Display Modes
  #1  
Old December 7th, 2007, 07:25 PM posted to microsoft.public.word.tables
ComputerLady
external usenet poster
 
Posts: 1
Default Formula to multiply values from drop down boxes in table.

I have a table with drop down boxes in 2 cells. I want to put a formula in a
third cell to multiply the 2 values.
If I just enter 2 numbers, the formula works. If I select from the drop
down boxes, it doesn't.

Also, how can I get the third cell to update automatically, without hitting
F9.

Thanks
  #2  
Old December 7th, 2007, 10:18 PM posted to microsoft.public.word.tables
Lene Fredborg
external usenet poster
 
Posts: 1,294
Default Formula to multiply values from drop down boxes in table.

Did you remember to turn on "Calculate on exit" in the Drop-Down Form Field
Options dialog box for each of the drop-down fields?

If your drop-down fields are named DropDown1 and DropDown2, you could insert
a field (not a form field) with the following code in the cell where you want
to display the product of the two drop-down fields:

{ ={REF DropDown1}*{REF DropDown2}}

Note that all the field braces must be inserted using Ctrl+F9.

The product field will update when you "exit" one of the drop-down fields by
clicking on or tabbing to the next form field.

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word


"ComputerLady" wrote:

I have a table with drop down boxes in 2 cells. I want to put a formula in a
third cell to multiply the 2 values.
If I just enter 2 numbers, the formula works. If I select from the drop
down boxes, it doesn't.

Also, how can I get the third cell to update automatically, without hitting
F9.

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 10:29 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.