Combine day name and monthly date in the same cell

vladimiratanasiu

Active Member
Joined
Dec 17, 2010
Messages
346
Office Version
  1. 2021
  2. 2019
Platform
  1. Windows
Hello!

I have a table including days of the week and their annual equivalent date, that can be accessed by the link pontaj.xlsx . I need to combine automatically in the same cell the name of each day with its real annual date, but keeping only the first one / two letter(s) of that day and its equivalent date from the month, as is shown in the column E from the table. My question is whether I could apply a special format, a formula etc., in order to get the necessary structure of the content. Thank you!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
hi vladimiratanasiu
there are couple of solutions with same results
solution 1:
Excel Formula:
=TEXT(C2,"dd")&"-"&TEXT(C2,"ddd")

Solution 2:
Excel Formula:
=C2
then format resulting cells by going to Custom Category and using "dd-ddd" (without quotes) as type.
1606303605216.png


both will result in values like
Book1
ABCDEFG
1ish days of the week Romanian equivalent nameDateEnglish final formatted dateRomanian final formatted date
2SundayLuni22/11/2022-Sun22-L22-Sun22-Sun
3MondayMarți23/11/2023-Mo23-M23-Mon23-Mon
4TuesdayMiercuri24/11/2024-Tue24-Mi24-Tue24-Tue
5WednesdayJoi11/25/202025-We25-J
6ThursdayVineri11/26/202026-Th26-V
7FridaySâmbătă11/27/202027-Fr27-S
8SaturdayDuminică11/28/202028-Sat28-D
9…...…....…...…...…....
10TuesdayMarți12/01/2001-Tue01-M
Sheet6
Cell Formulas
RangeFormula
F2:F4F2=TEXT(C2,"dd")&"-"&TEXT(C2,"ddd")
G2:G4G2=C2
 
Upvote 0
Solution
hi vladimiratanasiu
there are couple of solutions with same results
solution 1:
Excel Formula:
=TEXT(C2,"dd")&"-"&TEXT(C2,"ddd")

Solution 2:
Excel Formula:
=C2
then format resulting cells by going to Custom Category and using "dd-ddd" (without quotes) as type.
View attachment 26700

both will result in values like
Book1
ABCDEFG
1ish days of the week Romanian equivalent nameDateEnglish final formatted dateRomanian final formatted date
2SundayLuni22/11/2022-Sun22-L22-Sun22-Sun
3MondayMarți23/11/2023-Mo23-M23-Mon23-Mon
4TuesdayMiercuri24/11/2024-Tue24-Mi24-Tue24-Tue
5WednesdayJoi11/25/202025-We25-J
6ThursdayVineri11/26/202026-Th26-V
7FridaySâmbătă11/27/202027-Fr27-S
8SaturdayDuminică11/28/202028-Sat28-D
9…...…....…...…...…....
10TuesdayMarți12/01/2001-Tue01-M
Sheet6
Cell Formulas
RangeFormula
F2:F4F2=TEXT(C2,"dd")&"-"&TEXT(C2,"ddd")
G2:G4G2=C2
Thank you very much!:):):):)
 
Upvote 0
Ypu are very welcome... ???

Hello!

I'm getting back with an additional question to your answer posted yesterday for me. I wish to format the date so that the name of day may be reduced only to the first two letters and may start with uppercase, as shown in the attachment. Is any method to do that? Thank you in advance.:)
Week days.png
 
Upvote 0
=TEXT(C2,"dd")&"-"&Left(TEXT(C2,"ddd"),2)
 
Upvote 0
=TEXT(C2,"dd")&"-"&Left(TEXT(C2,"ddd"),2)

Basically, the sollution is ok, but the uppercase issue is not covered. The Excel sets up automatically the special format indicated by you, and in Romanian language the day's name starts with lowercase. As a result, if I select the Romanian language the name is by default written with lowercase. If you could help me to solve this problem too, I will be very thankful to you.
 
Upvote 0
try
=TEXT(C2,"dd")&"-"&proper(left(TEXT(C2,"ddd"),2))
 
Upvote 0

Forum statistics

Threads
1,215,013
Messages
6,122,694
Members
449,092
Latest member
snoom82

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top