Formula to yield a percentage
Hi,
I have 2 formulas, TeamsSignedOutForAllRptGroups and TotalTeamsForAllRptGroups. These yield integer values of 751 and 798 respectively
I need to make a third formula, the % of teams signed out. This is simply
TeamsSignedOutForAllRptGroups / TeamsSignedOutForAllRptGroups
But this comes out as 1.
I have tried
CDBL(TeamsSignedOutForAllRptGroups / TeamsSignedOutForAllRptGroups )
and CDBL(CDBL(TeamsSignedOutForAllRptGroups) /CDBL( TeamsSignedOutForAllRptGroups ))
but it still comes out 1.
I want it to come out .9411 (which is 751/798).
What am I missing to make it do this?
Thanks,
Dick
I made a typo in my original post. It should be:
Hi,
I have 2 formulas, TeamsSignedOutForAllRptGroups and TotalTeamsForAllRptGroups. These yield integer values of 751 and 798 respectively
I need to make a third formula, the % of teams signed out. This is simply
TeamsSignedOutForAllRptGroups / TotalTeamsForAllRptGroups
But this comes out as 1.
I have tried
CDBL(TeamsSignedOutForAllRptGroups / TotalTeamsForAllRptGroups)
and CDBL(CDBL(TeamsSignedOutForAllRptGroups) /CDBL( TotalTeamsForAllRptGroups))
but it still comes out 1.
I want it to come out .9411 (which is 751/798).
What am I missing to make it do this?
Thanks,
Dick
Similar Messages
-
Formula for arriving at percentage of increase/decrease
Does anyone know the formula in Numbers '09 to identify sales increase/decrease percent from one cell or date period compared to another? In Excel it is quite simple, i.e. =(B-A)/A and ENTER. This formula doesn't work in Numbers. I'd like to get deeper into Numbers but this is a stumbling block for me.
ThanksActually, this is the classic textbook manner in which we are trained to arrive at the value of a sales increase or decrease. If, for example we wish to compare December 2008 sales to December 2007 sales, the formula is =(DEC 08-DEC 07)/DEC 07. Then of course you would format the cell to % function and you're good.
The glitch in Numbers is, as you noted, one cannot click the (DEC 07) cell at conclusion. Your work-around in which one simply types it in solves the problem. Another poster offered advice but it was somewhat different, and that formula works perfectly but is used for a different purpose. That is a formula that seeks to identify the percentage of value or relationship between two cells, NOT the increase or decrease. THAT formula is =DEC 08/DEC 07.
Thanks all! -
Formulated Grand total as percentage value
Hi,
Here is my sample data
Val1 Val2 Percentage( Val2/Val1 )
59 16 27%
19 4 21%
78 20 26% (now instead of getting 26% i'm getting 48%). How to get formulated grand total value based on previous two columns ?
ThanksTry this: on your Percentage column, change the aggregation rule to "server complex aggregate."
-
Formula for calculating aggregate percentage and percenatge of gender
hi all
i have a sp from which i get result columns gender,percentage,studentcount,year
my sp is like this..
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[usp_GetState]') AND type in (N'P'))
DROP PROCEDURE usp_GetState
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[usp_GetState]
( @ExamYear Smallint
,@ExamType Nvarchar(10)
AS
BEGIN
SET NOCOUNT ON;
WITH cte_Schools AS
SELECT
[Foreign]= CASE WHEN M.Zone ='F' THEN 'Y' ELSE 'N' END
,CASE WHEN M.Zone ='F' THEN UPPER(C.CountryName) ELSE UPPER(S.StateName) END StateName
,COUNT( DISTINCT M.SchoolCode) Schools
,SUM( M.Nos) Students
FROM rptFinalResultSummaryMaster M
LEFT OUTER JOIN State S ON M.StateCode=S.StateCode AND M.Zone=UPPER(LEFT(S.Zone,1))
LEFT OUTER JOIN Country C ON S.CountryId= C.CountryId
WHERE M.Year=@ExamYear AND M.CourseCode=@ExamType
GROUP BY CASE WHEN M.Zone ='F' THEN 'Y' ELSE 'N' END
,CASE WHEN M.Zone ='F' THEN UPPER(C.CountryName) ELSE UPPER(S.StateName) END
SELECT
SlNo=ROW_NUMBER() OVER(PARTITION BY [Foreign] ORDER BY StateName)
,[Foreign] ,StateName, Schools, Students
, Percentage = (Students/(SELECT SUM(Students)*1.000 FROM cte_Schools))*100
FROM cte_Schools
ORDER BY [Foreign],StateName
END
GO
now..i wrote formula for percentage and when i connected this sp to my rdl where i took tablixi gave percentage value to gender and total percentage column
gender(column group)
total
number percentage
passcategory
this is my tablix format
my output looks like
boys girls
total
number(percentage)
passcategory1 (percenatge) 21 (40.38) 43 (56.75)
64(48.56)
passcategory2 (percenatge) 11 (21.15) 10 (13.51) 31(17.33)
passcategory3 (percentage) 20 (38.46) 21 (28.37) 41(33.41)
total (percentage)
52(xxx) 74 (xxx) 136 (100%)
i'm not getting thegender percentage properly for girls and boys total percentage of boys and girls coming correctly but individual percentage is not properly coming...that's because in sp i gave calculation for only total percenatge ..how can i calculate
the individual percentage of girls and boys in single column...so that i can place in gender column in tablix..and i can retrieve individual percentgaes of girls and boys seperately as shown in output..
please reply..its urgent
thanks in advance..
luckyplease reply..its urgent
Here is a tip: if you want to tick off people from helping you, you should absolutely include "urgent" in your post. That's a good way to encourage people to move to the next post. I did see this one earlier today, but did not have the time.
Anyway, I cannot really make out heads or tails of your question. Your output takes about gender, but I cannot see it in the output from the query, which appears to group by "Foreign" and StateName. How does the boys and girls get into the picture?
And for that matter that "totals" column?
Erland Sommarskog, SQL Server MVP, [email protected] -
Help! I need to create a formula for getting the percentage of something. Can you help?
I need to know how to get the percentage of this.
Here is what I got.
CoverageRevenueTotal / NetRentalRevenueTotal
Thank you,
Rosie Courtney
Handicap Vehicle Specialists
AVA Wheelchair Van Rentals of Phoenix
[email protected]I am not sure I am understanding what you are saying. So let me explain my form a little better or at least try too.
I need to know the Coverage % of the Revenue and the formula I thought would work in formcalc is
CoverageRevenueTotal / NetRentalRevenueTotal
But it is not coming up with the right percentage. What am I doing wrong? -
Report Structure based CKF percentage total colume Error
Dear Guru's
In Report Created structure in Rows structure created formulas for sub total, CKF using in colume for finding percentage on sale,
where formula used in structure, percentage also adding instead of average. Applied exception aggregation for plant but no result
Example scenario : Zone1 created with selection of plant, division and region.same as a UCWL and internal total Zone1+UCWL used formula
percentage CKF working as addition. Red colour highlighted are wrong totals
Month
Target
Prorata
Target
Actuals
Today
Actual
Todate
%Age
Achiev
Target
PPC % age
PPC %Age
Actual
Rajasthan Zone1
45,000
36,000
1,276
27,473
76
67
54
UCWL
25,000
20,000
952
18,183
91
100
76
ZONE1+UCWL Total
70,000
56,000
2,228
45,656
167
167
129
Rajasthan Zone 2
60,000
48,000
1,722
34,746
72
65
10
Rajasthan Total
1,30,000
1,04,000
3,950
80,403
240
232
140
Gujarat-Sirohi
1,12,000
89,600
2,555
85,877
96
42
Gujarat-Kalol
60,000
48,000
1,644
34,945
73
75
30
Gujarat- P Pur
8,000
6,400
247
6,035
94
100
Gujarat Total
1,80,000
1,44,000
4,447
1,26,857
263
217
30
Treat this most urgent, report is pending due to percentage total.
Regards
rameshI applied this:
If([Process Category] InList("Process01") And IsNull([Date]);[Percentage];Max(Date)))
[Percentage] = (Count([Date])/Count([Operation]))*100.
but, this is not becoming true - even when Operation has one Date
Showing result as:
List#,Process01,Process02
100, 11/12/2010, 11/15/2010
But result should be
100,50%,11/15/2010
Can anyone help me achieve the right result!
Thanks in advance. -
Help with multiple date percentage report
Dear all,
I am having problems with getting percentage right on my report which is set to YTD however I am counting records for Last 5 days, Last 4 weeks and Current Date.
I am getting the records perfectly right as I have created 3 different Groups for them. The Running Totals are counting the correct number of records.
As I have two Running totals for each job (Credit Job + Free of Charge Job), these two jobs are getting added up in the report.
For example
YTD formula
Running total of Credit Job + Running Total of Free of Charge Job = Total Jobs
Last 5 Days formula
Running total of Credit Job + Running Total of Free of Charge Job = Total Jobs
Last 4 Weeks formula
Running total of Credit Job + Running Total of Free of Charge Job = Total Jobs
Current Date formula
Running total of Credit Job + Running Total of Free of Charge Job = Total Jobs
To get the grand total of these records, I have created another formula which counts all the above YTD records, L5D records and displays them in the report footer. Grand Total is showing up correctly.
Now, What I want is the percentage of each record, i.e. the percentage of YTD records, L5D records etc.
I have created a formula which counts the percentage but incorrectly.
Here is the formula
Whileprintingrecords;
Numbervar b:=0;
numbervar n:=0;
numbervar m:=0;
b:={@TotalJobsFOCRL5D}; // this is total job, (Credit+Free of charge jobs)
n:={@TotalJobsFOCRL5DGT}; //GT is the grand total showing in report footer
If b=0 then 0 else //if total jobs = 0 then answer is 0
m:=(b/n)*100; // divide total jobs with grand total
totext(m,2)+"%"; //show as percentage
This formula does show the percentage but divides each job by itself. So if Total Jobs = 9 then it shows 100% whereas Grand Total is 479.
Could someone please help me getting the correct percentage.
The percentage formula is placed on the respective group footer.
Regards
Jehanzebclosing no reply
-
How to do a TopN Sort based on a formula
Hi all,
My report has two groups, Store and Department. In the details section are multiple jobs per store with costs. These are subtotalled by Store and Department. I want to compare total spend for each store with the store budget and produce a list of the Top 10 stores based on the percentage actual spend/budget.
My problem is I can only do a Top 10 sort on a summary field and I cannot summarise the percentage field as this is a formula which doesn't seem to allow summaries.
Any help much appreciated.
Cheers,
JDJan,
Here are a couple of options.
1) Do the calcuations on the database (thru either a stored proc or command object).
2) Insert a crosstab where the rows are based on the Store and the summarized field is based on the formula that outputs the percentage of the actual vs budget as a Maximum. You can then do a TopN sort on the crosstab
Edited by: Graham Cunningham on Oct 10, 2008 8:27 AM -
Percentage Calculation in Query
Hi Gurus,
Hope you are all doing good! I have an issue in my query. I have calculated the summation of Profit for 05 and 06 . In the properties these are the specification i have given :
1.Scaling Factor : 1,000,000
2.Number of Decimal Place : 0.0
3.Calculate Result As : Summation
I get the summation for both 05 and 06 correctly. I computed the percentage for
both and seems to be fine.
Formula used for computing percentage : ' / Profit 06' / ' / Profit 05' * 100
My issue being the Over all percentage seems to be high.
Any idea Gurus?
Points would be surely assigned.
Regards,
Sunitha.RHi Norris Silva,
As per your scenario total questions = 11
persons (c1, c2, c3, c4, c5) = 5
c1 answered questions = 5
c2 " " = 5
c3 " " = 1
here to calculate the percentage of answered questions
for each person. This can be calculated as below with use of
calculated key figure
c1's % ---> ci1 answered questions/total questions * 100
5/(551)*100= 45.45%
like write formula in calculated key figure for each person.
Hope it helps you...
Regards,
Ramki. -
Percentages from Numerical Values Assigned to Text
I am new to Excel and am having trouble with what I thought would be a simple formula. I am trying to create a formula that will find the percentage of text in a single column. Example, I am looking for the percentage of "Yes" to "No"
values in a column, and am not sure if I should assign a numerical value and then try and create a formula that will calculate the percentage. I have had no luck so far, any help would be much appreciated.Assuming the yes/no values are in column A, the following formula with give the percentage of 'yes' entries in that column:
=COUNTIF(A:A,"yes")/COUNTA(A:A)*100
If you format the result as %, omit the *100.
Cheers
Paul Edstein
[MS MVP - Word] -
Percentage calculation on query designer (7.0)
Hi experts,
I´m new on Query designer (7.0) and I´m trying to do a finnancial report, so for the lines I create and structure using G/L accounts and in the columns I got the amount for each level in my structure for a month. Now I´m trying to create an Integration percentage, it specifies how high the percentage in a level is in relation to next higher level but so far I couldn't make it...
My report must seem like this:
Structure.............................Amount ...... Int %
1. Assets................................1000 ....... 100%
1.1 Current assets.................... 600 ....... 60% -> (600/1000)*100
- Cash............................. 300 ........ 50% -> (300/600)*100
- Inventories..................... 300 ........ 50% -> (300/600)*100
1.2 Long-term assets................ 400 ....... 40% -> (400/1000)*100
- Property, plant and eq..... 150 ....... 37.5% -> (150/400)*100
- Investment property......... 150 ....... 37.5% -> (150/400)*100
- Intangible assets..............100 ....... 25% -> (100/400)*100
I try to use each Percentage calculation options (%, %A, %CT,%GT, %RT) but it didn't work. Can anyone help me in creating a formula to get this percentage?
ThanksHi,
check this notes and links to get an overview how to use:
III. List Calculations (e.g.'Calculate result as..'):Interesting facts about the OLAP Processor/Analytic Engine
SAP Note Number: [1151957|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31313531393537%7d]
If, in a structure element (key figure ID), you use the 'Calculate Results as' and 'Calculate Single Value as' properties with their additional fields at the same time, priority problems occur and the system behavior is not immediately clear.:
Calculate Results/Single Values as ... priority rules
SAP Note Number: [853058 |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d383533303538%7d]
Regards
Andreas -
Percentage Profit workings?
Hi,
I am using this formula to evaluate the percentage profit on a product :-
=(M464-D464)/(M464*100)
In this case
M464=0.12
D464=0.08
The answer to my formula is 33%
This evaluates the percentage profit between the two prices but what I would like to do is create a formula that calculates this price (M464) from (D464)?
I am struggling with getting htis to work & all the formulas that I have tried come up with different numbers?
Can anyone help me to solve this please?Thanks for the replies, its better that I expalin all to clear this up
Here is an extract from the table
I am working out retail prices & wholesale prices from the cost prices of an item, a mini truck in this case.
Row 4 is the old system that I had.
D4, has no sum, this is filled by me
E4 has no sum, this is filled by me
F4 =(E4-D4)/(E4*100)
G4, has no sum, this is filled by me
H4 =(G4-D4)/(G4*100)
I4 =(E4-G4)/(E4*100)
Previously I have been filling in e4 & g4 then just playing with the numbers until f4, h4 & i4 display the correct profit %.
F4 should be around 50%
H4 & I4 should be 30%
This can take a bit of time so, on updating the table I figured there should be a sum that can do this for me. I am just struggling with it.
I need to work out the costs in this way as it continues the ongoing system & effects how prices are discounted later on, outside of Numbers -
I have a measure that is a loaded percentage. Then I have a formula that references this percentage. In BSO, I would do a calc and then do a backcalc so that the percentage in total wasn't something like 2000000%. Obviously I can't write a back calc and I can't ask the users to only pull level zero of every dimension. How is this typically handled in ASO without writing some crazy MDX formula?
Just to clarify a little further.
I have two members in my accounts dimension
PD%
PD$ = [PD%] * [Volume]
I am loading PD% to level zero members in my product dimension. When I pull an upper level member in the product or any other dimension, it will obviously be giving me a very large number which I am ok with.
When pulling level zero products, PD$ provides the correct results. If I pull any upper level member, I would like to retrieve a summed up amount, not have the formula calculated at that level. Any suggestions? -
I need help with creating some formulas
I'm not sure if anyone around here can help me, but I'm trying to create a Numbers document and need some help with creating a formula/function.
I have a column of amounts and I would like to create a formula which deducts a percentage (11.9%) and puts the result in another column.
If anyone can help me, it would be greatly appreciated.Here is an example that shows one way to do this:
The original data is in column A. In column B we will store formulas to adjust the amounts:
1) select the cell where you want to formula (in this case cell B2)
2) Type the "=" (equal sign):
3) click cell A2:
4) now type the rest of the formula which is: "*(100-11.9)/100" that is asterisk, then open parenthesis, 100 minus eleven point nine close parenthesis forward slash one hundred
The Asterisk is the multiply operator (times) and the forward slash is the division operator (divide)
now hit return. select cell B2 and hover the cursor over the bottom edge of the cell:
drag the little yellow dot down to "fill" the formula down as needed. -
I have a form with fields, "CompletedDays", "TotalDays" and "Percentage". I am trying to write a formula in a the "Percentage" field that indicates, IF "CompletedDays" divided by "TotalDays" is greater than or equal to 60, show 100, else show the calculated amount. Any help would be great, thanks.
You can use this code as the custom calculation script of the Percentage field. It will keep the field blank if either values is blank or zero.
var completedDays = +this.getField("CompletedDays").value;
var totalDays = +this.getField(""TotalDays").value;
if (completedDays==0 || totalDays==0) event.value = "";
else {
if ((completedDays/totalDays)>60) event.value = 100;
else event.value = completedDays/totalDays;
Maybe you are looking for
-
Unable to load performance pack using JRockit 26.3 on Solaris 10
Hi all, I'm getting the following error when starting up my WebLogic 9.1 server instance on Solaris 10. I've recently upgraded from Sun's JVM to JRockit 26.3. I do not get this error when using Sun's JVM. <May 16, 2006 9:16:38 AM EDT> <Error> <Socket
-
EIS data load issue (04/24).
Hi, I am trying to load data using EIS 7.1 to an ASO cube. The log says load was done successfully and that aggregation failed. However, there is no data at the zero level after the load (which could be why aggregation failed). It was running success
-
How to create a exe file from a Java application
hi, i have developed an application in java,now i want to distribute it to my client, for this i need to build a .exe file out of this application. i already have a jar file ,now can i convert a jar file to a exe file. im trying this out with JSmooth
-
When there is archiving done to the recovery area, there is "rdbms ipc message" wait event spike. What to conclude from it? Wait Class Wait Event P1 Text P1 P2 Text P2 P3 Text P3 Wait Time (ms) System I/O log file
-
Can't read Raw files from EOS 700D in CS4
How do I update CS4 and Bridge with ACR 5.0 to accept .CR2 files from EOS 700D? Have tried downloading and installing ACR 5.7 but bridge still opens using 5.0. Any assistance greatly aappreciated, thanks.