![]() |
|
#1
|
|||
|
|||
![]()
I work in a law firm and am attempting to create a document which calculates formulas.
This is what I need: I have a paragraph based on IF/THEN - If there is child support involved, then we need to subtract that number from a number above. The number above is { =((settlefee)-(costs)-(settlefee*25%)) \# "$#,##0.00;($#,##0.00)" \*DollarText \*Upper } This formula works. I want to be able to bookmark the formula result and put it in my IF/THEN paragraph with another formula. That formula would be the result above less the child support. So, I want something to the tune of { =resultabove-support }. Is there a way to do this? |
#2
|
|||
|
|||
![]()
You should be able to select the formula and bookmark it (e.g., bmRA)
Then used {={bmRA}-support} with support, I assume is some number. |
#3
|
|||
|
|||
![]()
Thanks Greg - I did try to bookmark the formula, but when I ran the merge, it simply placed the formula, and not the numerical result, in the document where I placed the bookmark. I may be trying to pick up the formula from the wrong spot.
|
#4
|
||||
|
||||
![]()
Because you're using DollaText, the field output is text and you'll not be able to use the bookmarked result as the input to another formula. However, a change to the field code will allow you to overcome that. Simplify the calculation and embed it in its own field, thus:
{={=settlefee*0.75-costs \# 0.00} \*DollarText \*Upper } and bookmark the portion in red. Note that the braces (ie {}) ecompassing the red portion are field braces, which you create via Ctrl-F9. Alternatively, create a SET field to hold the calculation and refer to the SET field's bookmark for both purposes: {SET Result {=settlefee*0.75-costs \# 0.00}} {REF Result \*DollarText \*Upper} - for the existing output {=Result-Support \*DollarText \*Upper} - for the additional output
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
allocate 0% to resource results in 99% complete ? | Intruder | Project | 3 | 02-28-2012 12:58 PM |
![]() |
alexb123 | Mail Merge | 2 | 08-12-2011 02:27 PM |
Search results disappearing | Emerogork | Office | 3 | 07-17-2011 03:52 PM |
![]() |
p0k | Excel | 1 | 10-22-2009 08:33 PM |
filesaveas method for ms project in c# results in error | mikimik | Project | 0 | 10-12-2006 07:53 AM |