# Conditional Budget Difference And Percentage Formulas

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

## Calculate Percentage Difference Between Budget Versus Actual

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%???

## Conditional Formatting Based On A Percentage Difference

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.

## Budget Worksheet - Lock Cells With Formulas

Jul 24, 2014

So I am trying to create a budget worksheet for past and future expenses, basically an excel checkbook with running balance

In Column A I have my debits/credits

In Column B I have my running balance so that there is a current total next to each of the debit/credits in column A, it is formulated as follows, it adds the cells directly above it to the cell directly to the left of it (i.e. Cell B10 = B9+A10, which was dragged and iterated to many cells below)

I wan to be able to drag in drop cells in the A column (Just moving them up and down different cells in the A column) with out it changing formulas in the B column.

I tried the \$ trick so that for example B10 = B9+\$A\$10 but if I moved cell A9 to say A10, I get a reference error in cell B10 (why is it doing this when B10 is locked with \$)

I then tried going to format and locking the B column and not the A column and then protected the document but I still get the same REF error.

I know I can copy and paste with out effecting it but this is tedious, the whole reason I did this was so that I can move around bills EASILY and play around with what get paid when. There has to be a way to do this, but I'm probably searching with the wrong keywords.

## Conditional Formatting :: Total Budget

Oct 2, 2009

I have a couple of columns in excel and one of them " total budget" and another is "Business Case". How can I do a check on the budget, say if total budget is less than \$250,000 then business case value should change to N/A.

## Forecast An Estimated Budget Based On Original Budget And Percent Complete

May 21, 2006

In the attached spreadsheet i have a budget amount, billed to date, %complete, %remaining and forecast figure. What i am trying to do is estimate the forecast spend vs the budget or billed to date and percent remaining. I am struggling with how to do this based on in some cases the budget is already overspent but the %complete is less than 100%. What i really want to do is create a forecast based on the billed to date or budget depending on which is greater and work out estimated spend based on whether the task is complete or there is still a % remaining.

## Create A Spreadsheet That Will Keep Track Of Budget Spent And Budget Remaining?

Dec 17, 2013

I am trying to create a spreadsheet that will keep track of budget spent and budget remaining.

I need the values to take what is spent from expenses claim forms that are filled out,

Each budget category has a code and within that code there are sub heddings

## Percentage Difference From And Quarters

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.

## Greater Or Less Than Percentage Difference

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.

## Percentage Difference Between Two Values

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%

## Get Percentage Difference Between Two Colums

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

## Formatting Percentage With A Difference?

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.

## 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

## Show Percentage Difference Between 2 Columns

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.

## Display Popup When Percentage Difference Reached

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

## Display Popup When Percentage Difference Reached

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)

## Excel 2010 :: Percentage Difference From Calculated Or Max Dose?

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.

## How To Compare Percentage Difference Between Date Range Through Pivot Table

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?

## Show Values As Percentage Difference - Quickly Change From Month To Week

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?

## 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.

## Formulas To Calculate Rent Increase Percentage

Aug 6, 2014

I am trying to do a spreadsheet that calculates the monthly rent from 9/1/14 through 1/1/15, then rent gets reduced from 2/15/14 through 1/1/16, then after that there will be an increase of 3% per year for each year until 8/2019.

## Conditional Percentage Based On Conditional Sum

Mar 13, 2008

I have a list containing blocks of stock price values with each block representing a series of values at a given time e.g

1400 156
1400 99
1400 74
1400 86
1400 256

The number of entries may vary for each block but is never more than 60. the next block may be e.g.

14:05 15
14:05 42
etc

and down a very long list of around 65000 entries. I'm looking for a routine that will add up all the values in each block and calculate the total for that time block. I then need to fill in an adjacent column with the perecentage that each value is of the total. A completed block may look like;..............

## Dynamically Build Formulas For Calculating A Running Percentage For A Row Of Data

Jul 3, 2007

I need to dynamically build a formula for calculating a running percentage for a row of data. The columns that are referenced by the formulas are static (f thru r), but the row number can change depending the number of rows of data. I have a set of data that can have one to many lines in it (the data is placed on the worksheet using vba code). After the data is placed, a total line is built using this

'Find row number for total row (2 rows down from last row of data)
endrow = Range("a35").End(xlDown).Row
sumrow = endrow + 2

'Set sum formula for the "e" column
Range("e" & sumrow).Formula = "=sum(e35:e" & endrow & ")"

'copy total formulas to columns f thru r...............................

## Conditional Difference Between Two Cells

Feb 10, 2010

I have to calculate the difference of two cells in an excel sheet if the first cell value is greater than the second one. If the first cell value is smaller than the second one then the difference should be shown as zero.

## Conditional Formatting - Difference Between Cells

Feb 18, 2014

I have an excel sheet for recording the results from measurements made on round material.

What I want is to have the conditional formatting so that if they have more than the allowed difference in a column they are highlighted red.

Example:

Allowed difference is 0.06 so the cells with a larger difference would be highlighted red.

580.09

## Conditional Formatting Based On Percentage

Oct 5, 2013

I need a conditioning format formula. If cell A2 is less than 50% of cell A1, then highlight red.

## Conditional Formatting For Percentage Values

Jan 26, 2014

Using conditional formatting to make all the cells that contain numbers and are formatted to percentage format make display in red color? let's say I want to set this conditional formatting rule initially after just opening the excel book and afterwards when I type in values/text etc. into the cells I want the cells where I have input numbers and chose the percentage format to come out in red color? and all the rest stay in black color?

## Conditional Formatting Based On Difference Value Between Figures In Two Cells?

Apr 10, 2014

I would like to use conditional formatting to mark cells with arrows depending on the difference between the values in those cells and figures from different cells. Namely, I have percentage values in column A and B. I need cells in column B to be marked with arrows (up, right or down) when the difference between value B and A is bigger than 2%, bigger than 0 but smaller than 2%, and smaller than 0 respectively (see the spreadsheet attached).

## Conditional Formula: Calculate The Difference In A Date Between Two Dates

Jan 28, 2009

I'm trying to make a formula to calculate the difference in a date between two dates. For exaple, in my business we have a due day for something. So the due date could be Feb 10, we need to know if it was done on time, late, or early. So I've gotten it to display late by doing this: =IF(B2>A2, "Late", (A2-B2)) But then I can't figure out how to incorporate this: =IF(B2=A2, "On Time") or =IF(B2<A2, "Early").

I would like to displaly this all in one cell. So if the due date is Feb 10 and it's turned in Feb 8 it's early, turned in Feb 10 it says on time, turned in Feb 11 it's late. I also tried this but it didn't work: =OR(IF(B2>A2,"Late")*IF(B2=A2,"On Time")*IF(B2<A2,"Early"))

## Conditional Format - Error In Icon Set For Percentage?

Dec 13, 2012

I've been using conditional formatting for some times now, but this is the first time I have this problem..

I've using conditional formatting to display icon besides a sets of numbers/percentage. The condition is as follows:

--- >= 75, green
--- >= 60, yellow
--- < 60, red

When I used this for "number", it works flawlessly.

But when it comes to "percentage", disaster strikes.. I am getting a Yellow for 75%, and red for 60%.

Below is a screen shot that I did to illustrate the issues. The set of numbers on the left is OK. But the same set on the right, just in percentage, doesn't work well..