Writing a month name from its number

T

travis

If I evaluate month(7/7/2008) I get the number 7.

Apart from a whole bunch of nested if statements or something, how
would I get "July" instead?

Is there a built in function that does that?

This is in the context of a formula:

="Asset based fee for "&MONTH(B2)&" "&YEAR(B2)

Which displays "Asset based fee for 7 2008", where I'd like it to say
"Asset based fee for July 2008".

Travis
 
B

Bob Phillips

="Asset based fee for "& TEXT(B2,"mmmm yyyy")

or even

=TEXT(B2,"""Asset based fee for ""mmmm yyyy")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top