Pie Chart Percentage Calculation Incorrect

Aug 21, 2013

This is so simple, yet Excel doesn't give the correct value. So, here you go, I only have 2 Cells and 2 Labels. One Label for one Number and the other Label for the other Number.

For the Pie Chart I chose Cells:

Cell B36 with the number $54288
Cell B39 with the number $166113

By simply viewing this one can see one of the Percentages should be around 33% and the other 66%. However, Excel gives it a Percentage of 25% and 75%.

How can I get the correct values?

View 2 Replies


ADVERTISEMENT

Incorrect Percentage On Pivot Chart

Oct 20, 2007

If I simply publish the pivot chart, the correct percent values are displayed on the y-axis. However, when I publish it with the interactivty option, the percent values are wrong. For example, the actual value is supposed to be 13.7% but graph shows 46496000.00%. The other oddity is that the table published in interactive mode has the correct values.

View 3 Replies View Related

Date And Time Calculation Giving Incorrect Answer

Nov 21, 2011

The following formula seems to be incorrect. I typed in the times and dates to get the difference in hours, but my times are in 5 minute blocks, so the answer is given doesnt add up

Start DateFinsh date Hours15/11/2011 13:5017/11/2011 2:2536.58

View 3 Replies View Related

Incorrect Plot Order: Area Chart

Oct 26, 2006

I have plenty of experience with VBA outside of charts so that's where I need assistance. I need to get SeriesCollection(4), the PTAI series, to appear on the area chart second from the bottom instead of on the top.

The order for the non-line series should be, from top to bottom:
SeriesCollection(3) - Non-Mission AC ( Training, T&E, AMarc series)
SeriesCollection(2) - Total Pipeline series
SeriesCollection(4) - PTAI series
SeriesCollection(1) - Available PMAI series

Here's the

Sub MakeSandChart()

Dim ChartSource As Range
Dim ChartName As String
Dim ChartSheet As String
Dim yCount As Integer
Dim PAA_Value As Integer

Application. ScreenUpdating = False

passtype = Mid(ActiveSheet.Name, 5, 1)
Set ws = Worksheets(ActiveSheet.Name)

ChartName = Left(ActiveSheet.Name, 5)
ChartSheet = ChartName & " Chart"
ChartName = "F18" & passtype
Set ChartSource = Union(Range("SummRowDate" & passtype), _
Range("SummRowTAI" & passtype), _
Range("SummRowNM" & passtype), _
Range("SummRowTotPipe" & passtype), _
Range("SummRowPTAI" & passtype), _
Range("SummRowPMAI" & passtype), _
Range("SummRowPlanPAA" & passtype), _
Range("SummRowWorkPAA" & passtype), _
Range("SummRowDrillPAA" & passtype), _
Range("SummRowBaseline" & passtype))

Worksheets(ChartSheet).Activate

View 9 Replies View Related

Percentage Calculation Using VBA Macro

Jun 11, 2013

In the Excel sheet i have 2 tabs

1st tab name :Percentage
2nd tab name :Defects.

Need VBA Code for the below scenario :

In the Defects sheet it should perform the autofilter by selecting the Criteria as Severity as Critical and Status as Closed and finally it should take the count of visible cells and it should populate value in the sheet1 (Percentage sheet) in the Critical defects closed field .

Again it should perform the autofilter by selecting the criteria as severity as Critical and status should (New,open ,reopen,retest ,pending closure)and finallu it should take the count of visible cells and it should populate value in the percentage sheet in the Unresolved defects field.

Now percentage calculation should be performed between the Critical Defects closed and Unresolved Defects.

Here is the formula= Critical defects closedUnresolved Defects * 100.

How to perform this Scenario through VBA Macros.

Please find the attached sheet : sample.xls

View 1 Replies View Related

Variance Percentage Calculation

Apr 16, 2014

I am trying to get my variance percentage to calculate correctly but I am struggling when it comes to one of the value being zero. It works fine for the below example when both the variance and last year figures a zero.

Last Year This Year Variance Percetage

0 0 0 0.00% IF(Last Year=0, "",Variance/Last Year)

0 100 100 0.00% This should be 100%

View 6 Replies View Related

Percentage Threshold Calculation

Jul 2, 2013

In the attached table the fees generated are on a sliding scale and the total is the fee generated within these ranges

I would like a formula in b10 to give me the value based on the total sale figure, i.e. 80.00. I've searched the board and tried some very long "if" statements and "lookup" table but to no avail.

Is there a formula I could use to calculate the desired value, preferable using cell references and not the actual values.

Sale Value
% Fee

Upto 2000
1%
2001 to 3000
1.50%

[Code] ........

View 2 Replies View Related

Column Chart With Line Chart And Percentage?

Sep 15, 2014

In the attached file I have the data which shows me the market size in value, my market share in value & I did a calculation to get the percentage. What I need is a chart that shows me the market size in column graph, my market share in line graph and I want the percentages to be showing also.

View 3 Replies View Related

Percentage Increase Calculation With Time?

May 26, 2014

I want to calculate % increase with time related fields

Field A1 = 01:53 (formatted custom as mm:ss) happy to format some other way
Field A2 = 02:08 as above

I want to know the % increase. The correct answer is 13.27% , as 01:53 = 113 seconds and 02:08 is 128 seconds and 128/113 = 1.1327 so 13.27%

View 6 Replies View Related

Percentage Calculation (want To Show % Wearing)

Oct 7, 2008

I am a Safety representative and on a monthly basis I have to check for seat belt usage. I can not, for the life of me, figure this out.

I have attached an example. In the example out of 22 vehicles there were 2 individuals not wearing seat belts. So cell J4 should be 91%

I can calculate % not wearing with [=sum(D4:E4,H4:I4)/SUM(B4:I4)]
but I want to show % wearing.

View 2 Replies View Related

If Percentage Calculation Negative Show Zero

Oct 22, 2007

i am having a hard time in my microsoft excel class
for the life of me i cannot think of a formula to answer the question below

every time i type in =(c3)-25-80% i get the wrong answer
i know there has to be a different formula

Cost of visit= $113.00

Q=Your have a co-payment of $25.00 and the insurance will pay 80% of the remaining cost. Create a formula for the visit that will calculate the total amount you will have to pay.

View 4 Replies View Related

How To Stop Last Digit Rounding Up For Percentage Calculation

Jul 3, 2014

I have a percentage calculation that I need to ensure excel does not round up the last digit.

My calculation is 2463000(cell:I13) divided by 257000(cell: I14+I15)

Excel calculates this value to be 0.958365759

However I need it to display and re-use only 0.9583657 as my calculation has to be precise to 7 decimal places.

If I use the formula =ROUND(I13/SUM(I14+I15),7) then excel returns the value 0.9583658 - it rounds the last digit up.

I have tried to use the option "Set precision as displayed" and set my decimal places to 7 but this still sees my 7th digit rounded up.

How do I set it so the 7th digit is not rounded up.

My original formula is =IF(AND((L3+L8+L13)<=O3,(L3+L8+L13+L18)>O3),((O3-(L3+L8+L13))*I18/L18))

I have updated it to be =IF(AND((L3+L8+L13)<=O3,(L3+L8+L13+L18)>O3),((O3-(L3+L8+L13))*(ROUND(I18/L18,7))))

View 9 Replies View Related

Link UserForm Label To TextBox As Percentage Calculation

Oct 6, 2009

I am building a conversion calculator on a userform. There is a textbox I've named "UserPctOff" where the user enters their value. I've got a label that I'm using to record the converted value. I keep getting Type 13 Mismatch error.

Here is my code.

Private Sub UserPctOff_AfterUpdate()
UserPctOff = Format(UserPctOff.Value / 100, " Percent")
LabelMDRate = UserPctOff.Value / (1 - UserPctOff.Value)

End Sub

View 4 Replies View Related

Chart Percentage Of Numbers Above Zero

Oct 2, 2008

I have several line graphs produced in excel. The X axis represents time (but is actually is just a 'general' number) and the Y Axis is a number .

The Y Axis generally varies from -10 to +10. I want to work out the percentage of time where the graph is in + and -.

If it makes it easier to know, the data will always change by +1,-1,+0.25,-0.25 or 0.

If this is possible i would then like to have a formula/or however it is possilbe, to work out +,- and neutral (0).
I have also attached a graph for a viewable example.

View 6 Replies View Related

Excel 2010 :: Create Percentage Bar Chart?

Mar 19, 2013

Im looking to create a bar chart in Excel 2010 where the totalnumber of widgets is 33 and the number produced so far is 11. The bar chart would be a single bar that represents the percentage complete (33%) with the chart maximum range being 100% which would represent the number 38.

Ive included a mock up example of what the data and chart would look like

View 3 Replies View Related

Pie Chart To Graph Percentage Of Total Expenses

Jun 20, 2008

when you open up the file please ignore everything above the blue bar. That was the old data which was arranged wrong. I have actually figured a lot of this out but i am stuck. The graph is set up so when you click on the drop down menu (F26) it changes the graph to the relevant data. Now the bottom graph is currently graphing the Months Expense1 as a total of all Expense1. So January Expense1 was $100 so its 26% of all Expense1. and when you click on the drop down button you can changed the data to Expense2 and the graph changes. YAY ok thats cool. However, thats not what i want. I want the pie chart to be graphing the expenses as a percentage of total Expenses. So the drop down menu would be of the months instead of the expenses.

I have changed that with relative ease, but I cant get the data to graph how i want it to.

I have been using OFFSET() formula and the define name manager to set up the previous graph. You can easily look at the formulas i have used instead of me trying to explain everything. Please help. This is the test bed for a budgeting spread sheet I am working on.

if you can help me out that would be great.. Please try not to use Macros because i dont understand them all that well and I need to take what is done in this spreadsheet and learn from it and change it so it works when are thre 10 expenses.

View 9 Replies View Related

X Axis In Pivot Chart Shows Decimal Than Percentage

Sep 15, 2014

I had created a pivot table and pivot chart for the data, the pivot table shows the row label's as percentages which is correct, but it when comes to the pivot chart it shows it as decimal, for example a 10% shows 0.1, I tried of formatting the x axis and choose percentages but it doesn't want to change.

View 6 Replies View Related

Conditional Formatting Percentage Axis For Thermometer Chart?

Jun 11, 2014

I currently have a thermometer chart in Excel 2013 that I set up with percentages along the Y-Axis. The thermometers are showing spending based on a budgeted number. Currently, the project is over-budget so I have adjusted the thermometer scale to go far beyond 100%.

I would like to have the percentages past 100% show in red along the lefthand side.

View 2 Replies View Related

Removing Percentage Sign On Excel Chart Axis?

May 21, 2014

I realize all the numeric data was originally not in percentage format (a simple division without being multiplied by 100). So when I set the vertical axis to percantage format, it does display it as a percentage but with the "%" sign. Is there any way I could get rid of the sign? It's not necessary as the axis has already been titled accordingly. I'd hate to redo all calculations, multiply by 100 and then create new charts only to get rid of the sign...

View 1 Replies View Related

Holiday Calculation In Gantt Chart

Jul 8, 2014

Gantt chart to calculate holidays, it now only calculation weekends only, file can be downloaded from here.

View 2 Replies View Related

Bubble Chart Function - Click To Open Percentage By Subject Line

May 23, 2014

I am new to excel and to the bubble chart function and need creating one for a presentation.

I was asked to do a bubble chart to show the open and click to open percentage by subject line

E.g.
Subject line: Win 20% open, 23 % Click to Open, Getaway 20$ Open, 21% CTO etc., to include an industry average for open and CTO in the chart.

X axis: click to open and Y axis: open

I tried the following in the picture and it doesn't look right.

Capture.JPG

View 1 Replies View Related

Excel 2007 :: Create Bar Chart That Changes Color Based On Percentage Range

Aug 7, 2012

I am trying to create a bar chart that changes color based on a percentage range. Any advice on how to do this? I am using Excel 2007, Windows XP, Sharepoint 2010.

View 1 Replies View Related

Lookup / Match And Index To Return Percentage To Table To Draw A Radar Chart?

Jun 25, 2014

I'm struggling with match, index and lookup functions. I have a formula in column D that calculates the percentage of answers against the total score for that category. The way it calculates enables me to delete rows if they are not needed and still provide a total count and a percentage score.

Now the percentage is returned from a dynamic data set, I want to plot the percentages on a spider/radar chart. Instead of manually creating the chart or using a pivot, I wanted to lookup the percentages (column D) against the category (Column A) in question and plot so the chart updates as the user changes the answers.

View 3 Replies View Related

Conditional Formatting Based On Percentage And Insert Cell Based On Percentage

Apr 3, 2013

I have a workbook that I've built for a project. I've attached a sample workbook. What I'm trying to do, for the entire sheet or workbook if possible, is turn any Cell with a percentage of 30% to 49% yellow and any cell with a percentage of 50% or more Red. I would also like to move the ID's of the variable cells, for example Id number 9922, to the cells beside the description of the rows, Affected would be an example, if the information contained in the same row as the ID meets with a set of variables.

For example I only want the ID's moved if they correspond with IDsub 1-25. One more thing, the people who will be using this spreadsheet will be copying data from a website when it is imported it does not insert the values as numbers. I would like to format the cells, in example workbook they would be any of the cells labeled ID IDsub Variable or Number, so that anything put in that cell will automatically be converted to a number.

I should also probably add that the formatting will be done on approximately 80 rows a sheet with 47 sheets.

View 2 Replies View Related

Wildcard Incorrect

Dec 7, 2007

I have tried everything I can think of to get this to work.

I am searching column B for anything containing "Tease", then if found, look to see if column J contains a "W".

Excel doesn't report an error, but this doesn't work:

=SUMPRODUCT((B3:B40="*Tease*")*(J3:J40="W"))

View 10 Replies View Related

IF, AND, OR - Returns Incorrect Value

Apr 29, 2009

I am having problems with the following formular in that it does not return what I am expecting.

I have 2 columns of data that hold Y/N values and I would like either "Yes" or "No" to be displayed in Col C for the 4 possible combinations that the interaction of Y and N in columns A&B give.

The data is
Col A:A = Y or N
Col B:B =Y or N

The four possible combinations and outcomes are:
Col A = Y & Col B = Y outcome in Col C = "Yes"
Col A = N & Col B = Y outcome in Col C = "Yes"

Col A = N & Col B = N outcome in Col C = "No"
Col A = Y & Col B = N outcome in Col C = "No"

The formular I have tried is:
=IF(OR(AND(A1="Y",B1="Y"),A1="N",B1="Y"),"Yes","No")

However while three of the outcomes for the combinations are correct (N/Y, Y/N, Y/Y), the output for the N/N combination is incorrect and returns "Yes" instead of "No".

Just wondering if anyone has any ideas as to what is wrong with this?

View 9 Replies View Related

VLOOKUP Returning Incorrect Value

Nov 28, 2012

I've created a spreadsheet to 'translate' number/letter combinations (sub-levels in the UK education system) into a numerical value. I looked up how to do this on google and, through a bit of trial and error, worked out that the lookuptable has to be in alphabetical order, etc.

My problem is when I enter in any of the 'P' values (see attached), it returns 0.5.

View 4 Replies View Related

Deleting Incorrect Cell Name?

Jun 24, 2014

I have a lot of calculations going on so I thought I would name some of the cells where factors come from to make it easier to follow.

I made a typo and named a cell wrong, is there a way to delete it? Right now I have a correct and incorrect name attached to the cell.

View 3 Replies View Related

Save Path Is Incorrect

May 27, 2009

I have the following code, taken from an example off the web. But I would like to change the save path to just C/: rather than copy the save path of the original file...I would also like to not close the active workbook that I am working in....how can i achieve this?

Sub TwoSheetsAndYourOut()
Dim NewName As String
Dim nm As Name
Dim ws As Worksheet

If MsgBox("Copy specific sheets to a new workbook" & vbCr & _
"New sheets will be pasted as values, named ranges removed" _
, vbYesNo, "NewCopy") = vbNo Then Exit Sub

With Application
.ScreenUpdating = False

On Error GoTo ErrCatcher
Sheets(Array("Copy Me", "Copy Me2")).Copy
On Error GoTo 0
For Each ws In ActiveWorkbook.Worksheets
ws.Cells.Copy
ws.[A1].PasteSpecial Paste:=xlValues....................

View 2 Replies View Related

Incorrect Scoping Of Variable?

Mar 1, 2012

I have two pieces of code in module 1 and module 2 respectively:

This code is meant to find the first row number that has a string value of "" in column A:

HTML Code:
Sub Macro1()
Dim cell As Range
Dim r As Double
Dim p As String
For Each cell In Worksheets("stock in").Range("stockcode")
p = cell.Value
r = cell.Row
If p = "" Then Exit For Else
Next cell
End Sub

BTW column A will contain formulas that evaluate to "" so I assume cell.value will = "" even if it contains a formula?

In the second module a sort is executed on the range based on the number of rows:

HTML Code:
Sub Macro2()
'
' Macro2 Macro
'
Call Macro1

ActiveWorkbook.Worksheets("Stock in").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("Stock in").Sort.SortFields.Add Key:=Range("A4:A" & r) _
, SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal

[Code] .......

My code is falling down because I think my variables arent scoped right or my code is in the wrong place. Also macro1 will eventually be executed from a button on a different sheet (I dont know if this will matter).

The whole point of this code is to get around the fact that if you perform A - Z sorts on cells that contain formulas those that evaluate to "" will be at the top leaving lots of blank rows before actual visible data.

View 9 Replies View Related







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