WEEKDAY()
- From: "Epinn" <someone@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 8 Sep 2006 19:47:51 -0400
Regarding WEEKDAY(), I read that problems can occur if dates are entered as text.
Based on this, it is understandable that =WEEKDAY(2/14/2008) returns a wrong result (7). This is because general format is same as text.
If I enter =WEEKDAY(DATE(2008,2,14)), I get the correct result (5).
Okay, so far. What I don't understand is the following.
I click A1 and key in 2/14/2008, then in A2, I key in =WEEKDAY(A1). I also get the correct result (5).
The way I enter 2/14/2008 to A1 is exactly the same as I enter 2/14/2008 *directly* to the formula. It amazes me that referencing A1 in WEEKDAY() gives me the correct answer whereas keying it in as part of the formula won't work.
Comments welcome.
Epinn
.
- Follow-Ups:
- Re: WEEKDAY()
- From: Bob Phillips
- Re: WEEKDAY()
- Prev by Date: RE: Help with referencing please
- Next by Date: Re: How do I make my top margins bigger?
- Previous by thread: Re: how do I figure a 15% projected increase of current quotas?
- Next by thread: Re: WEEKDAY()
- Index(es):
Loading