Calculating Percentage Difference Between Cells
Dec 5, 2013
Formula "(Cell-Cell)/ABS(Cell)"
When calculating percentage difference do I always subtract the smaller number/cell from the larger number/cell, then divide by the smaller number/cell or vice versa? Maybe I am over thinking it, but it is confusing the heck out of me
I provided an example below to illustrate a spreadsheet I work on. The numbers go up and down. I want to know how I should go about setting up the formula. If I need to ensure the smaller number is always subtracted from the bigger number, it will require a lot of manual intervention on my part.
Row 3 is =(b2-b1)/ABS(b1)Row 4 is =(b2-b1)/ABS(b2)Row 5 is custom. I went through each cell and made sure the smaller number was being subtracted from the larger number, then divided by the smaller number
PercDiffExample.xlsx
View 4 Replies
ADVERTISEMENT
Jun 2, 2009
I have the following on a spreadsheet that keeps track of when student work is handed in and calculates how many days late it is so a penalty mark can be given.
A1= User entered value : a fixed submission date that a piece of work is due to be handed in on.
A2 = User entered value : The date entered if work is handed in on time or early
A3 = User entered value : The date the work was handed in if late
A4 = User entered value : The date the piece of work is due to be handed in if an extension has been granted
A5 = Calculated value : How many days late a piece of work is
Essentially I want the calculation in A5 to reflect how many days late a piece of work is. SUM(A3-A1) would do this of course. If the work is early or on time, A2 is ignored.
Sometimes however students have permission to hand work in late, in which case another calculation is needed to work out how many (if any) days over their extension date (A4) their work is. How do I combine these two calculations into the same cell, so that if A3 is empty it checks A4 to see if the student has an extension date and then returns a 'days late' value if applicable?
View 9 Replies
View Related
Dec 15, 2008
I need to calculate the percentage based on self populating score. however I want excel/formula to ignore any cells which has "NA" in it so that it calculates the percentage based only on the cells having Numbers.
Now these Cells which contain Numbers might or might not contain numbers based on the "IF" function which decides wether the cell will have numbers or will remain "blank" or have "NA". To understand better please have a look at the enclosed sample (that would explain my need better)
View 4 Replies
View Related
Apr 29, 2014
Pivot Table where I am comparing prices with previous quarters using the % Difference from and using Quarter/previous as the base.
The function works fine but I can't get any values on Q1 to compare with Q4 of the previous years. All Q1 for every years show no % difference.
View 2 Replies
View Related
Jan 22, 2014
Can use an icon set conditional format to solve the following -
if I have an order figure in A1 and a received figure in A2 I want to show a tick in A3 if the received figure is within 10% either side of the order figure.
View 4 Replies
View Related
Sep 15, 2009
I am trying to create a formula that can work out the % difference between two values. The formula I am using is:
=(B1-A1)/ABS(A1)
So, where
A1=1, B1=2, = 100%
A1=-1, B1=2, = 300%
This seems to work perfectly, apart from where there are zero numbers involved. The answers I want to have are as follows:
A1=0, B1=0, = 0%
A1=0, B1=-1, = -100%
A1=0, B1=1, = 100%
A1=-1, B1=0, = 100%
A1=1, B1=0, = -100%
View 3 Replies
View Related
Jul 9, 2008
How do i work out the percentage difference between two colums and show the results in a third? I then need to know the average of that third colum
View 9 Replies
View Related
Nov 6, 2011
I was wonder if there is anyway in excel to do the following. I have a table that shows %'s,,, and I have formatted it to show 1 decimal place. Is there anyway to do it so that if the % is a whole number, IE 100% it shows just 100% and not 100.0%
So; basically, all %'s that aren't whole numbers will show 1 decimal place,, whole numbers to show NO decimal place.
I can see in excel a custom formatting under the Number tab,, but if this is where you do /can do it,, I'm not sure how.
View 9 Replies
View Related
Sep 27, 2006
I have a spreadsheet which has a number of columns populated with a day number and below each day number there are some numbers. What I would like to do is to compare the values for Day1 with Day2, Day 2 with Day 3 etc. Is there a smart way to do this using VBA? I am enclosing an example to show what I would like the macro to do.
View 8 Replies
View Related
Feb 16, 2008
I have an excel file that linked to an external feed that receives stock prices in real time. on the file i have the stock name, the price paid and the current price. I would like to have a popup that shows up whenever a stock price has a 15% or higher return. I would like the popup to show the stock name. I realise that conditional formatting would highlight whatever is over 15%, but the workbook has multiple worksheets and I would like it to popup even when i am on another worksheet.
Enclosed is a copy of the file (the actual file has many more sheets) : john.zip
View 5 Replies
View Related
Apr 3, 2009
Using conditional formatting i am trying to write a formula that changes colour on the percentage difference of another cell.
An example would be if cell A1 contained a target of 5% in cell A2 would be an actual. If cell A2 is equal to A1 or better then it would be green. If cell A2 was within 10% less of A1 (i.e 4.5%-4.99%) then amber and red for the target minus 10% (i.e <4.49%)
I want to do this as a conditional formatting formula as the target figure will change but 10% difference will remain the same.
View 5 Replies
View Related
Mar 16, 2014
In looking for examples of business budgets I found a sample spreadsheet that used these two conditional statements:
A) to calculate the difference between the Budget and Actual numbers: =IF(OR(B10,A1), B1-A1,) where B1 is Actual $ and A1 is the budget $.
B) to calculate the percentage (+ or -) =IF(A1,C1/A1,) where A1 is, again the budget, and C1 is the result of the difference calculated in A) above.
What is the advantage of these conditional formulas over the more straight forward B1-A1 and C1/A1
View 1 Replies
View Related
Feb 16, 2008
I have an excel file that linked to an external feed that receives stock prices in real time. on the file i have the stock name, the price paid and the current price. I would like to have a popup that shows up whenever a stock price has a 15% or higher return. I would like the popup to show the stock name. I realise that conditional formatting would highlight whatever is over 15%, but the workbook has multiple worksheets and I would like it to popup even when i am on another worksheet. enclosed is a copy of the file (the actual file has many more sheets)
View 4 Replies
View Related
May 11, 2014
Excel 2010 - Solver will NOT work with whole numbers and that is what I need (only whole numbers, i.e whole vials being used). So this is a drug/inventory problem. The drug is dosed as 25, 35,or 50 units/kg. Also a Max dose is reached with 100 kg. (this I can do). The trick is we want to use whole vial sizes and the vials come with varying amount of drug per vial (480-620 units/vial). We can enter our existing Inventory to get the exact units/vial and number of vials on hand. Now I need to figure out the best combination of vials in Inventory to use to get the closest to the dose needed. If Max dose is reached then the MOST we can go over the max dose is 5%. I'd like to see the percentage difference from the calculated or Max dose.
View 7 Replies
View Related
May 6, 2014
Here's my example: We budgeted $15,000 (cell C38) for tuition reimbursement and YTD have already paid out $11,500 (cell B38).
I currently have the formula =100*B38/C38
This returns the answer $76.67. When I format the column to percentage, it the returns the answer 7666.67%.
How do I get this to read as 76.67%???
View 2 Replies
View Related
Nov 24, 2008
I created a Pivot Table whose columns are different years (2007, 2008). I would like to show the growth (or not) of the percentages from the years. For example
Dept. 2007 2008 Growth
Bio 97% 56% -41%
View 4 Replies
View Related
Aug 17, 2013
I'm calculating the difference in time:
9:54-9:45 = 0:09
Now to convert this in minutes (in number format), I multiply this number with 1440:
0:09*1440 = 9
When I click the cell this number is actually 9.0000005, rather than exact 9. I need it to be exact 9 since I have to match this number from other excel sheet.
To sum up:
This is what I expect:
31.99999 should be changed to 32
10.000001 should be changed to 10.
View 3 Replies
View Related
Nov 14, 2011
Is there a formula to calculate the difference between two letters?
For example, I have levels A-Z. Column A contains level at the start of the year (A-Z). Column B contains level at the end of the year (A-Z). I would like to find the difference (e.g. level A to level D would be a change of 3).
View 3 Replies
View Related
Mar 29, 2007
I am trying to calculate the difference between a scheduled start time and an actual start time. If the actual start time is greater than the scheduled start time a negative time (hh:mm:ss) should be returned. instead the cell is populated with #############....
I have tried to reformat using the custom formats, but the only options in excel 97 are for either standard numerics or £ (these return a minus figure).
I've had a look at the time functions but could not see a suitable one.
I'm sure there is a simple format solution to this.
View 3 Replies
View Related
May 9, 2014
I would like to compare % difference between date range through pivot table
Date RangeProductAmt
1st weekABC1000
2nd WeekABC2000
3rd WeekABC1259
1st weekXYZ3000
2nd WeekXYZ4000
3rd WeekXYZ2500
How to plot a Pivot table to compare the % difference between 3rd Week Vs 2nd Week Vs 1 Week for each product through pivot table?
View 2 Replies
View Related
Dec 12, 2013
I've got a spreadsheet of samples taken at certain time intervals for a period of 2.5 hours, they were collected in hh:mm:ss format. Most of them are approximately 5 minutes apart. What I'd like to do is convert the first time to 00:00:00 and then recalculate each sample from there. Is there an easy way to do this?
So, what looks like this right now:
8:45:00
8:45:36
8:50:36
8:55:36
9:00:36
Would look like this:
00:00:00
00:00:36
00:05:36
00:10:36
00:15:36
etc...
View 8 Replies
View Related
Dec 14, 2013
I'm trying to calculate the available man hours I have for my shift/team. I have got the basic formula to deduct the time, and lost time for breaks ok, but when the shift end time crosses midnight the formula returns a "value" error message. i.e. start time = 18:00. End time = 24:00 breaks = 15 mins gives me a formula like this =TEXT(O17-N17-P17,"h:mm") and a result of 5:45
How I can make this formula work so it can calculate the variance even though the shift ends at 02:00am the following morning?
View 5 Replies
View Related
Mar 7, 2013
I manage a team in a call centre and deal with lots of reports on excel.
I am dealing with a report on a daily basis that i need to use in order to calculate the total idle time that each of agents have. There are roughly 170 agents.
After I have formatted the cells to hh:mm:ss, the obvious thing to do would be : =(B1-A1)
Is there a way to write a macro (or anything) in order to reapply this to the report on a daily basis? Bearing in mind that this has to be done daily for 170 individual reports. They work a 8am - 5pm shift. So there is an entry every time they make a call.
Agent Name
Extension
Initiateddate
TerminatedDate
MSGR_nmasango
9363
28/02/2013 8:06:47 AM
28/02/2013 8:08:54 AM
[Code] ........
View 1 Replies
View Related
Dec 18, 2013
I have a Pivot Table with fields for months and weeks. I also have a "Show Values as % Difference Field" that shows monthly or weekly % change. When I collapse the fields so that it goes from weekly to monthly (or vice versa), I have to manually change each Show Values As % Difference column. Is there a way to do this automatically or quickly?
View 1 Replies
View Related
Aug 10, 2009
I need to calculate the difference between a start time and end time in hours and minutes.
Start
01/07/2008 11:40
End
01/08/2008 19:28
Start and End columns are formatted as 'Custom' m/d/yyyy h:mm.
I'm not sure what formula to write to calculate the hours and minutes between the two times. Everything I've tried doesn't count over 24 hours. Also what do I format the result cell as?
View 3 Replies
View Related
Aug 21, 2013
It will be easier to explain in an example:
A B
Time (hh:mm:ss) Digital
1 10:03:00 0
2 10:03:01 0
3 10:03:02 1
4 10:03:03 1
5 10:03:04 1
6 10:03:05 0
[code]....
From the data above I am searching for the duration of when the digital column says '1', i.e my function = A5-A3 which would output 2 secs or 00:00:03 & likewise A9-A8.
The problem I have is that the digital signal is staggered and does not always have the same frequency. I have over 6848 lines of time to check so to do this manually would take me all day.
View 8 Replies
View Related
Jul 30, 2012
I am conducting some analysis on alarm data of certain devices and am looking for creating a VBA algorithm that will do the following (refer to the table below for example data)
I want identify an asset in alarm (Column F) and based on its asset ID (Column C) and Fault Description (Column D) then find the row when the asset with the same asset ID and fault description returns to an 'ok' Asset State. After the row where the same asset ID and Fault description is found where the asset state returns to 'ok', I want to calculate the total alarm time based on the difference between when the asset ID and Fault description goes from 'Alarm' State to 'OK' state from DateandTime Column.
I want the result to be populated in a new worksheet that displays data with the following column headings as a result of the above calculations: Date, Asset ID, Asset Description, Fault Description, Alarm Time
I have added an additional column to show the type of output I am after.
There are up to 20,000 rows of data I want to perform the above calculation on.
A
B
C
D
[Code]....
View 2 Replies
View Related
Dec 9, 2011
I need a formula that will tell me how many minutes/hours are needed to hit a certain percentage.
For example, I need to do 60% of my time doing one thing (Team), and 40% of my time doing another (Individual). So, I need to know, if I've spent 5.5 hours doing Team, and 4 hours doing Individual, I need to know that I need to do .5 hours to hit the correct split.
I can't figure out what formula to use that will increase the current total to best figure out how many minutes I'll need to do either Team or Individual to hit the 60/40 split. It doesn't need to actually tell me 15 minutes, etc, but .25 would be fine (everything is done in .25 increments).
View 3 Replies
View Related
Jan 30, 2014
I am using the following formula in Column E to calculate the difference between an employees start time, and their previous shift end time in order to work out how many hours rest they have had:
=IF(A4=0,"",IF(I4=0,"",MOD(I4-B4,1)))
My Current Formula works fine for same day calculations, but if an employee finishes work at 18:00 on Friday and starts work at 22:00 Saturday night, Excel calculates the Total Rest hours as 04:00, when in fact they have had 28:00 hours rest...
Is there a way of calculating the hours difference between two dates?
I have attached a sample of my spreadsheet to illustrate
View 5 Replies
View Related
Sep 29, 2006
Instead of calculating a time difference manually I want to have a formula do it for me. What I want to achieve goes as followed:
08/06/2006 04:33
12/06/2006 01:05
Time difference is 92:32 [hh:mm]
another example:
09/06/2006 12:42
12/06/2006 11:35
Time difference is 70:53 [hh:mm]
So instead of getting 92:32 and 70:53 by calculating it myself I would like to have a formula do it for me. Otherwise I'll have to invest a lot of time to get the information I need.
View 9 Replies
View Related