Divide Cost Over A Number Of Years At Different Frequencies?

May 31, 2013

I have 4 columns labelled 1st Year, Frequency, Spread and cost. then I have columns spanning upto 30 they represent years but can be labelled as 1 to 30. My challenge is that I want a formula/function/macro that depending on what I type in the first 4 columns it will populate the remaining 30 columns with either cost or 0.

Example: if I had £9,000 at a frequency of 10, starting on the 5th year with a spread of 3.

The cost represents the cost of each frequent. so in the example I would get £3,000 on each of the 5th,6th and 7th years then another £3,000 on the 15th,16th,17th years and finally another £3,000 on the 25th, 26th and 27th years.

what I want to be able to do is have one function/formula that I can paste across all of the year cells. I currently have a formula that can copy the cost at different frequencies but I cant figure the spread out.

=IF($K:$K>0,IF(OR($8:$8=$J:$J,MOD($8:$8-$J:$J,$K:$K)=0),$L:$L,0),0)

where K is frequency
8:8 is year
J is cost

what is the best way to approach this?

View 2 Replies


ADVERTISEMENT

Divide Number Cell By A Set Or Fixed Number

Jul 9, 2008

I am wondering if it is possible to create a formula in a cell that will divide whatever number is entered into that cell by a set or fixed number.

ie. I enter the number 9 in the cell and when I press enter, the 9 is instantly divided by 15 and the answer is displayed in the cell where I just typed the 9.

View 14 Replies View Related

Number Formatting: Enter A Number It Seems To Divide It By 100

Nov 28, 2008

I having a bit of trouble entering numbers in Excel, every time I try to enter a number it seems to divide it by 100. For example : - 1 entered in to a cell becomes 0.01, 100 becomes 1....etc. I've tried formatting the cells and had no luck, tried Tool>Options but not sure where to look.

View 2 Replies View Related

Function 2 Divide A Number (ie $1.00) By % (ie 25%) To = ($4.00)?

Sep 6, 2005

=1/25%

is it that you want a UDF

Function MyFun(a,b)
MyFun = a / b
End Function

Usage:
=MyFun(1, 25%)

Mangesh

"Gonecoastal1" <Gonecoastal1@discussions.microsoft.com> wrote in message
news:B257DADD-0042-4CF8-88DF-1D17AEAFF627@microsoft.com...

View 14 Replies View Related

Divide Only With Number Of Cells With Value>0

Aug 27, 2009

I really struggle with the following scenario:

A1=5 B1=4 C1=0 D1=0 E1=5

What I want to do is to divide the sum of those cells with the number of cells with a value > 0 (but all cells must be controlled to check if the value > 0).

In real life it's easy to see that I want to do 14/3 (A1>0, B1>0 and E1>0 equals three cells), but how to write this formula in Excel?

View 3 Replies View Related

How To Divide An Array With A Number In VBA

Apr 4, 2009

I have an array in my code and I need to divide each elements of the array with a constant.

View 9 Replies View Related

Divide Cell By X If Number Is Greater?

Mar 10, 2014

I have a lot of cells containing numbers. Some numbers are small, some are big.

I want to divide all numbers which are greater than 300 by 1000.

IF cell A2 > 300 THEN divide by 1000.

How to do that? Is it possible to convert value in the same cell like using conditional formatting principle?

View 7 Replies View Related

Divide A Sum By Number If Items In List

Oct 2, 2008

I basically have lots of lists of 12 cells. how ever some of those lists contain errors (e.g instead of having 12 numbers it will only have 10)

so instead of doing =sum(a1:a12)/12 i want to divide by the amount of numbers in that area in this case 10 so i can get an average.

View 3 Replies View Related

How To Add 2 Groups Of Cells And Divide Number By 60

Feb 6, 2014

I am trying to add 2 groups of cells and then divide the number by 60?

I can't get it to divide? It will only total.

=SUM(T807:T832)+SUM(T837:T846)/60

View 2 Replies View Related

Add Two Numbers And Divide The Result By Another Number

Oct 5, 2007

I have a simple formula that adds two numbers and divide the result by another number

K1: SUM(E1,F1) / H1
K2: SUM(E2,F2) / H2
K3: SUM(E3,F3) / H3
K4: SUM(E4,F4) / H4
K5: SUM(E5,F5) / H5

etc, etc

and then I average the results

AVERAGE(K1:K5)

etc, etc

When H1, H2, H3, etc is 0, it generates a #DIV/0! (since you cannot divide by 0)

I want a formula that I everytime a H1, H2, H3, etc is 0, I want to set it to a specific number H1, H2, H3, etc to 15.00

For example:

IF (H1 = 0, 15.00, sum(E1,F1) / H1)

If the number provided (H1) is 0, set it to 15.00, otherwise add the two numbers (E1, F1), and divide this result by the number provided (H1)

But this is where the problem is:

In every single cell that I have NOT yet provided information, it treats the BLANK cells as if it was 0, and has set every single cell to 15.00.

View 9 Replies View Related

Calculating Total From Number Of Minutes And Cost P/m

Aug 6, 2009

I need to calculate the total cost of outbound calls based on the total duration of outbound calls multiplied by cost per minute. For example, in a given month, the total duration of outbound calls is 261:16:34 being 216 hours, 16 minutes and 34 seconds. I have this figure in cell A1 with the format [h]:mm:ss. I then convert this to minutes in cell B1 by saying B1=A1, but having the format [m], which gives me 15676. In cell C1, I have the cost per minte value of £0.026. But when I apply the formula D1=B1*C1, I get £0.283, when 15676*£0.026 should in fact be £407.58.

View 2 Replies View Related

Divide The Output By The Number Of Members Used In The Calculation?

Apr 10, 2014

I have a sumproduct formula, I am trying to divide the output by the number of members used in the calculation:

This is my data set

4/10/2014102.6214/10/201499.5144/8/2014106.144/8/2014105.4
4/9/2014102.3284/9/201499.3864/2/2014105.8734/7/2014103.6
4/8/2014102.0884/8/201498.7953/17/2014105.5864/3/2014103.95

my sumproduct function is adding up all items that fall on that date which is fine, but i would love to calculate an average so divide by the number of items that were used in the calculation, is that possible?

=SUMPRODUCT(--(A1:G9=A11),(B1:H9))

View 3 Replies View Related

Formula To Divide Number And Format If Greater Than 100?

Feb 10, 2014

I need a formula that will divide a number and if the answer is greater than a 100 then blank.

i've been using this =IFERROR(SUM(H4/C4,"",IF(K4>100,""))) but no luck.

View 6 Replies View Related

Divide An Number Of Jobs Without Ending Up With Decimals

Apr 2, 2009

I'm trying to create a formula which will allow me to do the following

1. Enter the number of jobs received
2. Divide it by the staff available without ending up with decimals.

As an example. Say I have 60 jobs to be allocated and there are 13 peeps to distribute them to I'm currently getting 4.62. What I need to do is make sure that the jobs are only issued as whole numbers. E.g 5 peeps gets 4 and 8 get 5. I also need to factor in jobs on hand etc but I have already cracked this.

View 2 Replies View Related

Divide All Numbers In Pivot Table By Certain Number?

Jun 22, 2012

How could you divide all numbers in a pivot table by a certain number?

View 1 Replies View Related

Divide Cell By The Number Of Populated Cells In A Column

Apr 11, 2014

I have attached a sheet as an example, as i am trying to Divide a cell by the number of populated cells in that column e.g column (A) has a table of 16 but only has 13 populated cells in that column, the sum would be something like this =sum(A18/13. Sometimes the column will have less and at times more populated.

test sum skip blank cells.xlsx‎

View 2 Replies View Related

Count Number Of Rows That Have Numbers And Divide Sum Of Cells

Jun 30, 2009

I have a 52 (one for each week) page workbook. I am trying to average cell J9 for the entire 52 pages. However the information is not added to the cell until the end of the week so week 30-52 all have 0s and should not be counted in the dividing number. Is there a way to have Excel count the number of cells that have a number (not 0) and divide the sum of the cells but that number.

=(WK1!J9+.....WK52!J9) / (counted number of cells not = 0)

View 14 Replies View Related

Dates, Number Of Years

Dec 15, 2008

I have two dates, one is a start date the other is todays date, I want to subtract the start date from todays date and show the number of years. But a small twist is I only want to take the years away from each other, ignore day/month. Start 01/05/2000 todays date 01/10/2008 years = 8. Start 10/10/2000 todays date 01/10/2008 years = 7, want it to still show 8 years and ignore the start day/month.

View 2 Replies View Related

Adding Years To A Date (taking Into Account Leap Years)

Aug 28, 2007

I have a date 07/28/2027 and need Excel to calculate a date 65 years in the future taking into account leap years.

View 9 Replies View Related

Macro To Identify Top Ten Frequencies

Mar 31, 2012

I have a list of over 3000 numbers, many of them duplicates, and would like to write a Macro that lists down the top ten most occurring numbers, in the correct order, with their respective frequencies.

View 3 Replies View Related

Counting Number Of Years Between To Dates

Nov 19, 2008

I have a list of people with birthdays that needs to be checked against TODAY to determine how old people are. If I subtract the two fields from one another, I get number of days. But is there a way to convert into years? In my attached example, I'd like column C to display 3 (age for person).

View 3 Replies View Related

Histogram Analysis - Two Different Sets Of Frequencies

Mar 25, 2012

We were working on a set of stock returns using histogram option from the analysis tools. We have not been able to figure out why we have produced two different sets of frequencies over same set of data and one predefined bin range.

Only a few classes present different counts. Can this be due to two different versions of excel were used?

View 1 Replies View Related

Display Number Of Years Based On A Date

Mar 28, 2009

Right now, in a column I would like to display an number (length of employment) based on the hire date.

In one cell the employee's hire date is entered. In a column of other cells the pay period ending date is displayed and in another column the length of employment is displayed.

Example:

03/17/2000

03/01/2009 8
03/15/2009 8
03/29/2009 9
04/12/2009 9
04/26/2009 9

How would I create a formula in the length of employment cells that would indicate the correct number of years based on the hire date and adjusts when the pay period date passes this hire date?

View 2 Replies View Related

Conditional Formatting Based On Number Of Years From Now

Dec 17, 2013

I have a list of 2000 pieces of inventory. Only the year of purchase is associated with each one, not a specific month or day. I'm trying to apply conditional formatting so that...

Less than 2 years old = green
Between 2 and 4 years old = yellow
Between 4 and 6 years old = orange
More than 6 years old = red

I've been trying =TODAY()-365 (365 replaced by number of days in the above named ranges) but the cell only changes to the color of the most recently applied formatting rule.

View 2 Replies View Related

Number Of Years To Show In Userform Textbox

Jul 4, 2012

I am trying to show the number of years in the userform textbox based from today's date and into the date the eqpt was installed. I stuck with the below code.

Code:
Private Sub DTPicker1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
If TextBox1.Text "" Then
TextBox2.Text = Year(DTPicker1.Value) - Year(TextBox1.Text)
End If
End Sub

Where in textbox1 I have this code that activates on userform initialize

Code:
If Me.TextBox1.Value = "" Then
Me.TextBox1.Value = Format(Date, "dd.mm.yyyy")
End If
End Sub

Textbox2 is where I want the number of years to appear .

View 1 Replies View Related

Excel 2010 :: Rounding Number Of Years?

Sep 6, 2012

I'm using the following:

B23=IF(A23="","",DATEDIF(A23,I3,"y"))

Where:
A23 = a date of installation
I3 = TODAY()
B23 = a number of years

It currently calculates correctly if the number of years correctly if it's older than 1 year. If under one year, it yeilds 0. I would like B23 to show 1 if the current formula yeilds 0.

I want it to yeild a 1 if the current calculation is 0.

Windows 7 Ultimate / Excel 2010

View 6 Replies View Related

How To Find Number Of Fractional Years Between 2 Dates

Aug 6, 2013

I am trying to capture the number of years/quarters are between two dates - giving credit for one day worked into the quarter.

In the attached png file you can see the formula I used for column J. This is the same formula I need to use for Column R but now using 10/1/11 and the date provided in Column R. The formula should be used in Column S "Part B" so that I can determine the number of years between 10/1/11 and the date in Column S.

View 7 Replies View Related

Auto Populate Quarters By Just Typing In The Number Of Years?

Aug 20, 2014

I need a formula that can automatically populate yearly quarters in separate columns based on a number of years. So if I put in 5 years - excel would populate 20 columns with Quarter 1 - Quarter 2 and so on. If I then change it to 3 years it would only populate 12 columns.

View 4 Replies View Related

Calulate The Number Of Years And Months From A Specific Date

Jan 22, 2009

I would like to calculate the number of years and months that have passed since a certain date. Would like it in a number format so I can pickout those who have gone reached 5 year increments during each month.

Such as someone reaching 40 injury free years in June of this year I can let them know.

View 9 Replies View Related

Iteration Inconsistency: Allow For A Cost Being Added To Loan Amount Where The Cost Is Based On The Total Loan Amount

Mar 15, 2007

In a financial environment we have a calculator which uses iteration to allow for a cost being added to loan amount where the cost is based on the total loan amount. Iteration is set to 100 iterations with max change .001

On one PC the first time the calculator is opened it gives a particular (incorrect) result. If the input cells are cleared and the data re-entered, it gives the correct result. This only happens on one particular PC. Is there some other setting , other than the iteration setting, that would cause this?

View 5 Replies View Related







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