Share via

EXCEL DAY FUNCTION

Anonymous
2015-08-27T04:30:56+00:00

So I've come across an issue where excel is providing the wrong DAY when returning the DAY for September 1, 2015, excel continues to think this is a SUNDAY....

So a1 = 42242, a2 = 42243...

a8 = 42249.

b1 = day(A1) returns 26

b2 = day(A2)  returns 27

b8 = day(A8) returns 2

So all good right!!!!

Until....

Format cells C1,C2...C8 as Custom DDDD

Then entering the following formulas into the C Columns...

c1 = day(A1) = Thursday

c2 = day(A2) = Friday

c8 = day(A8) = SUNDAY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  

Actually a Tuesday....

42 thousand 242 days ago it was Jan 1 1900....

Did I miss a day LOL

Can anyone help me out with this...

Thanks

Richard

I'm using Office 2010 Professional...

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2015-08-27T05:07:03+00:00

Don't you want to use the WEEKDAY function - not the DAY function?  The DAY function returns a day of the month from 1 to 31.  The WEEKDAY function returns the day of the week, a number of 1 to 7 and when formatted as DDD correctly shows September 1, 2015 as a Tuesday.

Was this answer helpful?

0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2015-08-27T09:12:17+00:00

    You may use Text function directly to A1 for a week day

    =Text(A1,"DDD")

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2015-08-27T05:21:31+00:00

    NICE! THANKS!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2015-08-27T04:32:21+00:00

    As their home support is closed at this time :(

    Was this answer helpful?

    0 comments No comments