Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Al
 
Posts: n/a
Default Working with dates

Hi
In cell A1 I have the numeric value of a month for example 3. In A2 I would
like the previous month formatted as MMM. What formula would I use?
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Working with dates

=TEXT(DATE(YEAR(TODAY()),A1-1,1),"mmm")

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Al" wrote in message
...
Hi
In cell A1 I have the numeric value of a month for example 3. In A2 I

would
like the previous month formatted as MMM. What formula would I use?
Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ardus Petus
 
Posts: n/a
Default Working with dates

One way: =TEXT(DATE(1,A1,1),"MMM")

another one:
=CHOOSE(A1,"JAN","FEB","MAR","APR","MAY","JUN","JU L","AUG","SEP","OCT","NOV"
,"DEC")


HTH
--
AP

"Al" a écrit dans le message de
...
Hi
In cell A1 I have the numeric value of a month for example 3. In A2 I

would
like the previous month formatted as MMM. What formula would I use?
Thanks



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Al
 
Posts: n/a
Default Working with dates

Thanks!!!


"Bob Phillips" wrote:

=TEXT(DATE(YEAR(TODAY()),A1-1,1),"mmm")

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Al" wrote in message
...
Hi
In cell A1 I have the numeric value of a month for example 3. In A2 I

would
like the previous month formatted as MMM. What formula would I use?
Thanks




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 PM
VLOOKUP & Dates: Why is this Formula working? Ali Excel Worksheet Functions 1 January 18th 06 01:37 PM
Tex Dates to numerical Dates ufo_pilot Excel Worksheet Functions 3 January 12th 06 02:19 AM
Is there a way to calculate business working days between dates i. hjyoungii Excel Worksheet Functions 2 February 23rd 05 04:25 PM
Formating Dates for production schedule dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 08:43 PM


All times are GMT +1. The time now is 01:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"