Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
TBee
 
Posts: n/a
Default


There are two ways you could do this

1. The simple way.
You could copy your dates to an additional column, select the new
column. Go to the "Format Menu" select "Cells", then select the
"Number" Tab and scroll to "Custom" and select. In the "Type" box,
input "DDDD" (for the weekday) or "DDDD, DD/MM/YYYY" (for the weekday
followed by the date) and then hit "OK".

2. The slightly less simple way.
Using VBA add a module to the spreadsheet and add this function to it

Function DayOfTheWeek(Dates)
DayOfTheWeek = Format(Dates, "DDDD")
End Function

Call the function from your spreadsheet as follows (assuming cell A1
has a date in) "=DayOfTheWeek(A1)"

The second method is better, if you want to combine the day of the week
with other strings.


--
TBee
------------------------------------------------------------------------
TBee's Profile: http://www.excelforum.com/member.php...fo&userid=3557
View this thread: http://www.excelforum.com/showthread...hreadid=457301

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
How do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
adding occurrences for date range Mike Excel Discussion (Misc queries) 1 April 28th 05 09:14 PM
adding occurrences for date range Mike Excel Discussion (Misc queries) 0 April 11th 05 05:24 PM
adding occurrences for date range Mike Excel Discussion (Misc queries) 0 April 8th 05 11:33 PM
compute upcoming Sunday date in a cell CJ Excel Worksheet Functions 2 November 25th 04 03:33 PM


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