Adding Years To A Specific Year And Then Rounding It Up

Apr 3, 2009

There are two columns in an excel sheet, one is date of birth and other is date of reteirment

looks somewhat like this:

5-Mar-53 31-Mar-11
30-Jun-57 30-Jun-15
20-Jun-51 30-Jun-09
2-Feb-55 28-Feb-13
3-Aug-50 3 0-Sep-13

Some of the dates in D_O_R are missing. I need to fill in up all the dates in D_O_R column.

D_O_R is = 58years+D_O_B(NOTE the dates should come as last date of the month)

View 8 Replies


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

Excel 2010 :: Rounding Number Of Years?

Sep 6, 2012

I'm using the following:


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

Comparing Sales Per Hour This Year With Last Years

Jan 24, 2014

Work has given me a hourly sales data for the last 2 weeks, and Last years hourly data for the equivalent 2 weeks.

The question is compare the average of the last 2 weeks against the average of the equivalent 2 weeks last year and evaluate if the trading performance is majorly different.

What formulas to use? Should I use percentages or leave it?

View 6 Replies View Related

Formula To Calculate Years Of Service For Next Year

Dec 13, 2012

The formula that I currently have in E2, is giving me the number of years served by an employee. Is there another formula that can give me the number of years each employee has served? This is the formula that I have in E2

[Code] .....

Attached File : VACATION DAYS ACCURED.xls‎

View 9 Replies View Related

Year To Date Filter - Multiple Years

Jan 11, 2013

Basically I need to add a column to my source data so I can use it as a filter on my Pivot Table in a different workbook. - something just as simple as TRUE/FALSE if the date is YTD for all years would be ideal.

Have attached an example if that makes it any clearer! nice simple formula would be ideal as sheet is around 600,000 rows long and growing!

View 4 Replies View Related

Highest 3 Year Average Over A Span Of Ten Years

Mar 15, 2007

I have a list of people with 10 years of salary history for each (in ten consecutive columns on the spreadsheet).

I need to calculate the HIGHEST 3 consecutive year average salary for each (if they have less than 3 years with salary, then it should just average the years the do have, be it 1 or 2 years).

Here is the kicker: some people have breaks in service (for these years, there is a blank in that entry). These years should be ignored and skipped in calculating the avergaes.

So if someone had salary figures in years 1, 2, and 4, but a blank in year three, the average of years 1, 2, and 4 would constitute one three year average (whether or not it is the highest is a whole other matter...).

I have been round-and-round the best way of doing this. I was thinking of maybe creating a UDF that calculates a three average, then do it up to 8 times (one for each starting year) in 8 "helper columns", and taking the highest average.

View 9 Replies View Related

Adding Years, Days, Months To Date/time Format

Apr 26, 2007

I have some cells which must be in the format 15/06/2007 15:25

I then need to add either days, months or years onto it.

Say the above date/time is in cell A1, when I do =YEAR(A1)+5 it displays 2012 if I choose the general cell format, but when I select the same cell format (date time) it comes out as 04/07/1905 00:00

View 9 Replies View Related

SUM By Both A Specific Month, And A Specific Year From A Single Date Field

Nov 30, 2007

So, this works perfectly by itself: {= SUM(IF(MONTH(I4:I17)=1,G4:G17,0))}
And this works perfectly by itself: {=SUM(IF(YEAR(I4:I17)=2007,G4:G17,0))}

But this doesn't work at all: {=SUM(IF(AND(MONTH(I4:I17)=1,YEAR(I4:I17)=2007),G4:G17,0))}

SUM by both a specific month, and a specific year from a single date field?

View 3 Replies View Related

Create Year To Date Sales Comparing 4 Years Month By Month?

Dec 25, 2013

Need to create year to date sales comparing 4 years month by month. Stacked chart (Excel 2010) works OK for the first three months but adding the fourth month changes the chart to 4 series with a monthly axis. To put it another way I need a vertical axis of years and a horizontal axis of $$$ with each months sales of each year stacked on its year.

View 10 Replies View Related

Rounding To Specific Number

Feb 28, 2012

I have a column of numbers that represent sales prices.

If the price ends in anything between .x0 - .x4 I want the replacement number to be .x4 and if anything between .x5 - .x9 I want the replacement number to be .x9.

For example, the sales price is 1.93. The "rounded" number should be 1.94.

More examples:

3.76 = 3.79
3.13 = 3.14
2.50 = 2.54

View 9 Replies View Related

Formula To Distinguish Month Year From Prior Month Years

Feb 13, 2010

This is for a report and on "Summary Worksheet" I want to post "Current Payment" totals IF the invoices from "Tab 3" equal the "month" in G6. Say the report is for January - if there are invoices on Tab 3 -worksheet with a January date I want to post all invoice amounts on Summary worksheet under current payment.

View 4 Replies View Related

Summing Values For Specific Months And Years?

Mar 27, 2014

I will set a base example first:

9 Nov 2012 Apple 5
12 Dec 2012 Apple 3
14 January 2013 Banana 8
17 January 2013 Apple 6
20 January 2014 Apple 3

I would like a sumifs formula that will only add the results for Apple - as follows:

Nov 2012 5
Dec 2012 3
Jan 2013 6 (i.e. does not include Banana - and also does not include Jan 14 Apple)

Although I have experience with sumifs I have not been able to use the correct syntax to identify the month AND year.

Ultimately I want to look through many hundreds of dates, and add anything that fits two criteria - 1) a 'name' criteria, and 2) it falls within a certainly month and year.

View 6 Replies View Related

Rounding Numbers To Specific Integers

Nov 5, 2006

I'm trying to round off my numbers to specific integers. Sorta like a step function (in algebraic terms).

For example, my first few integers are 0-8-13. I want: 0<=X<8, 8<=X<13, etc.

So far, this is what I have: ...

View 5 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

Select Specific Month Of Many Years Of Data With Any Function?

Aug 14, 2012

Is there any way to select specify month of the many years of data with any function?

View 7 Replies View Related

Adding Year Plus Day

Mar 27, 2009

I have a formula =if(AA2="","",edate(AA2,12)) which is working well for the Year

This is a delivery run thats requires that the pick up will aways be on a Monday.
I would like the exact day for the following years.

Monday 2009 is the 9th March
Monday 2010 is the 8th March
Monday 2011 is the 8th March
Monday 2012 is the 6th March
Monday 2013 is the 4th March

I would appreciate it if it is possible or a alternative way of doing it.

View 9 Replies View Related

Adding Year To Date In Rows With Condition

Dec 17, 2011

I've done this before but can't remember how I did it:

blue0355203912033930389706bpink51059230632205352061280789-In column H,

I want to sum only rows that are less than or equal to cell H2.....

View 2 Replies View Related

VLOOKUP Year And Specific Month

Aug 9, 2009

I would like to Column E to VLOOKUP the prices in Column B that correspond to the year and month (January in this case) in Column D. I tried to do a VLOOKUP(DATE...) but just couldn't get it....

View 9 Replies View Related

Count Days In Specific Year Between Two Dates

Jan 22, 2008

I want to be able to count the number of days in a specific year between two dates.

Suggested formula input: DaysInYear(Date1,Date2,Year)


DaysInYear(3/3/2005,3/3/2006,2006) should return 62 (31 in Jan, 28 in Feb and 3 in Mar.)

DaysInYear(3/3/2005,3/3/2007,2006) should return 365

View 4 Replies View Related

Calculate Number Of Months In Specific Year Between Two Dates?

May 19, 2014

I am trying to calculate the number of months in a specific year between two dates.

For example.

Start date 01/06/2012
End Date 01/02/2013

Number of months in 2012 = 6
Number of months in 2013 = 2

How can I write a formula to give me the answer of 6 & 2 from the start and finish dates?

View 10 Replies View Related

Banker's Rounding Or Scientific Rounding

Jul 9, 2008

I am trying to round similar to Banker's Rounding or Scientific Rounding but I can't find a consistent formula that works perfect with decimals.

Using three decimal places for all the samples, I can get 0.0785 to round to 0.078 but 0.1785 wants to round to 0.179 instead of staying 0.078. Or 0.0005 will round to 0 but 0.5115 wants to round to 0.511 instead of 0.512.

Here is a list of sample numbers along with desired results:
.0785 should be .078
.5115 should be .512
.5035 should be .504
.0005 should be 0
.0025 should be .002
.0194 should be .019
.0195 should be .02
.0135 should be .014
.0115 should be .012
.8115 should be .812

I cannot find a formula which gives me all of these results. Here is a list of the formulas I have tried so far (NOTE: cell A2 is the working cell in my worksheet where I enter the number to be rounded)

1) =MROUND(A2,0.001)

3) =ROUND(A2,3)

4) =IF(ISERROR(IF(MOD(MID(A2,4,1),2)=1,CEILING(A2,0.001),FLOOR(A2,0.001))),0,IF(MOD(MID(A2,4,1),2)=1,CEILING(A2,0.001),FLOO R(A2,0.001)))

5) =EVEN(A2)

6) =ROUNDUP(A2,3)


View 9 Replies View Related

Adding Data From Specific Names

Dec 17, 2008

I have a sheet that has the same employee names several times in different orders in the same column with data to the right of it. Example


I need the peices and hours total for each name on another sheet. So I would have John on my sheet and would need to to grab and add the info from B2 & B6 into one cell (since it is the same person). I can always drag the info over for hours once I find a way to do this for the pieces I would think. The problem is that I don't want to add in B1 & B2 for John because those numbers are not a part of the total.

So is there a way or formula for one cell to look at the entire sheet and everytime it sees the name john to add the information one column over and one cell down and then give a total?

I may be able to do some formatting and have all the info I need directly to the right. So I would have (A1) John, (B1) Data, (C1) Data. The issue would be a cell finding the name, taking the information directly to the right of it and adding it as many times as the name is found on the sheet.

View 5 Replies View Related

Adding Specific Prefix To A Column

May 25, 2012

I need to add a specific prefix (in this case DR- ) to a whole column. The problem is I have some cell that already have the prefix while others don't. I also have some cell with value N/A and I don't want them to get the prefix either

PHP Code:

[Code] ......

What I need them to be is :


[Code] ....

The text need to be search able (no formula ).

View 6 Replies View Related

Adding Cells Over Specific Range?

Sep 19, 2013

I'm looking to easily drag the sum of certain cells in a different column BUT keeping a specific range, it's hard to explain so i'll show an example...


And so on...

Is there any way I can do this by dragging down the cell formula from B1 and it remembering the range of 4, so I don't have to manually select each range...?

View 1 Replies View Related

Adding From Specific Named Cells

Jan 21, 2009

I have 2 columns named "ASC" and "AE" which have total calculations of stores inventory data. To the right of the "ASC" and "AE" columns are store columns with (C1="store#"), (C2="state"), (C3="name"), and (C4:C14="inventory count") totals.

If at anytime a stores "name"="AE", I want the "inventory count" for that store to calculate within the the "AE" column.

Anytime a stores "name"="anything except AE", I want the "inventory count" for that store to calculate within the the "ASC" column.

A1:A3= "ASC"
A4 through A14= Inventory Total

B1:B3= "AE"
B4 through B14= Inventory Total

C1= Store#
C2= State
C3= Name
C4 through C14= Inventory count

D1= Store#
D2= State...

View 11 Replies View Related

Adding Specific Values In Different Columns Using One Formula?

Mar 28, 2014

How would I go about finding the "Number of Shirts Ordered" values in the top right?

View 1 Replies View Related

Adding A Column With Variables For Specific Entries?

Jan 31, 2013

I have a table which looks like this:

Name 1 IDNumber Name 2 Name 3 Column 5

Tom20148 John Malmo
Tom20148 Will Malmo
Bob20206 Will Malmo
Tom20206 Will Paris
Bob20206 Rob Rotterdam
Bob20207 John Rotterdam
Ray20207 John Paris
Tom20208 John Malmo
Ray20208 Rob London
Ray20209 Rob Paris
Bob20209 Will Malmo

Is it possible to have excel go through this list and assign each row a number in column 5 based on the names and the IDNumber? Basically, I would want each entry that is identical in name 1, 2 and 3 to be assigned numbers 1, 2, 3, 4, 5 etc based on their IDNumber. So Tom/John/Malmo with the IDNumber 20148 would get the number 1 in column 5, while the next match (Tom/John/Malmo/20208) would get the number 2 in column 5. For each different match of Name 1,2 and 3, I would want the count in column 5 to start at 1. So Bob/Will/Malmo/ 20206 would get number 1, Bob/Will/Malmo/20209 number 2 etc.

View 4 Replies View Related

Adding Variable To Specific Sheetname In A Sumif Function

Feb 4, 2010

Hi, looking for help desperately in fine tuning a formula. I have a formula at the moment (which works) for searching through a list on a separate file and totalling up all values which relate to it, see below:


The tab 1 in the formula relates to the first of the month so this month there are 28 different tabs with similar information.

With C10 containing the date in this instance, does anybody know a way of making 1 a variable so that entering 04/02/10 would change it automatically into a 4? (Unfortunately for me changing the 1 to =c10 didnt work).

View 14 Replies View Related

Adding An Auto Filter On Specific Columns Of A Worksheet..?

Dec 14, 2007

How do I go about using adding an auto filter on specific columns of a worksheet..?

I.e. I want to auto filter column "D", "G" and "I" but none of the columns in-between ("E", "F" and "H")

Currently I can only create the filter for one column or a group of columns that are next to each other)

View 9 Replies View Related

Copyrights 2005-15, All rights reserved