Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default How to display 5 into May in mmm format?

Does anyone know how to display 5 into May in mmm format for excel?
If I input the number 5 in cell A1, then I would like to see May in cell B1.
Does anyone have any suggestion?
Thank you for any suggestion
Eric
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default How to display 5 into May in mmm format?

=DATE(YEAR(NOW()),A1,1)

Format as "mmm"

--
HTH,
Laura Cook
Neenah, WI


"Eric" wrote in message
...
Does anyone know how to display 5 into May in mmm format for excel?
If I input the number 5 in cell A1, then I would like to see May in cell
B1.
Does anyone have any suggestion?
Thank you for any suggestion
Eric



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How to display 5 into May in mmm format?

If you want this to be a TEXT value:

=IF(A1="","",TEXT(DATE(2006,1,A1*29),"mmm"))

Biff

"Eric" wrote in message
...
Does anyone know how to display 5 into May in mmm format for excel?
If I input the number 5 in cell A1, then I would like to see May in cell
B1.
Does anyone have any suggestion?
Thank you for any suggestion
Eric



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default How to display 5 into May in mmm format?

Thany everyone for suggestion
Eric
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How to display 5 into May in mmm format?

You're welcome!

Biff

"Eric" wrote in message
...
Thany everyone for suggestion
Eric





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default How to display 5 into May in mmm format?

Hi Biff

Interestingly this also works with just
=(A1="","",TEXT(A1*29,"mmm"))

--
Regards

Roger Govier


"T. Valko" wrote in message
...
If you want this to be a TEXT value:

=IF(A1="","",TEXT(DATE(2006,1,A1*29),"mmm"))

Biff

"Eric" wrote in message
...
Does anyone know how to display 5 into May in mmm format for excel?
If I input the number 5 in cell A1, then I would like to see May in
cell B1.
Does anyone have any suggestion?
Thank you for any suggestion
Eric





  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How to display 5 into May in mmm format?

I had a "duh moment" after I had posted.

Instead of:

=IF(A1="","",TEXT(DATE(2006,1,A1*29),"mmm"))

It could be simply:

=IF(A1="","",TEXT(DATE(2006,A1,1),"mmm"))

Interestingly this also works with just
=(A1="","",TEXT(A1*29,"mmm"))


Yes, even better. Nice and compact!

If A1 = 1 for month January

1*29 = 29 = serial date for Jan 29 1900

Biff

"Roger Govier" wrote in message
...
Hi Biff

Interestingly this also works with just
=(A1="","",TEXT(A1*29,"mmm"))

--
Regards

Roger Govier


"T. Valko" wrote in message
...
If you want this to be a TEXT value:

=IF(A1="","",TEXT(DATE(2006,1,A1*29),"mmm"))

Biff

"Eric" wrote in message
...
Does anyone know how to display 5 into May in mmm format for excel?
If I input the number 5 in cell A1, then I would like to see May in cell
B1.
Does anyone have any suggestion?
Thank you for any suggestion
Eric







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
copy with format horst New Users to Excel 16 September 25th 06 09:43 PM
How do I display time in a negative format? PCERM Excel Worksheet Functions 3 December 28th 05 01:58 PM
display no seconds in time format [h] Finolac Excel Discussion (Misc queries) 1 October 3rd 05 03:19 PM
How do I calculate and display ratio ( format 3.5:2) BKW Excel Worksheet Functions 4 September 28th 05 07:38 PM
Why does Custom Format not control Cell Display? Dennis Excel Discussion (Misc queries) 1 June 11th 05 12:28 AM


All times are GMT +1. The time now is 06:42 AM.

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"