#1
|
|||
|
|||
Order of Operations in Word
I am attempting to do the following formula in a mail merge field in Word:
FORMULA IN WORD { = (1 - ((1+(2/100))*(0.995))^19)} When I enter this formula in a Word mail merge field, I get 2.324 However, when I do the formula in excel, I get -0.3244 (the correct answer) FORMULA IN EXCEL =(1 - ((1+2/100)*(0.995))^19) I am driving myself CRAZY! I do not understand what in the world is going on. I believe the Excel value is correct. I have tried everything. I know Word has its peculiarities in Mail Merge and maybe this is something. I have consulted the usual sources (Graham Mayor, etc) and the forums and Google with nooooo luck. Please help! |
#2
|
||||
|
||||
Your Word and Excel formulae can both be reduced to:
=1-((1+2/100)*0.995)^19 and, with the appropriate formatting switch applied to the field in Word: {=1-((1+2/100)*0.995)^19 \# 0.00000} will both return -0.32447. That said, there does seem to be a bug in the Word calculation when you unnecessarily use (0.995) in the calculation; that seems to cause Word to treat the 0.995 as a -ve value. I don't see what this has to do with a mailmerge, however, as no mergefields are involved.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
That worked! Thank you!
Yes definitely some error on Word's part with the parenthesis issue. This is indeed a mail-merge field, but I took it out and replaced it with 0.995 because the mail merge field itself was not an issue with the equation. Next time I post I will categorize it better. Thanks |
Tags |
mail merge, math, order of operations |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I paste items in the order they were copied, not the order the are listed? | manish500 | Word | 6 | 07-25-2018 12:07 AM |
Search text using logical operations? | paik1002 | Word | 1 | 02-21-2016 11:48 PM |
specifying sender account for mail merge operations | eNGiNe | Mail Merge | 3 | 12-19-2014 04:24 AM |
HELP - SUMIF more than 3 conditions + operations in the sum | romelsms123 | Excel | 0 | 06-23-2014 09:59 AM |
Arabic word order | SimonCramer | Word | 0 | 02-23-2012 03:02 PM |