Formula IF Today() i a Friday then put date in full ie: Friday 3 November 2023, if Today is not a Friday, then put the previous Monday's date in full

andycreber

Board Regular
Joined
May 20, 2010
Messages
74
Office Version
  1. 2016
Hi All, I would like to write a formula: IF Today() is a Friday then put the date in full ie: Friday 3 November 2023, if Today is not a Friday, then put the previous Monday's date in full IE: Monday 30 October 2023

Happy for a helper column if easier to write formula

thanks all
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Suppose the date is in B1
=IF(WEEKDAY(B1)=6,B1,B1-WEEKDAY(B1,2)+1)

with today()
=IF(WEEKDAY(TODAY())=6,TODAY(),TODAY()-WEEKDAY(TODAY(),2)+1)
 
Upvote 0
Another option
Excel Formula:
=IF(WEEKDAY(TODAY(),2)=5,TODAY(),WORKDAY.INTL(TODAY()+1,-1,"0111111"))
 
Upvote 0

Forum statistics

Threads
1,225,743
Messages
6,186,777
Members
453,370
Latest member
juliewar

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