Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have a date like this: 23/05/2005 15:59:43. I need a formula to extract the
year - I've been trying mid, right, etc, but just can't get it. Thanks! maryj |
#2
![]() |
|||
|
|||
![]()
=YEAR(date_cell)
-- HTH RP (remove nothere from the email address if mailing direct) "maryj" wrote in message ... I have a date like this: 23/05/2005 15:59:43. I need a formula to extract the year - I've been trying mid, right, etc, but just can't get it. Thanks! maryj |
#3
![]() |
|||
|
|||
![]()
Is the entry really a date or a string? If a date, then =year(a1) will get
the year. If a string, =MID(A1,FIND(" ",A1)-4,4). "maryj" wrote: I have a date like this: 23/05/2005 15:59:43. I need a formula to extract the year - I've been trying mid, right, etc, but just can't get it. Thanks! maryj |
#4
![]() |
|||
|
|||
![]()
Hi
with date in A1 =YEAR(A1) -- Arvi Laanemets ( My real mail address: arvil<attarkon.ee ) "maryj" wrote in message ... I have a date like this: 23/05/2005 15:59:43. I need a formula to extract the year - I've been trying mid, right, etc, but just can't get it. Thanks! maryj |
#5
![]() |
|||
|
|||
![]()
=YEAR(cell)
-- Regards, Peo Sjoblom "maryj" wrote in message ... I have a date like this: 23/05/2005 15:59:43. I need a formula to extract the year - I've been trying mid, right, etc, but just can't get it. Thanks! maryj |
#6
![]() |
|||
|
|||
![]()
That did it! I was trying to do a search based on the /, didn't think of
using the space!! -- maryj "bpeltzer" wrote: Is the entry really a date or a string? If a date, then =year(a1) will get the year. If a string, =MID(A1,FIND(" ",A1)-4,4). "maryj" wrote: I have a date like this: 23/05/2005 15:59:43. I need a formula to extract the year - I've been trying mid, right, etc, but just can't get it. Thanks! maryj |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Auto Year scale | Charts and Charting in Excel | |||
Trendline Extract | Charts and Charting in Excel | |||
Extract Unique Values, Then Extract Again to Remove Suffixes | Excel Discussion (Misc queries) | |||
How to compare current year to prior year in bar chart? | Charts and Charting in Excel | |||
Extract specific data into its own workbook via macro? | Excel Discussion (Misc queries) |