WEEKDAY question on year

M

mrjeep

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

Here's the formula to show the day

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

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

Thank
 
A

Ardus Petus

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

HTH
 
B

Bob Phillips

=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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Weekday Formula 4
Dcounta 4
Sorting day names chronologically 5
VLookup If Date is equal to the Day 7
Payroll 1
vlookup help? 7
suming multiple rates 7
Next weekday ... 3

Top