General :: Adding Decimal Amounts To A Percentage Expression

Jan 4, 2013

I'm having difficulty in adding decimal amounts to a percentage expression.On a form in a text box I have a percentage expression of 73.38%. In a combo box I have a drop down menu of: 0.75, 0.5, 0.25, 0, -.25, -.5, -.75With another text box I would like to have the decimal amounts added to the percentage. For example, 73.38% + .5..Which will equal in the text box: 73.88%

View Replies


ADVERTISEMENT

Adding Amounts Per Record

Jun 25, 2006

Hi to all!
I face the following problem: I cannot add amounts per line!
I have one table consisting of many different columns (fields), some of them having amounts. I want to update this table by doing the following:
let's say I have the following records:
1/6/2006 A 12
1/5/2006 B 20
15/6/2006 C 21
22/6/2006 D 17
25/6/2006 E 30.
I want to use a filter (e.g. the date being between 1/6/2006-30/6/2006), sort the records descending according to the amounts and then add in another field of the table A, B or C, according to whether the total amount including the specific record is above 70% of the total or above 90% of the total. In the specific example I want the following result:
25/6/2006 E 30 A
15/6/2006 C 21 A
22/6/2006 D 17 B
1/6/2006 A 12 C
Their total amount is 30+21+17+12=80 and the percentage of each record is: E:0.375 , C:0.2625 , D:0.2125 and A:0.15. Their adding percentage is
E:0.375 , E+C:0.6375 , E+C+D:0.85 and E+C+D+A:1.
How can I do that? I calculate the percentage of each record in a query, but how can I calculate their adding percentage, so that I can use an if-clause in an appending query?
Please help!!
Thanks in advance for your time

Panagiotis

View 4 Replies View Related

How To Move Decimal Place For Percentage

Jan 18, 2006

On a from I am creating I want to make it user friendly. They enter an amount for a percentage. I have the format set to percentage. If you type in 99 you get 9900% instead of 99%. Is there an easy way to correct this?

Thanks

View 4 Replies View Related

Percentage Expression

Oct 24, 2007

Hello All,

I am not sure what I am doing wrong. I am trying to get a percentage of two numbers and the expression is not comming out right. This is the expression:

Expr1: [Ontime PU.CountOfP Performance]-[Late PU.CountOfP Performance]/[Ontime PU.CountOfP Performance]

Here is what it should do:

1242-68/1242=0.94524959742351046698872785829308 (which would be 95%)

For reason it is not doing this?????

Any Ideas????

Thanks

View 11 Replies View Related

Expression To Get A Percentage

Jan 22, 2005

For several days now, I have been trying to write an expression, in a report, to get a percentage. I am new to Access so I don't completely get it yet. This is the expression I wrote (only works sometimes):

=[pathjbo50]/([pathjbo50]+[pathcol50]+[pathpp50])

This expression only works when all the fields are populated. If any of the fields are empty, I get nothing.

Please help!

View 2 Replies View Related

Creating Expression To Find A Percentage

Jan 20, 2005

I created the following expression on a report, under the details, in a text box:

=nz(pathjbo50,0)/nz(pathjbo50,0)+nz(pathcol50,0)+nz(pathpp50,0)+nz( pathlm50,0)

what I want is to find out what percentage pathjbo50 is of the sum of the other 4 fields.

but I keep getting an "Error" message. How do I get this percentage?

Where is the best place to find literature on writting expressions?

View 2 Replies View Related

General :: Formatting Columns To Not Round Dollar Amounts

Mar 7, 2013

I've run into a situation with our Access Database where sometimes when we import information into it from an Excel sheet the dollar amounts get rounded out. For example, the amount of $726.68 shows as that in the database but when you click on the field/cell it's in it shows as $726.6799. It doesn't do this for every field which is weird. The data from the excel sheet is not roudned out either, it shows the amount as $726.68 so it appears to be something funny going on with Access. Under the formatting area, the data type is set as currency and format is currency.

View 8 Replies View Related

Queries :: Calculating Percentage - Exclude Null Values From Expression

Mar 10, 2014

I'm trying to create an expression to calculate percentage.

The fields, Value A and Value B might both have null values, but I do not want Access to treat nulls as zero (as in the Nz() fn). How do I get the expression to exclude any nulls and not calculate for those rows, but set the calculated value for a row with null A or B to zero.

I want it to set no calculated value to zero so I don't get overflow errors and can therefore order the data by the calculated field.

View 1 Replies View Related

General :: How To Sum Amounts In List Box Column And Show Total On Main Form

Oct 19, 2012

How can I sum the amounts in the list box column and show the total on the main form?

View 2 Replies View Related

Adding A Space After The Decimal!

Aug 16, 2006

Hello Everyone :cool: ,

In access, I have a field in a table that I need to fix. The field contains a charge(money) value, with a code attached to it. For example:

[2345.0020680]---> The (2345.00) is the charage amount & the (20680) is the code.

[17580.04PPO]----> (17580.04) is Charge; (PPO) is the code.

**Every charge amount is different, and every codes length is different; so there is no consistency in this field.

I need to add a space, comma, backslash, or something two places after the decimal, to split the two. Once I do that I'll export to excel, and split the field into 2.

HELP!:confused:

Thanks in advance everyone,

Martian262002

View 5 Replies View Related

Queries :: Adding Percentage Field Into Query

Apr 25, 2014

I have a database which tracks the performance of my team and how long it took them to send something out to the customer. We have a target of 5 minutes.

So I quite a few queries to drill down this information. I have a summary query that takes that information and tells me the total amount of things sent, the amount of things sent in time and the amount of things sent late.

My team have to get at least 95% out on time. So how would I go about adding this bit into the query. The calculation is:

The amount sent on time / the total amount * 100

But is there anyway to add this into a 4th column displayed next to these figures?

Looking around a few people have talked about SQL but I no nothing about this and it seems quite daunting, is there a way to do this as a calculated field?

View 1 Replies View Related

Adding Decimal Place To Integer Field

Jun 9, 2015

Successful in loading an Access database with data from the PLC's memory. Unfortunately, I'm only able to transfer Integer values. In the database I'd like to show one of the fields as a real number by formatting the Integer value to add a decimal place. Example: 2505 to 250.5

View 11 Replies View Related

Reports :: Adding Another Field In Report To Show Percentage Of Two Columns

Sep 2, 2014

I have two collums, currentowed and currentpaid. i want to add another field to my report showing the percent of currentpaid to currentowed but I can't seem to be able to make it work. I tried:

=sum([currentpaid]/[currentowed]) and it doesn't work.

View 3 Replies View Related

Number Field Adding Bogus Data Beyond Decimal Point

Jan 6, 2008

I have a field for Item Price.
It would be a currency field, but I want it to be able to work with up to 6 decimal places. currency only seems to handle 4.
So, in the table, i changed it to a Single.
In the form, I left the control on Currency.

If I type in $1.43, instead of storing $1.43000000 it stores $1.43003243953

Why is it adding all these bogus sub decimal numbers? Any clue?

Thank you,
Evan

View 5 Replies View Related

Adding Two Expression??

Jun 2, 2005

I Have a field that I need to manipulate the data in.

sample data follows [Field9]:

1 to 1 (cover page)
1 to 3 (no cover page)
etc..

this field identifies number of fax pages sent, eg
“1 to 1 (cover page)” is actually 2 pages, an attachment plus cover page
“1 to 3 (no cover page)” is actually 3 pages, 3 page attachment without cover page

What I want is just the total number of pages in this field.

I have written two expression that dissects the field in two, left hand side gives me a numeric number of attachments and right hand side a numeric value for the existence of a cover page or not.

Expr1: Mid([Field9],6,1)

Expr2: IIf(Right([Field9],15)="(no cover page)","0","1")

Each individual expression seems to do the right thing, but I have been unable to figure out how to add Expr1 and Expr2 to give me total pages.

Any help would be appreciated
J/

View 2 Replies View Related

General :: Calculating Percentage - Getting Error

Jul 6, 2012

I'm guessing it's a syntax problem.

This one doesn't give me an error, its just blank:

=Count("[QueryName]![QueryField]='String'")

This one gives me an Error. It's supposed to calculate a percentage. [ReportField] is working properly:

=[ReportField]/Sum([QueryName]![QueryField])

View 9 Replies View Related

General :: Conditional Formatting Percentage Result

Sep 26, 2012

I have a subform based on a query. In that query, I have calculated values for price+tax and another price+discount+tax. Now I have a conditional formatting that if the gross total is not equal to amount due, the amount due box will turn red. However even if they are equal visually, it still turns red. Ex. The gross total is 336.00 and the amount due is 336.00 also, so it should NOT turn red, but it does. When I click on the amount due control, the value turns into 335.999999195337. How do I tell access not to make 336.00 into 335.999999195337.

View 3 Replies View Related

General :: Chart In Report Cannot Display In Percentage

Jan 20, 2014

I have problem that my chart in report cannot display values in "percentage" as it is in query no matter what.

Sample is in the attachment.

View 2 Replies View Related

Queries :: Adding Expression As A Criteria?

Sep 8, 2014

I have a query I'm working with that finds data that changes, calculates the numbers, then prints a result in another column. The problem is that if I don't have any changes, then I have a blank result. Normally this wouldn't be a problem, but I'm making reports available to other users and would like this populated.

What seems simplest is to add an expression in the criteria field for the column that displays data after crunching numbers. Since this only has a display if something has changed, then I need an expression added if there is no data. Can I add something like an IsNull expression to display the results from another column in the same table? The data will end up being redundant, but I'm ok with that for now. the report should probably have the expression, but the column is already here in this table.

View 5 Replies View Related

Reports :: Adding Another Expression To Database

Jul 21, 2013

in my daily roll call report i have 2 groups..."on program" and "graduates" these 2 groups are creating in the query...as u see in the 2nd pic... the expression as followed

Expr1: IIf([Date Graduated]<Date(),Date(),[Date Graduated])

next you can see in my 3rd pic the report and the expression that gives the 2 groups there names...it is as followed

=IIf(IsNull([Date Out]),IIf(IsNull([Date Graduated]),"On Program","Graduates"),"Recent Departures")

i will clarify that i took out the names in the roll call but both groups are sorted by the date they came in going down the list..now i need to add another group "Staff Members" to my roll call.every way i have tried altering the query expression or the report expression result in a blank roll call.

View 14 Replies View Related

General :: Dynamic Decimal Places Within Same Field

Oct 25, 2013

Is it possible for a report's displayed decimal places to be conditional.

I have field that has a lab test's name a field that displays the result of the test.

For some tests I only want 2 decimal places, for others I want 4. Is this possible within the same field?

View 2 Replies View Related

General :: Scaling Of Decimal Value Resulted In Truncation?

Mar 22, 2013

I'm using Access 2003 to create some reports for an insurance company I work for by interrogating the Informix database of our policy maintenance software via an ODBC connection. The linked tables and the fields included within cannot be edited due to permission restrictions (the software is provided by a third party) but this doesn't usually cause issues.

However, I've recently created a Query that extracts a *number* field from one of our database tables, but I'm having trouble due to the 'Scale' attributed to this field in the Access table settings.

Access recognizes that the field is a 'Decimal' type, but attributes a 'scale' of '0' which causes an error. 'Scale' (for those who aren't aware) refers to the maximum number of digits that can appear to the right of a decimal separator, meaning whenever this value exceeds 0 (e.g. if an advisor enters something like 240.51 - a 'Scale' of '2'), the 'Scaling of decimal value resulted in truncation' error occurs.

As mentioned earlier, we don't have the ability to amend the Scale attributed to this value due to permission restrictions, although I'm told that 'Scale' is set in Access and not on the external database anyway.

how to bypass this issue? I can't reformat the field as Access attributes the Scale upon the initial linking of the table, long before the field is used in any queries. Permission restrictions also prevent me from amending the 'Scale' value in the linked table settings.

The software house themselves can't assist as they've set this value to hold multiple decimals on the actual database. It's as if Access only checks a small proportion of the fields held in the table (the first few hundred of this particular field are whole numbers) and attributes the scale based on this.

View 4 Replies View Related

General :: Making A Query To Calculate The Percentage Of Change?

Mar 27, 2013

I have this table

Year AvgOfValue
2005 109.061690295772
2009 106.801581389669

I have to calculate the percentage of change of the values. I have very basic knowledge. How can I make a query to calculate the percentage of change?

View 2 Replies View Related

General :: How To Calculate Percentage Of Correct Responses PER RECORD

Sep 12, 2013

What I'm looking to do is calculate the success rate (%) of compliance rates with Quality Control paperwork. Essentially, each record has 12 "check box" fields representing the different QC sheets that are submitted each day.

QCflavourChange
QCfillerOperator
QCblowMoulding
QCtorqueTest
QCnetContents
QClabeller
QCpacker
QCpalletiser
RMpreform
RMclosure
RMlabel
RMcarton

I have been able to find the code for counting the success rate of a specific type of QC sheet across multiple days worth of testing, eg:

=Sum(IIf([RMpreform]=True,1,0))])

But I have been unable to determine how I can count the total of all the successful fields listed above, across a single record.

View 7 Replies View Related

General :: Data Label On Chart Not Showing Percentage Value

Mar 11, 2014

I created a table called weld_performance. it consist weld_id, weld_prod, total_rt, accepted, rejected, and rejection rate. from weld_prod until rejection rate, the type data is number. the rejection rate field size is Single, and Format is Percent.

Based on this table, i create a query called query1. and based on this query1, i create a chart. please see attachment pic001. as you can see the data label on the chart is showing 0.66667. but in my query1, the value is 67%. if i click the value (67%) it's change to 0.66667.

So I guess, the chart is read the 0.66667 value from the query. now what i want to ask is, how can my chart data label is shown 67% instead of 0.66667 ??

Environment: Windows 7, Ms. Access 2010

View 2 Replies View Related

Adding X Months To A Date In Criteria Expression

Sep 4, 2006

Hi all,

I need to be able to add x months to a given date which I'm using in a criteria expression. I've figured out that I can just add y number of days, but the answers aren't quite accurate across different ranges of months.

I'm after something like
<[BeginDate] And >([BeginDate]+[3months])

but I haven't turned up anything useful in an hour of googling - finding it difficult to define what I want in search engine terms.

Cheers,
Alex

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved