Thread: Weekday Formula
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
via135
 
Posts: n/a
Default Weekday Formula


hi!

try this!

in E1:

=CHOOSE(WEEKDAY((A1&"/"&B1&"/"&C1)),"Sun"'"Mon","Tue","Wed","Thu","Fri","Sa t")

where A1 having the day
B1 having the month &
C1 having the year

-via135

fastballfreddy Wrote:
Here's my formula:

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

where C1 = the year 2006

B1 has the month Jan and I want to input that into my formula, so when
I change the month, it automatically will change my formula.

I tried =CHOOSE(WEEKDAY("1 $B$1 "
&$C$1),"Sun","Mon","Tue","Wed","Thu","Fri","Sat ")

B1 = Jan
C1 = 2006

But this isn't working. Are there any suggestions?

Thanks,



--
via135
------------------------------------------------------------------------
via135's Profile: http://www.excelforum.com/member.php...o&userid=26725
View this thread: http://www.excelforum.com/showthread...hreadid=539943