How to display month in a column based on a value in a cell

P

Panchi

I am a novie excel user, I would like to request a reolve of 2 issues which
may seem easy :

D1 has a date for which I want the first 3 characters of the month to be
displayed in column A1

I want to have the date formatted as 01.01.08 only no matter what the user
would enter in the sheet....

Thanks in advance
 
R

Rick Rothstein

Put this in A1... =TEXT(D1,"mmm")

Select the cell, click Format/Cell on the menu bar... on the Number tab,
select Custom in the Category listing and put this in the Type field...

mm.dd.yy

assuming the first 01 is the month and the second one is the day (terrible
example by the way). If the month and day are the reverse of that, then put
this in the Type field instead...

dd.mm.yy
 
M

Max

Correction, it should have read:
In A1, copied down: =IF(D1="","",TEXT(D1,"mmm"))

"mmm" returns it as: Jan, Feb, etc
"ddd" returns it as: Mon, Tues, etc
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:21,000 Files:370 Subscribers:66
xdemechanik
---
 

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