Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Showing date as day of week

Followed the help and used Day function to calculate the day of the week then
formatted as custom to ddd to show short day name.

But sometimes it returns wrong day. e.g.
09/05/2009 (F68). Formulae G68 is =DAY(F68), returns Mon. Buts its actually
Sat???

Any ideas
Thanks
Trevor
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Showing date as day of week

Try this formula instead

=TEXT(F68,"ddd")

If this post helps click Yes
---------------
Jacob Skaria


"Trevor Aiston" wrote:

Followed the help and used Day function to calculate the day of the week then
formatted as custom to ddd to show short day name.

But sometimes it returns wrong day. e.g.
09/05/2009 (F68). Formulae G68 is =DAY(F68), returns Mon. Buts its actually
Sat???

Any ideas
Thanks
Trevor

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Showing date as day of week

Yep that worked. But tried =WEEKDAY(F68) and that worked too, retaining the
cell as a serial number.

But thanks for your help

Trev

"Jacob Skaria" wrote:

Try this formula instead

=TEXT(F68,"ddd")

If this post helps click Yes
---------------
Jacob Skaria


"Trevor Aiston" wrote:

Followed the help and used Day function to calculate the day of the week then
formatted as custom to ddd to show short day name.

But sometimes it returns wrong day. e.g.
09/05/2009 (F68). Formulae G68 is =DAY(F68), returns Mon. Buts its actually
Sat???

Any ideas
Thanks
Trevor

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Showing date as day of week

Forgot to mention...DAY() returns the day of a date, represented by a serial
number. The day is given as an integer ranging from 1 to 31....

Try with a date 09/25/2009

WEEKDAY() returns the day of the week

If this post helps click Yes
---------------
Jacob Skaria


"Trevor Aiston" wrote:

Yep that worked. But tried =WEEKDAY(F68) and that worked too, retaining the
cell as a serial number.

But thanks for your help

Trev

"Jacob Skaria" wrote:

Try this formula instead

=TEXT(F68,"ddd")

If this post helps click Yes
---------------
Jacob Skaria


"Trevor Aiston" wrote:

Followed the help and used Day function to calculate the day of the week then
formatted as custom to ddd to show short day name.

But sometimes it returns wrong day. e.g.
09/05/2009 (F68). Formulae G68 is =DAY(F68), returns Mon. Buts its actually
Sat???

Any ideas
Thanks
Trevor

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Showing date as day of week

You'd better look at help for the DAY function again. It doesn't give day
of the week, it gives 1 to 31, in other words day of the month.

If you want a number for day of the week, look at help for the WEEKDAY
function.
If you want to display the date in ddd format, just use that format on your
original date, or on a cell which merely copies it, e.g. =F68.
If you want it as text, use =TEXT(F68,"ddd")
--
David Biddulph

"Trevor Aiston" wrote in message
...
Followed the help and used Day function to calculate the day of the week
then
formatted as custom to ddd to show short day name.

But sometimes it returns wrong day. e.g.
09/05/2009 (F68). Formulae G68 is =DAY(F68), returns Mon. Buts its
actually
Sat???

Any ideas
Thanks
Trevor



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 regular Date to Week Ending or Week Beginning Dates Sam H Excel Discussion (Misc queries) 5 April 3rd 23 04:39 PM
Display "this week" column headers w/date & day of week? Ivan Wiegand Excel Worksheet Functions 9 September 12th 07 05:18 PM
Date showing incorrect. 30:00 hrs showing 06:00 AlanStotty Excel Discussion (Misc queries) 4 August 9th 07 01:44 PM
Date Function formula that will return the date of a specific week Greg Excel Worksheet Functions 4 June 12th 06 05:07 PM
I need week number in excell from a date, first week must be mini. jPeich Excel Discussion (Misc queries) 4 January 5th 05 01:21 AM


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