VBA-Summing Data in Table in Ms word Contains Text. etc..
-
- 3StarLounger
- Posts: 240
- Joined: 17 Feb 2022, 05:16
Re: VBA-Summing Data in Table in Ms word Contains Text. etc..
hi paul, thank you very much!!
-
- 3StarLounger
- Posts: 240
- Joined: 17 Feb 2022, 05:16
Re: VBA-Summing Data in Table in Ms word Contains Text. etc..
hi paul, how average for adjacent column?
with your formula the all result are same. should not like that.
with your formula the all result are same. should not like that.
You do not have the required permissions to view the files attached to this post.
-
- 4StarLounger
- Posts: 508
- Joined: 17 Dec 2010, 03:14
Re: VBA-Summing Data in Table in Ms word Contains Text. etc..
Clearly, you have to adjust the column references...
Paul Edstein
[Fmr MS MVP - Word]
[Fmr MS MVP - Word]
-
- 3StarLounger
- Posts: 240
- Joined: 17 Feb 2022, 05:16
Re: VBA-Summing Data in Table in Ms word Contains Text. etc..
hi paul,..i am sill confuse how to set for another column cause the same lines (lines 40 & 47) but different column as target.
-
- 4StarLounger
- Posts: 508
- Joined: 17 Dec 2010, 03:14
Re: VBA-Summing Data in Table in Ms word Contains Text. etc..
For example:
{=AVERAGE(C40,D47)}
...
{=AVERAGE(E40,F47)}
...
{=AVERAGE(G40,H47)}
...
{=AVERAGE(I40,J47)}
Word is not like Excel - you can't simply copy the formula from one column to the next and have the cell references update - the cell references all have to be individually typed.
{=AVERAGE(C40,D47)}
...
{=AVERAGE(E40,F47)}
...
{=AVERAGE(G40,H47)}
...
{=AVERAGE(I40,J47)}
Word is not like Excel - you can't simply copy the formula from one column to the next and have the cell references update - the cell references all have to be individually typed.
Paul Edstein
[Fmr MS MVP - Word]
[Fmr MS MVP - Word]
-
- 3StarLounger
- Posts: 240
- Joined: 17 Feb 2022, 05:16
Re: VBA-Summing Data in Table in Ms word Contains Text. etc..
hi paul, thank you