Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
mrjeep
 
Posts: n/a
Default WEEKDAY question on year


This is an easy one, but my brain just isn't working tonight!!

Here's the formula to show the day

=CHOOSE(WEEKDAY("1 Jan
2006"),"Sun","Mon","Tue","Wed","Thu","Fri","Sat")

Is there a way to have a seperate cell w/ the year (let's say A2) and
instead of 2006 in the formula to have = A2, so when you change the
year, it automatically updates each day?

Thanks


--
mrjeep
------------------------------------------------------------------------
mrjeep's Profile: http://www.excelforum.com/member.php...o&userid=34001
View this thread: http://www.excelforum.com/showthread...hreadid=538339

  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default WEEKDAY question on year

=CHOOSE(WEEKDAY("1 Jan " &A2),"Sun","Mon","Tue","Wed","Thu","Fri","Sat")

but you could also do

=TEXT("1 Jan"&A2,"ddd")

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"mrjeep" wrote in
message ...

This is an easy one, but my brain just isn't working tonight!!

Here's the formula to show the day

=CHOOSE(WEEKDAY("1 Jan
2006"),"Sun","Mon","Tue","Wed","Thu","Fri","Sat")

Is there a way to have a seperate cell w/ the year (let's say A2) and
instead of 2006 in the formula to have = A2, so when you change the
year, it automatically updates each day?

Thanks


--
mrjeep
------------------------------------------------------------------------
mrjeep's Profile:

http://www.excelforum.com/member.php...o&userid=34001
View this thread: http://www.excelforum.com/showthread...hreadid=538339



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
Named range question Shane Henderson Excel Discussion (Misc queries) 2 April 7th 06 03:38 AM
How do I get Excel to automatically calculate salaries actually received in financial year? Kei Excel Discussion (Misc queries) 0 March 3rd 06 10:26 AM
leap year question tiw Excel Discussion (Misc queries) 5 April 20th 05 07:49 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
Need totals of values that fall within a given year Pierre Excel Worksheet Functions 12 January 5th 05 04:45 PM


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