Results 1 to 2 of 2
  1. #1
    jrockusa is offline Novice
    Windows XP Access 97
    Join Date
    Nov 2009
    Posts
    4

    How to calculate a percentage on form

    Hello all,

    I am attempting to calculate a percentage on an Access form with the expression builder using the information from the following query results. Please see below. What I need to do is determine the error capture rate for each error type.

    For example, for Coding (highlighted in yellow) the formula would be
    (35) / (35+6) = 85.36%

    Anotherwards, (Error Type "Items Failed") / (Error Type "Items Failed" + Error Type "Fin Err").

    Is this possible? Any help would be appreciated. Thanks!



    Field 1 Field 2 Field 3

    Error Type CountOf Error Type FinErrItemFailed

    Coding 6 FinErr
    Coding 35 ItemFailed
    Last edited by jrockusa; 03-31-2010 at 11:21 AM. Reason: The information uploaded incorrectly

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    As the control source of a textbox it would look like:

    =Field1/(Field1 + Field2)
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Calculate Interest
    By jgelpi16 in forum Queries
    Replies: 3
    Last Post: 08-19-2016, 08:01 PM
  2. Calculate avg in a report
    By bob006 in forum Reports
    Replies: 1
    Last Post: 11-18-2009, 06:31 PM
  3. Use report to Calculate sum and percentage
    By bangemd in forum Reports
    Replies: 3
    Last Post: 05-28-2009, 12:01 PM
  4. Percentage Queries
    By bangemd in forum Queries
    Replies: 18
    Last Post: 05-21-2009, 09:32 AM
  5. percentage in a query
    By Peljo in forum Access
    Replies: 2
    Last Post: 02-27-2008, 10:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums