Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Short Question- 100% Percent?

Status
Not open for further replies.

kutibo

MIS
Dec 19, 2000
22
US
How can I force percentages to add up to 100%? Example:
Qty. Total Qty. Percent
100 300 33.33%
100 300 33.33%
100 300 33.34%

Thanks
 
In Access 2000 you can just use the round function on the result to make it the proper number of digits

ROUND(number,num_digits)
 
Thanks and good idea... but I have to use '97
 
It's unclear how you're applying this, however, in your example:

Sum(Qty) / (Total Qty) will return 1 (i.e. 100%)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top