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 / Worksheet Functions / May 2006

Tip: Looking for answers? Try searching our database.

Another simple formula needed

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Connie Martin - 25 May 2006 14:20 GMT
In A3 there's a date, in date format:  May-24-06.  In B3 I would like a
formula that would insert MAY, picking up the month from A3.  If the date in
A3 is Apr-18-06, then I would like B3 to yield APR, and so on.     Connie
Duke Carey - 25 May 2006 14:28 GMT
in B3

=A3

& use a custom format of MMM

> In A3 there's a date, in date format:  May-24-06.  In B3 I would like a
> formula that would insert MAY, picking up the month from A3.  If the date in
> A3 is Apr-18-06, then I would like B3 to yield APR, and so on.     Connie
William Okumu - 25 May 2006 15:21 GMT
You Can use also choose function and nest it with month
eg if your date is in A1, the the formulae will be

=Choose(month(a1),"Jan","Feb","Mar","Apr","May","June","July","Aug","Sep","Oct","Nov","Dec"
Connie Martin - 25 May 2006 15:38 GMT
This works.  Thank you very much.  Connie

> You Can use also choose function and nest it with month
> eg if your date is in A1, the the formulae will be
>
> =Choose(month(a1),"Jan","Feb","Mar","Apr","May","June","July","Aug","Sep","Oct","Nov","Dec")
Connie Martin - 25 May 2006 15:48 GMT
William, it would be helpful that when you respond to a question that the
question itself appear in your post because I print my answers that work to
keep for future reference, and when I look at yours some day I will wonder
"what was the question????"         Connie

> You Can use also choose function and nest it with month
> eg if your date is in A1, the the formulae will be
>
> =Choose(month(a1),"Jan","Feb","Mar","Apr","May","June","July","Aug","Sep","Oct","Nov","Dec")
Connie Martin - 25 May 2006 15:42 GMT
This is a much simpler way of doing it than William Okumu's formula, however,
his works better.  The reason is, even though I formatted the column to MMM
for the month, it insists on putting the date as May instead of MAY.  I
changed William's formula to include 3-letter capitalized months and it works
that way.    Connie

> in B3
>
[quoted text clipped - 5 lines]
> > formula that would insert MAY, picking up the month from A3.  If the date in
> > A3 is Apr-18-06, then I would like B3 to yield APR, and so on.     Connie
Toppers - 25 May 2006 16:35 GMT
=UPPER(TEXT(A3,"MMM")) will put text in upper case

> This is a much simpler way of doing it than William Okumu's formula, however,
> his works better.  The reason is, even though I formatted the column to MMM
[quoted text clipped - 11 lines]
> > > formula that would insert MAY, picking up the month from A3.  If the date in
> > > A3 is Apr-18-06, then I would like B3 to yield APR, and so on.     Connie
 
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.