Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Converting Month Number to Month Text Abbreviation

Example:
Cell A1 = 11/17/2007
Using a function/formula, I would like cell B1 to display "Nov" (without
using any date formats) . . . as if I had simply typed "Nov" (without the
double quotes) in cell B1.
I would greatly appreciate any help.
Thanks,
Bob
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default Converting Month Number to Month Text Abbreviation

=TEXT(A1,"mmm")

HTH,
Paul

"Bob" wrote in message
...
Example:
Cell A1 = 11/17/2007
Using a function/formula, I would like cell B1 to display "Nov" (without
using any date formats) . . . as if I had simply typed "Nov" (without the
double quotes) in cell B1.
I would greatly appreciate any help.
Thanks,
Bob



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Converting Month Number to Month Text Abbreviation

Try this:

=TEXT(A1,"mmm")

HTH,
Elkar


"Bob" wrote:

Example:
Cell A1 = 11/17/2007
Using a function/formula, I would like cell B1 to display "Nov" (without
using any date formats) . . . as if I had simply typed "Nov" (without the
double quotes) in cell B1.
I would greatly appreciate any help.
Thanks,
Bob

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Converting Month Number to Month Text Abbreviation

=CHOOSE(MONTH(A1),"Jan","Feb","Mar","Apr","May","J un","Jul","Aug","Sep","Oct","Nov","Dec")

Using date formats is a lot easier.
--
Gary''s Student - gsnu200715


"Bob" wrote:

Example:
Cell A1 = 11/17/2007
Using a function/formula, I would like cell B1 to display "Nov" (without
using any date formats) . . . as if I had simply typed "Nov" (without the
double quotes) in cell B1.
I would greatly appreciate any help.
Thanks,
Bob

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Converting Month Number to Month Text Abbreviation

=A1

Custom Format cells as mmm

"Bob" wrote:

Example:
Cell A1 = 11/17/2007
Using a function/formula, I would like cell B1 to display "Nov" (without
using any date formats) . . . as if I had simply typed "Nov" (without the
double quotes) in cell B1.
I would greatly appreciate any help.
Thanks,
Bob



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Converting Month Number to Month Text Abbreviation

Thanks to everyone for their help!
Bob

"Bob" wrote:

Example:
Cell A1 = 11/17/2007
Using a function/formula, I would like cell B1 to display "Nov" (without
using any date formats) . . . as if I had simply typed "Nov" (without the
double quotes) in cell B1.
I would greatly appreciate any help.
Thanks,
Bob

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 414
Default Converting Month Number to Month Text Abbreviation

Hi there,

I used the function but the result show "Jan" only, please help!!!

A1 : 15/4/07
B1 : =IF(ISBLANK(A1),"",MONTH(A1)) 'show 4 in the cell
C1 : =Text(IF(ISBLANK(A1),"",MONTH(A1)),"mmm") 'show Jan in the cell

"Elkar" wrote:

Try this:

=TEXT(A1,"mmm")

HTH,
Elkar


"Bob" wrote:

Example:
Cell A1 = 11/17/2007
Using a function/formula, I would like cell B1 to display "Nov" (without
using any date formats) . . . as if I had simply typed "Nov" (without the
double quotes) in cell B1.
I would greatly appreciate any help.
Thanks,
Bob

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Converting Month Number to Month Text Abbreviation

Try it like this:

=IF(ISNUMBER(A1),TEXT(A1,"mmm"),"")

Biff

"Andy" wrote in message
...
Hi there,

I used the function but the result show "Jan" only, please help!!!

A1 : 15/4/07
B1 : =IF(ISBLANK(A1),"",MONTH(A1)) 'show 4 in the cell
C1 : =Text(IF(ISBLANK(A1),"",MONTH(A1)),"mmm") 'show Jan in the cell

"Elkar" wrote:

Try this:

=TEXT(A1,"mmm")

HTH,
Elkar


"Bob" wrote:

Example:
Cell A1 = 11/17/2007
Using a function/formula, I would like cell B1 to display "Nov"
(without
using any date formats) . . . as if I had simply typed "Nov" (without
the
double quotes) in cell B1.
I would greatly appreciate any help.
Thanks,
Bob



  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 414
Default Converting Month Number to Month Text Abbreviation

Hi Biff,

Same result to show Jan only, why????

"T. Valko" wrote:

Try it like this:

=IF(ISNUMBER(A1),TEXT(A1,"mmm"),"")

Biff

"Andy" wrote in message
...
Hi there,

I used the function but the result show "Jan" only, please help!!!

A1 : 15/4/07
B1 : =IF(ISBLANK(A1),"",MONTH(A1)) 'show 4 in the cell
C1 : =Text(IF(ISBLANK(A1),"",MONTH(A1)),"mmm") 'show Jan in the cell

"Elkar" wrote:

Try this:

=TEXT(A1,"mmm")

HTH,
Elkar


"Bob" wrote:

Example:
Cell A1 = 11/17/2007
Using a function/formula, I would like cell B1 to display "Nov"
(without
using any date formats) . . . as if I had simply typed "Nov" (without
the
double quotes) in cell B1.
I would greatly appreciate any help.
Thanks,
Bob




  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Converting Month Number to Month Text Abbreviation

Same result to show Jan only, why????

That doesn't make any sense!

I use the U.S. date format mm/dd/yyyy

A1 = 4/15/2007

=IF(ISNUMBER(A1),TEXT(A1,"mmm"),"")

Correctly returns: Apr

If A1 is either *empty* or contains TEXT the formula will return a blank "".

If it's returning Jan then there's something "funny" about the date.

If the cell contains a numeric 0 but you suppressed 0 display this will
return Jan.

Format cell A1 as GENERAL. When you do that the value should be 39187. If it
isn't then your date of 15/4/07 is not a true Excel date but then the
formula should return a blank. So, there's something you're not telling me!

Biff

"Andy" wrote in message
...
Hi Biff,

Same result to show Jan only, why????

"T. Valko" wrote:

Try it like this:

=IF(ISNUMBER(A1),TEXT(A1,"mmm"),"")

Biff

"Andy" wrote in message
...
Hi there,

I used the function but the result show "Jan" only, please help!!!

A1 : 15/4/07
B1 : =IF(ISBLANK(A1),"",MONTH(A1)) 'show 4 in the cell
C1 : =Text(IF(ISBLANK(A1),"",MONTH(A1)),"mmm") 'show Jan in the cell

"Elkar" wrote:

Try this:

=TEXT(A1,"mmm")

HTH,
Elkar


"Bob" wrote:

Example:
Cell A1 = 11/17/2007
Using a function/formula, I would like cell B1 to display "Nov"
(without
using any date formats) . . . as if I had simply typed "Nov"
(without
the
double quotes) in cell B1.
I would greatly appreciate any help.
Thanks,
Bob








  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Converting Month Number to Month Text Abbreviation

Try formatting A1 as an unambiguous date.

Give it a custom format of:
mmmm dd, yyyy

What do you see?



Andy wrote:

Hi Biff,

Same result to show Jan only, why????

"T. Valko" wrote:

Try it like this:

=IF(ISNUMBER(A1),TEXT(A1,"mmm"),"")

Biff

"Andy" wrote in message
...
Hi there,

I used the function but the result show "Jan" only, please help!!!

A1 : 15/4/07
B1 : =IF(ISBLANK(A1),"",MONTH(A1)) 'show 4 in the cell
C1 : =Text(IF(ISBLANK(A1),"",MONTH(A1)),"mmm") 'show Jan in the cell

"Elkar" wrote:

Try this:

=TEXT(A1,"mmm")

HTH,
Elkar


"Bob" wrote:

Example:
Cell A1 = 11/17/2007
Using a function/formula, I would like cell B1 to display "Nov"
(without
using any date formats) . . . as if I had simply typed "Nov" (without
the
double quotes) in cell B1.
I would greatly appreciate any help.
Thanks,
Bob





--

Dave Peterson
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
converting month name to number runsrealfast Excel Worksheet Functions 3 April 4th 23 02:25 PM
Function or formula to convert "text" month to number of month? Steve Vincent Excel Discussion (Misc queries) 5 May 15th 07 01:11 AM
converting Month name to a number runsrealfast Excel Discussion (Misc queries) 3 June 13th 06 06:34 PM
Function or formula to convert "text" month to number of month? Kevin Vaughn Excel Discussion (Misc queries) 0 February 4th 06 04:45 PM
Function or formula to convert "text" month to number of month Steve Vincent Excel Discussion (Misc queries) 1 February 4th 06 04:19 PM


All times are GMT +1. The time now is 08:47 PM.

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

About Us

"It's about Microsoft Excel"