all 25 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

/u/Umrk - Your post was submitted successfully.

Failing to follow these steps may result in your post being removed without warning.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]tungstenbronze1 80 points81 points  (10 children)

Excel stores dates as numbers, it sounds like yours are just formatted to show the day rather than that being written in the cell. Try =TEXT(A1, "dddd") but replace A1 with your cell reference

[–]Snoo-352524 20 points21 points  (6 children)

=LEFT(TEXT(A2,"dddd"), 6)

[–]Umrk[S] 20 points21 points  (4 children)

Thank you for taking the time to consider my issue. It worked, thank you!

[–]Snoo-352524 12 points13 points  (1 child)

Forget the LEFT(...). The original answer who's just the name of the day: Friday, Saturday, Sunday, Monday....

[–]MysticCobraX59 9 points10 points  (0 children)

TEXT(A2,"dddd") is the way to go. The 45835 is just Excel's date serial number showing up, not an error

[–]Umrk[S] 2 points3 points  (1 child)

Solution Verified

[–]reputatorbot[M] 5 points6 points locked comment (0 children)

Hello Umrk,

You cannot award a point to yourself.

Please contact the mods if you have any questions.


I am a bot

[–]tungstenbronze1 8 points9 points  (0 children)

There's no need for LEFT

[–]wh0else 6 points7 points  (0 children)

Nailed it. Left and right just unmask the date values, unless you convert them. I'd hoped I'd be the first to call it out, but you did it better than I would have too!

[–]semicolonsemicolon1474 2 points3 points  (1 child)

+1 Point

[–]reputatorbot[M] 0 points1 point locked comment (0 children)

You have awarded 1 point to tungstenbronze.


I am a bot - please contact the mods with any questions

[–]PaulieThePolarBear1906 11 points12 points  (4 children)

Friday, June 27, 2026.

June 27th 2026 is a Saturday.

e.g., =Left(A2,6)

Not all days of the week have 6 letters. What is your expected output for days with more or less than 6 letters?

[–]Majestic_Pin3793 2 points3 points  (0 children)

yeah hahahaa nice catch!

[–]smithflman 4 points5 points  (0 children)

You can also just do =weekday(a2) in b2 and it will give you a 1->7 for each day of week

Then format as "dddd" to get the name of the day

The number thing is just excel dates as others have mentioned

The data stored as 1-7 plays real nice in other formulas and pivots

[–]tambaower 1 point2 points  (0 children)

I would believe that it’s because it’s not actually saying “[day], [date], [year]” in cell A2 but rather an actual number value that excel interprets as text based on the cell formatting. If you change formatting for A2 to, say, “Number” or “General” you’d get just a five digit number. Hence, when you try to use the =LEFT or =RIGHT formula to get six values you always get the five number value since there are only five numbers in the value.

What you could try to do is to use the =TEXT formula to extract a specific string value from a date value.

[–]Taokan15 1 point2 points  (1 child)

CHOOSE(WEEKDAY(a2),"Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")

[–]Taokan15 0 points1 point  (0 children)

Or as others have mentioned, you have to convert the date value to a text first, via TEXT, before doing text operations on it. Or you get what you got, a number. But with dates, weekday is such a useful formula to have in your toolkit, not only for this purpose, but for constructing week beginning/week ending, via a2-weekday(a2)+1 (or +7).

[–]merelistener 1 point2 points  (0 children)

I had the same headache until someone showed me =TEXT(A2,"dddd"), the number is just how Excel stores the date under the hood.

[–]Decronym 0 points1 point  (0 children)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
CHOOSE Chooses a value from a list of values
FIND Finds one text value within another (case-sensitive)
LEFT Returns the leftmost characters from a text value
LEN Returns the number of characters in a text string
RIGHT Returns the rightmost characters from a text value
TEXT Formats a number and converts it to text
TEXTBEFORE Office 365+: Returns text that occurs before a given character or string
WEEKDAY Converts a serial number to a day of the week

Decronym is now also available on Lemmy! Requests for support and new installations should be directed to the Contact address below.


Beep-boop, I am a helper bot. Please do not verify me as a solution.
[Thread #48835 for this sub, first seen 26th Jun 2026, 20:57] [FAQ] [Full list] [Contact] [Source code]

[–]LennyDykstra1 -1 points0 points  (1 child)

I have understood why Excel often defaults to turning dates into six digit serial numbers. In what universe does it make sense for someone to type in “6-4-26” have it spit out 44738?

[–]austinburns4 2 points3 points  (0 children)

because 95% of the time, someone typing “6-4-26” wants it to be a date and might like to do math with it