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
Payroll 2
Dcounta 4
vlookup help? 8
Next weekday ... 3
VLookup If Date is equal to the Day 7
suming multiple rates 7
Nested hlookup/vlookup (possibly just an if statement though?!?) 1

Top