Show "W/C" 7th July 08 in a cell with formula

thorpyuk

Well-known Member
Joined
Mar 14, 2006
Messages
1,453
Hiya,

I have the following formula:

="W/C "& TODAY()-WEEKDAY(TODAY(),2)+1

Which will calculate the day of last week. However i do not know how to show this in the proper format. At the moment it returns:

W/C 39636

Because the cell sees text as well as a date value i cannot format the cell as a date :/

Can anyone help? Thanks
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Try

="W/C "& TEXT(TODAY()-WEEKDAY(TODAY(),2)+1,"dd mmmm yyyy")
 

Kelbo

Board Regular
Joined
Jun 16, 2007
Messages
224
As an alternative why not use your original function?

=TODAY()-WEEKDAY(TODAY(),2)+1

Then custom format the cell as:- "W/C" dd mmmm yyyy

or however you need to format.

Regards,
Kelbo.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,711
Messages
5,833,254
Members
430,200
Latest member
ADLHMA2022

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
Top