Formula Excel

```Wondering if someone would be able to help me with this:

A	B		C
Year	Year		Service
01-Sep-89	30-Jun-10	=	21 Years

Teachers
From September 1, 1989 to June 30, 1990 = 1 Year of Service.
I know it only 10 months, but that is their year.

Is there a formula that could caculate the number of years
from September 1, 1989 to June 30, 2010.

--
Newfie
```
 0
Utf
4/19/2010 8:33:01 PM
excel.worksheet.functions 4936 articles. 2 followers.

2 Replies
849 Views

Similar Articles

[PageSpeed] 23

```The general formula for years between dates is
=Year(latest date) - Year(earlier date)
and 2010-1989 = 21 years.  So that might work for most cases?  A
complication arises if they begin, but don't finish a year, and so you need
to know how to deal with partial years, such as from
01-Sep-89 through 15-Oct-10  That's 21 years of service plus a couple of
months, so how do you want to handle that situation?

"Newfie809" wrote:

> Wondering if someone would be able to help me with this:
>
> A	B		C
> Year	Year		Service
> 01-Sep-89	30-Jun-10	=	21 Years
>
> Teachers
> From September 1, 1989 to June 30, 1990 = 1 Year of Service.
> I know it only 10 months, but that is their year.
>
> Is there a formula that could caculate the number of years
> from September 1, 1989 to June 30, 2010.
>
>
>
>
>
>
>
>
>
> --
> Newfie
```
 0
Utf
4/19/2010 9:29:01 PM
```Yes, you are right some may leave at the end of December or the End of June.
But I am looking for a formula that will give us the total number of years of
service.  Maybe one formula will work for both?
--
Newfie

"JLatham" wrote:

> The general formula for years between dates is
> =Year(latest date) - Year(earlier date)
> and 2010-1989 = 21 years.  So that might work for most cases?  A
> complication arises if they begin, but don't finish a year, and so you need
> to know how to deal with partial years, such as from
> 01-Sep-89 through 15-Oct-10  That's 21 years of service plus a couple of
> months, so how do you want to handle that situation?
>
> "Newfie809" wrote:
>
> > Wondering if someone would be able to help me with this:
> >
> > A	B		C
> > Year	Year		Service
> > 01-Sep-89	30-Jun-10	=	21 Years
> >
> > Teachers
> > From September 1, 1989 to June 30, 1990 = 1 Year of Service.
> > I know it only 10 months, but that is their year.
> >
> > Is there a formula that could caculate the number of years
> > from September 1, 1989 to June 30, 2010.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Newfie
```
 0
Utf
4/21/2010 1:16:01 PM

Similar Artilces:

2003 excell crashed after upgrade from microsoft. repair?
2003 excell crashed after upgrade from microsoft. How to repair? when attempt to open excell worksheet computer acts as if excel has never been installed at all. Returns this message "the path 'microsoft office standard edition 2003' cannot be found. verify that you have access to this location and try again, or try to find the installation package 'std11n.msi' in a folder from which you can install the product Microsoft Office Standard Edition 2003. Our problem is we cannot locate the original disk at this time and seriously need access to all the work perfomed o...

Need help using a VBAscript in excel
I need help :-( In this article there is a script to upload a file via FTP in VBA. http://www.naterice.com/articles/51 What I want to do is run this script with a pushbutton or when the file get's closed. I'm new to VBA, and the part where they tell me to supply the information is confusing. As I see it, I have to "open" the FTPupload and parse the information about the server when I call for the script? But how do I do this? I have tried in Excel to past the code in the VBA-editor, but how can I get a button to open this function with the information it needs? I'm ...

help with formula please #2
Can anyone please help with this formula. If Sheet1 Column A = nothing(blank) And Column B = \\\\\\CC\\\\\\ Then Sheet 2 B7 = SumTotal. As a regular formula would be nice or VB code Hi Richard you want nothing at all in the whole of column A in sheet 1? do you want every cell in column B of sheet 1 to have \\\\\\CC\\\\\\ or should this (can this) only appear in one cell? and what range are you summing on sheet 2 in cell B7? Cheers JulieD "Richard" <anonymous@discussions.microsoft.com> wrote in message news:82ce01c477e1\$77f0e740\$a301280a@phx.gbl... > Can anyone please ...

help with a formula #5
I have 98 sets of magazines each set has 12 in the set what formula can I use to get a total of issues in all sets have you tried 98*12 -- Don Guillett SalesAid Software dguillett1@austin.rr.com "Just Me" <no@isp.com> wrote in message news:eZ66ZEGHGHA.1192@TK2MSFTNGP11.phx.gbl... >I have 98 sets of magazines each set has 12 in the set > > what formula can I use to get a total of issues in all sets > =98*12 or =A1*A2 if the numbers are in A1 and A2 -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Just Me" <n...

Is there a virus out there that is affecting excel spreadsheets
Was adding my spreadsheets and the numbers would not add up. So I shut my computer down and ran a norton anti virus program. It seemed to correct the problem for now but can someone advise me if there is a virus out there that is affecting the spreadsheet programs Thanks Jean "jean" <jean@discussions.microsoft.com> wrote in message news:E371C861-DCB6-4B4F-AF08-335133C560EB@microsoft.com... > > Was adding my spreadsheets and the numbers would not add up. So I > shut my computer down and ran a norton anti virus program. It seemed > to correct the problem for n...

Excel programming
Hi All! Here is some Help asked, since I'm not familiar with Excel programming, I can't find an Answer for my problem. Here is the Problem: I need to replace come words in 1st.Cell with words from another 3rd.Cell if Content of the 1.st.Cell and the 2nd.Cells matches. Main problem is the Volume 25.000 Strings ? 15 Rows. As I understand the algorithm for this operation it may look like this: Get Ai Value Get Bj Value Compare Ai and Bj values for equality If true then get Cj Value and put to Ai Value; Next Ai (Ai++) If false then get next Bj (Bj++) Example: Before replaceme...

Appending or Up-dating a formula
I am using an =Ave function in a formula to average quite a few cell values together. I add new information all the time; sometimes 5 or 6 new cells at a time. How can I append or up-date my formula to include these new cells with out have to type the new cells into the formula? When I make the cell that has the formula in it active/edit, all of the cells that are referenced in the formula have a highlight around them. Is there a key or key combination I can press while clicking on the cells I want to add to the formula? Thanks, john Hi see your post in Excel.misc -- Regards Frank ...

How to run Visual Basic from Excel sheet #8
How do I run a Visual Basic routine from a normal Excel cell. I would like to do something like this: =IF(RunIt=TRUE, Run my Visual Basic routine, Do nothing) So if some calculations results in the variable "RunIt" is set equal to TRUE, the Visual Basic routine must run. Kristian ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ Hi Kristian, You can only run functions from a worksheet. Not subs. You can use a worksheet change event. Do a google search for w...

Changing a range of an array in a SUMPRODUCT formula gives a #N/A error
I have a working SUMPRODUCT formula {=SUMPRODUCT((\$C\$4:\$C\$4341=z8)*(audittypefm1="Standard"))} that I need to change the 1st array to C5623. When I do I get a #N/A error. I've tried giving the range a name (empnofm2), and I've verified all the data in the C4:C5623 range is formated the same (general, it is all employee numbers from 2 to 5 digits long. I'm using a "trim all" macro which is working great. I am unable to determine what is causing the #N/A and how to fix it. Basically I copied an entire worksheet within the same workbook and changed the name, wh...

Long delay in Excel due refresh from Smart Tags for Dynamics GP9 ?
We have installed Smart Tags for Dynamics GP9 on a few workstations. Coincidentally, we have noticed users on these workstations have experienced long delays (5 minutes) periodically while working in Excel. We noticed in the Smart Tags documentation is says "It is dynamically refreshed with information from Microsoft Dynamics GP databases based on the last time recognition occurred in the host applications." 1) Has anybody else noticed long delays on workstations where they have installed Smart Tags for Dynamics GP9? 2) Is the Smart Tags refresh period what is causing the...

excel chart embedded in asp page
Is there a way to embed an excel chart, which is feeding off of SQL Server 2000, into an asp page? Thanks! ...

Formula #29
Hi, What formula should I use if I want it to look at a specific cell and then work out the total number between two numbers. e.g. if cell H6 had 7-4 entered the number 9 would be returned. Thanks in advance I'm not sure how you got 9, but your life would be much easier if you used two separate cells and then subtracted the smaller from the larger (and then added one???). Boenerge wrote: > > Hi, > What formula should I use if I want it to look at a specific cell and then > work out the total number between two numbers. > e.g. if cell H6 had 7-4 entered the number 9 woul...

How do YOU organize the Excel projects? #2
I am not a pro in the programming, but I wrote several macros/programs doing various stuff over the years. Some of the rutines I use for future reference. All of them are in the Module1, Module2.....Module35. If I want to find some of the projects I have to go through 30 modules to find the right one. How do pros take care of it? Thanks. You may assign names to your modules. In the VB Editor, select the module and choose View>Properties>select the name that says Module1 and change it as desired. -- Greeting from the Gulf Coast! http://myweb.cableone.net/twodays "art" <a...

Can offset be used in this formula?
Can the offset be used in the below formula for the information in column "K"? In column L have the the following formula's L46 =MAX(\$I46*1000-\$K\$46*\$J46,0) L47 =MAX(\$I47*1000-\$K\$46*\$J47,0) .... L99 =MAX(\$I99*1000-\$K\$46*\$J99,0) What I'd like to do is to copy the fomula into columns M, N, O, ... M47 =MAX(\$I47*1000-\$K\$47*\$J47,0) M48 =MAX(\$I48*1000-\$K\$47*\$J48,0) M49 =MAX(\$I49*1000-\$K\$47*\$J49,0) .... N48 =MAX(\$I48*1000-\$K\$48*\$J48,0) N49 =MAX(\$I49*1000-\$K\$48*\$J49,0) .... O50 =MAX(\$I50*1000-\$K\$50*\$J50,0) O51 =MAX(\$I51*1000-\$K\$50*\$J51,0) .... How abou...

I have a report that must be turned in the night before for tomorrow's date. Is ithere a date formula that will return tomorrow's date to a cell in Excel? One way: =TODAY() + 1 In article <668782AC-774A-475F-9821-8A4C3B14A983@microsoft.com>, "Shadyhosta" <Shadyhosta@discussions.microsoft.com> wrote: > I have a report that must be turned in the night before for tomorrow's date. > Is ithere a date formula that will return tomorrow's date to a cell in Excel? I assume that you want the date to remain static after entry. Easiest way, use 2...

Weekday formula
Can anyone help with the weekday formula. What I want to do is enter the date in say A1 11/20/2003 and have B return the answer of Thursday. Currently I use the weekday formula bu only returns the number of the day. Thanks in advance B ----------------------------------------------- ~~ Message posted from http://www.ExcelTip.com ~~View and post usenet messages directly from http://www.ExcelForum.com There are several ways to do this. One is to enter =A1 and format the cell with a custom number format of dddd. Another way is to use the function =TEXT(A1,"dddd"). -- Cordiall...

COM in VB Excel
How do you register a stand alone COM object in a VB macro? ...

Formula to return a formula
At least I think that's what I'm looking for. here's my situation: I've got a sheet where there is a variable (X) that changes depending on what row it is on. So I have a column (column c) that lists these variables (X is dependant on things from a different sheet). X is a muliplier that is utilized differently depending on the value of N. N is a Picklist selection and can change periodically. Or even be duplicated on more than one row. I have a vlookup that checks the value of N (column a) and needs to return a formula that has X applied if needed on the approp...

Add data to excel series
I receive daily API transation data. Each day the data is provided via a text file. Data is in columns. First column is date, second column is API (35 different APIs), third column is transaction volume and fourth column is average response time. I would like to create a chart with date on the x axis, transaction volume on the y axis, and each API as its own series. I can create a base chart for a single day with all series. I am having a problems adding in addition series data for each additional day? Is there an easy way to add data to each series? Create a PivotTable (and PivotC...

Count formula within a named range.
Hi, How do I change the following formula =SUMIF(\$F\$39:\$F\$79,"PW Shopfitters",\$D\$39:\$D\$79)/COUNTIF(\$F\$39:\$F\$79,"PW Shopfitters") to count within a named range (PW Shopfitters). Any help would be great. Cheers, Phil Hi A range name cannot have spaces, maybe that's your problem. Name your range PW_Shopfitters. Then replace your cell references with PW_Shopfitters, eg =Sumif(PW_Shopfitters,"PW Shopfitters",............ -- j.kasselman@atlantic.net.remove_2nd_at. Randburg, Gauteng, South Africa "PW11111" wrote: > > Hi, > &g...

excel 4 conversion to excel 2008 for Mac
I have been using excel 4 on Mac computers for years, and like it. I recently purchased Office :mac 2008 and wish to convert simple spread sheets. How? In article <ee8dd08.-1@webcrossing.caR9absDaxw>, Arthur_Massey@officeformac.com wrote: > I have been using excel 4 on Mac computers for years, and like it. I recently > purchased Office :mac 2008 and wish to convert simple spread sheets. How? If you saved your file in XL4 format (e.g., workbooks as .xlw and worksheets as .xls), XL08 should open them just fine. XL08 no longer *saves* in XL4 format though, so if you wish to sav...

Including a formula in a path name.
Dear MS, How about a new function for this one. I'm sure MANY users have the same problem as me. The research below seems quite comprehensive and has effectively come up against a brick wall. Thanks Peter Harlan Grove posted this UDF: http://www.google.com/groups?selm=hkQVb.2432%24_4.259%40www.newsranger.com Peter wrote: > > Very Helpful Papou - thank you! > Do you know of an additional / alternative method where you achieve the same tihing but are not required to have all the relevant work sheets open? > Many thanks > Peter > > "papou" wrote: > ...

Word Table into Excel
When I copy a row of text (divided into a number of columns) from a wor table and paste in Excel - it copies down all information from acros the columns down into ONE column (col A) instead of across int seperate columns. Is there any way I can copy over details from table in word to cells into Excel without writing VB -- Message posted from http://www.ExcelForum.com you can create a table in Word that is the same size as the excel information that you are trying to move and then simply copy and paste (when pasting make sure that you highlight the entire table though.) >-----Origi...

How to use a text formula as code formula
Hello. I have this formula loaded from a text field on a form: val([field10])+val([field20]) and I would like to use this as a code formula. I mean, if I use that in VBA code it works, but If I load from a text field it doesn't work. I need that my form use that formula stored in a text field to calculate values. Regards in advance, Marco responded to in another newsgroup. It's rarely necessary to post the same question to more than one group. If it is necessary, select all the relevant newsgroups in the "To:" or "Newsgroups:" field. That way, folks who...

Excel Changes Links Improperly
We are having a problem where Excel changes links to other workbooks and breaks them. This comes up in the following scenario. Different users have access rights to different directories and have their drives mapped differently (i.e. to the directories they have access to). Sometimes a user modifies data in a file that has links to directories that don't exist for them. Of course the links don't work for them, but that's ok. What isn't ok is that when they save the file, Excel changes the links (apparently trying to make the links relative to drive where this use...