Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 6
Default How to display month in a column based on a value in a cell

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
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5,934
Default How to display month in a column based on a value in a cell

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

--
Rick (MVP - Excel)


"Panchi" wrote in message
...
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


  #3   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How to display month in a column based on a value in a cell

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


Assuming D1 down contains real dates
In A1, copied down: =IF(D1="","",TEXT(D1,"ddd"))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:21,000 Files:370 Subscribers:66
xdemechanik
---
  #4   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How to display month in a column based on a value in a cell

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
---
  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 6
Default How to display month in a column based on a value in a cell


Thankyou al for the response.


"Max" wrote:

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
---



  #6   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How to display month in a column based on a value in a cell

Welcome. Pl press the YES buttons (like the ones below) in ALL responses
which helped to answer your query
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:21,000 Files:370 Subscribers:66
xdemechanik
---
"Panchi" wrote:
Thankyou all for the response


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
If date in column A is less than 15th of month can I display next. Angela Excel Discussion (Misc queries) 4 November 7th 07 03:40 PM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Discussion (Misc queries) 1 December 27th 06 06:47 PM
a cell to display number of days in a month given in another cell sudip Excel Worksheet Functions 1 September 5th 06 03:54 PM
Getting column value based on month [email protected] Excel Worksheet Functions 2 June 3rd 06 09:50 AM
i want to display the month from a date into another cell weazal5 Excel Worksheet Functions 1 April 26th 05 08:51 AM


All times are GMT +1. The time now is 02:01 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"