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

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
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,215,092
Messages
6,123,064
Members
449,090
Latest member
fragment

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