Hi
Win 10 Office 365
I am wanting to create a table that adds columns C & D and then in column H multiplies the result, column E by data in column G. I wish it copy down automatically when I add a new row below.
cheers
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Table calculations
To see how to do this and a wide range of other calculations in Word, check out my Microsoft Word Field Maths Tutorial, in the ‘Sticky’ thread at the top of this forum:
http://windowssecrets.com/forums/showthread//154369-Microsoft-Word-Field-Maths-Tutorial
Alternatively, use filling-in-forms protection and a macro. See, for example:
Adding a new row to a table in a document with formfields:
http://www.msofficeforums.com/word-vba/13955-macro-add-row-table-word-form.html#post38312
Adding a new row to a table in a document with content controls:
http://www.msofficeforums.com/word-vba/13955-macro-add-row-table-word-form.html#post38461
If none of those options suit your needs, consider using an embedded Excel worksheet.
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
46738-Hazard-Identification46737-codePaul
I have entered the field code using Ctrl F9 as follows
46737-code
In column H I wish to calculate E * G and then add a new row if required
You appear not to have taken account of the ‘Note’ to the Relative Referencing in Tables topic. You need to make the modifications described there, since your data don’t start on the first row of the table.
Furthermore, your field braces are for the most part typed; you can’t do that – they must be created in pairs via Ctrl-F9 or via Insert|Quick Parts|Field.
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Paul this thing is doing my head in!
I can’t seem to get the row add function to activate when I add a new row.46749-Hazard-Identification
Since you’re using content controls, not formfields, you might get better results if you use a macro that works with content controls…
See, for example: http://www.msofficeforums.com/word-vba/27809-code-add-new-row-table.html#post87989
And, since you’re using macros, you may as well replace the field coding with macro coding that does the same job.
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Paul
I thought I had this sorted but for some reason it just doesn’t want to behave!
46760-Hazard-Identification-2
Paul
In the attached I believe the code for the fields is correct and input using Ctrl F9 for all brackets. However, When I select a value in cells C & D it fails to calculate in cell E. Similarly for cell H which is also giving a Syntax error message when the code is identical to that in cell E.
46760-Hazard-Identification-2
Can you help?
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications