Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default Date Formulas & format

Dear all

I have in cell A1 the formula =NOW(), in order to have the currnet date.
I want ot split in A2, A3, and A4 the date, month and year resprectivly, and
in format of date, month & year
eg: A1- 02/08/2007
i want in A2 02, A3-August, A4-2007,

What can i do and what type of format should i have in A3 in order to see
August instead of 08.

Thanks in advance
Manos
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 244
Default Date Formulas & format

On 2 Aug, 10:02, Manos wrote:
Dear all

I have in cell A1 the formula =NOW(), in order to have the currnet date.
I want ot split in A2, A3, and A4 the date, month and year resprectivly, and
in format of date, month & year
eg: A1- 02/08/2007
i want in A2 02, A3-August, A4-2007,

What can i do and what type of format should i have in A3 in order to see
August instead of 08.

Thanks in advance
Manos


a2 should be

=day(a1)

cell formatted to 2 digits

A3 becomes
=text(a1,"mmmm")

A4 is

=year(a1)

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Date Formulas & format

Hi,

In A2, A3 and A4 enter the formula =A1

Then use a custom format on each cell

a2= dd
A3 = mmmm
A4 =yyyy

Mike

"Manos" wrote:

Dear all

I have in cell A1 the formula =NOW(), in order to have the currnet date.
I want ot split in A2, A3, and A4 the date, month and year resprectivly, and
in format of date, month & year
eg: A1- 02/08/2007
i want in A2 02, A3-August, A4-2007,

What can i do and what type of format should i have in A3 in order to see
August instead of 08.

Thanks in advance
Manos

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default Date Formulas & format

thank you

" wrote:

On 2 Aug, 10:02, Manos wrote:
Dear all

I have in cell A1 the formula =NOW(), in order to have the currnet date.
I want ot split in A2, A3, and A4 the date, month and year resprectivly, and
in format of date, month & year
eg: A1- 02/08/2007
i want in A2 02, A3-August, A4-2007,

What can i do and what type of format should i have in A3 in order to see
August instead of 08.

Thanks in advance
Manos


a2 should be

=day(a1)

cell formatted to 2 digits

A3 becomes
=text(a1,"mmmm")

A4 is

=year(a1)


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
Convert date from text format to date format Anita Excel Discussion (Misc queries) 3 June 4th 07 11:57 AM
Convert date + time text format to date format Paul Ho Excel Worksheet Functions 2 May 22nd 07 05:47 PM
Can I change a date with no format (20051111) to date format? Rose New Users to Excel 2 November 11th 05 09:03 PM
Excel 2000 date format cannot be set to Australian date format Brian Jones Excel Discussion (Misc queries) 1 March 30th 05 06:03 AM
Min/Max formulas using cells with date format WDS2000 Excel Worksheet Functions 1 February 7th 05 06:03 PM


All times are GMT +1. The time now is 09:02 AM.

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"