date to day

Trevor3007

Well-known Member
Joined
Jan 26, 2017
Messages
667
Office Version
  1. 365
Platform
  1. Windows
E3 =================>fsasumtwthfsasumtwthfsasumtwthfsasumtwthfsasu
E4==================>July
E5 ==================>12345678910111213141516171819202122232425262728293031




Hi & hope you are all well.

I dont think this can be done , due to how the above has ben created ( and cannot be changed)

Is it possible to put the day of the week in e3,d3,f3 so it will corrospond with the date in e5d5,f5 etc ( month will always be in e4 only)


much appreciate your help & good luck.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
You will need to make sure to include the Year in the situation as well, but here is how I have been able to achieve this (with E6 being the Year)
Excel Formula:
=TEXT(WEEKDAY(TEXT(DATE(E$6,MONTH($E$4&1),E$5),"MM/DD/YYYY"),1),"Ddd")
 
Upvote 0
You can consider the following. The dates are Custom formatted ddd

T202206a.xlsm
ABCDEFGHIJ
1July
22022
3123456
4FriSatSunMonTueWed
5
7b
Cell Formulas
RangeFormula
E4E4=DATE(D2,MONTH(1&D1),E3)
F4:J4F4=E4+1
 
Upvote 0
@ Trevor3007: See if the following formula works for you in cell E3
Excel Formula:
=INDEX({"su","m","t","w","th","f","sa"},WEEKDAY(E$5&$E$4))
 
Upvote 0
@ Trevor3007: See if the following formula works for you in cell E3
Excel Formula:
=INDEX({"su","m","t","w","th","f","sa"},WEEKDAY(E$5&$E$4))


hi,
thanks for your sugg.

i had to tweak

=INDEX({"su","m","t","w","th","f","sa"},WEEKDAY(E$3&E4))

as (my FAULT) THE DAY SHOULD BE IN E.2 ,F2, F2, ETC

but it put wrong day in ( as july 1st is a friday not a sunday)

thanks any hoo
 
Upvote 0
ROTA BUILD 2022-2023 V3 BH.xlsm
AM
24
July 2022

ROTA BUILD 2022-2023 V3 BH.xlsm
DEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJ
12022
2FriMonWedSatMonThuSatTueFriSunWedFri#######################################
3July
4FSE12345678910111213141516171819202122232425262728293031
7Adrian SovariWWOFFRWWWWOFFOFFEEEEEEEWRWWWOFFOFFWWWWWWW
July 2022
Cell Formulas
RangeFormula
E2E2=TEXT(WEEKDAY(TEXT(DATE(D$1,MONTH($E$3&1),E$4),"MM/DD/YYYY"),1),"Ddd")
F2F2=TEXT(WEEKDAY(TEXT(DATE(D$1,MONTH($E$3&1),F$4),"MM/DD/YYYY"),1),"Ddd")
G2:AI2G2=TEXT(WEEKDAY(TEXT(DATE(F$1,MONTH($E$3&1),G4),"MM/DD/YYYY"),1),"Ddd")



as you can see, day dont work...thansk for your help BTW

i also had to tweak to:-

=TEXT(WEEKDAY(TEXT(DATE(D$1,MONTH($E$3&1),F$4),"MM/DD/YYYY"),1),"Ddd")
 
Upvote 0

Forum statistics

Threads
1,216,146
Messages
6,129,134
Members
449,488
Latest member
qh017

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