Get the weekday

Remsnow

New Member
Joined
Aug 19, 2015
Messages
46
Office Version
  1. 365
Hi

We have job requests that come in a specific format. Most of it is fine, but we would like to change the start and end dates to include the days of the week.


The current format is;



Ref: HH65161651
Job role 12345 | xxxxxx
xxxxx site xxxxxxx
Rota: 21:00-09:30 238073
From - 18/01/2019
To - 21/01/2019




We would like the format to be;


Ref: HH65161651
Job role 12345 | xxxxxx
xxxxx site xxxxxxx
Rota: 21:00-09:30 238073
From Friday - 18/01/2019
To Monday 21/01/2019

Ideally we could drop the 6 lines of text into an excel spreadsheet and it automatically updates to include the day of the week. I know this may seem like a small issue, but we deal with hundreds of shifts a day!


Any help would be appreciated.


Many thanks
Graham
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
not sure how you might automate that, you could get the day to the right using

=TEXT(RIGHT(A1,10),"dddd")
 
Upvote 0
Hi, this is just putting the date format in as 8/01/2019. I changed the 10 to 11 and it gave me 18/01/2019, but it is not giving me the weekday. Sorry!
 
Upvote 0
Does this force it

=TEXT(--RIGHT(TRIM(A1),10),"dddd")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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