Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / May 2008

Tip: Looking for answers? Try searching our database.

Obtaining just the Year out of the date

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Learning Excel - 25 May 2008 17:19 GMT
Is it possible to obtain just the year in B1 out of a whole date in A1 ?
I need to use the date in A1, in order to get a year, just THAT year in B1, in
order to get a result in C1.
It is complicated but the whole date in A1 I use it for 2 other purposes.
and I need the year that happened to show in B1 in order to get a result in
C1.
Also is a long data, but having A1,B1 I'll just copy down the formulas.
THANKS.

Signature

Socrates said: I only know, I don''''''''t know nothing.
I say : I don''''''''t even know, I don''''''''t
know nothing.

Gary''s Student - 25 May 2008 17:35 GMT
=YEAR(A1)
Signature

Gary''s Student - gsnu200788

Ragdyer - 25 May 2008 17:38 GMT
Several ways to go, depending on exactly what you're intending to do with it
in C1.

Enter
=A1
In B1, and custom format to
yyyy

Enter
=Text(A1,"yyyy")
In B1

Enter
=Year(A1)
In B1

Signature

HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

> Is it possible to obtain just the year in B1 out of a whole date in A1 ?
> I need to use the date in A1, in order to get a year, just THAT year in B1, in
[quoted text clipped - 4 lines]
> Also is a long data, but having A1,B1 I'll just copy down the formulas.
> THANKS.
Learning Excel - 25 May 2008 17:48 GMT
I'll be d... Yes, it works!
THANKS Ragdyer and Gary's Student. Appreciate it.
Signature

Socrates said: I only know, I don''''''''t know nothing.
I say : I don''''''''t even know, I don''''''''t
know nothing.

> Several ways to go, depending on exactly what you're intending to do with it
> in C1.
[quoted text clipped - 22 lines]
> > Also is a long data, but having A1,B1 I'll just copy down the formulas.
> > THANKS.
Ragdyer - 25 May 2008 19:09 GMT
And we appreciate your feed-back.
Signature

Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

> I'll be d... Yes, it works!
> THANKS Ragdyer and Gary's Student. Appreciate it.
[quoted text clipped - 29 lines]
> > > Also is a long data, but having A1,B1 I'll just copy down the formulas.
> > > THANKS.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.