Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How can I create a formula to calculate a year based on a date? For
example, I have a cell that includes the following date: 3/1/08. I would like to create a formula in the adjacent cell that calculates the four digit year that corresponds with the date: 2008. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
A bit more info perhaps.
-- Don Guillett SalesAid Software "AmyBC" wrote in message ... How can I create a formula to calculate a year based on a date? For example, I have a cell that includes the following date: 3/1/08. I would like to create a formula in the adjacent cell that calculates the four digit year that corresponds with the date: 2008. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=YEAR(A1)
or =--TEXT(A1,"yyyy") or =A1 and format as yyyy the last one only changes the display, the first 2 are 4 digit numbers for the year Regards, Peo Sjoblom AmyBC wrote: How can I create a formula to calculate a year based on a date? For example, I have a cell that includes the following date: 3/1/08. I would like to create a formula in the adjacent cell that calculates the four digit year that corresponds with the date: 2008. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In B1 =A1
Format your cell as: yyyy "AmyBC" wrote: How can I create a formula to calculate a year based on a date? For example, I have a cell that includes the following date: 3/1/08. I would like to create a formula in the adjacent cell that calculates the four digit year that corresponds with the date: 2008. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Or, if you want the actual value to be 2008, then use =YEAR(A1)
Tony On Jan 4, 9:20 am, AmyBC wrote: How can I create a formula to calculate a year based on a date? For example, I have a cell that includes the following date: 3/1/08. I would like to create a formula in the adjacent cell that calculates the four digit year that corresponds with the date: 2008. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
End of Year | Excel Worksheet Functions | |||
Ho to Delete "Ghost" Pivot Tables | Excel Discussion (Misc queries) | |||
Calculation Setting in Excel | Excel Discussion (Misc queries) | |||
How do I use a rounded calculation result in another calculation? | Excel Worksheet Functions | |||
How do I use a rounded calculation result in another calculation? | Excel Worksheet Functions |