Microsoft KB Archive/131170

= Works for Windows: Using Tax Rate Format Changes in Templates =

Article ID: 131170

Article Last Modified on 9/25/2003

-

APPLIES TO


 * Microsoft Works 3.0 Standard Edition
 * Microsoft Works 3.0a
 * Microsoft Works 3.0b

-



This article was previously published under Q131170



SUMMARY
The Sales Invoice, Service Invoice, Purchase Order, and Order Form templates allow you to type a tax rate. The tax rate cell is not formatted as a percentage; it is formatted as a general number. If you type a tax rate percentage, such as "7" (without the quotation marks), the Tax cell calculates the amount of tax based on that tax rate percentage.

However, if you type a percent sign with the value, such as "7%", the cell automatically changes the number format to percent. Additional entries into that cell are formatted as a percentage, so that 7 appears as 700%. Typing "7%" results in an incorrect tax amount.



MORE INFORMATION
Works automatically changes the number format of the cell if you type a percent sign after a number. Similarly, the number format changes to currency if you type "$7" or to a date format if you type "7/1/95".

Because templates usually have the Protect Data option selected, you can't immediately return the previous format. To turn off Protect Data, do the following:  Click the tax rate cell. On the Format menu, click Protection. Make sure the Protect Data box is checked. Click OK. On the Format menu, click Number. Click General. Click OK. To turn the protection back on, do the following:  On the Format menu, click Protection.</li> Click Protect Data to place a check in the box. Click OK.</li></ol> </li></ol>

To change the invoice so that you always type the number as a percentage, you need to change the formula that calculates the tax. To change that formula, do the following: <ol> Click the Tax cell.</li> Turn off Protect Data.</li> Change the formula so it doesn't divide the typed amount by 100. For example, in the Sales Invoice template, change the following formula,

=IF(E47#AND#G46,E47/100*G46,"")

to:

=IF(E47#AND#G46,E47*G46,"")

</li></ol>

Once the formatting in the Tax Rate cell is changed to a percentage and the calculation is modified, you can type the percentage value as either 7% or 0.07.

For more information about spreadsheet formulas, see page 162 of the "Microsoft Works User's Guide."

For more information about cell protection, see page 212 of the "Microsoft Works User's Guide."

Additional query words: kbhowto w_works percent format protection data invoice tax rate taxes template

Keywords: kbhowto KB131170

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.