Outputting a particular day of the week

Bash007

New Member
Joined
Oct 9, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I'm using =C45+(7-WEEKDAY(C45,15)+1) to display the date of the next Friday in a target cell when the source cell is C45. I need to adapt this so that the target cell, a) only displays dates that are Fridays and b) is always at least 4 days later than the source cell. So e.g. if source cell is 9 October 2023 (Monday) then target cell should display 13 October 2023. But if source cell is 10-16 October then the target cell should display 20 October.

Any advice appreciated, thank you.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hi & welcome to MrExcel.
How about
Excel Formula:
=WORKDAY.INTL(C45,1+(WEEKDAY(C45,15)>4),"1111011")
 
Upvote 0
Solution
Book1
DE
29/10/202313/10/2023
315/10/202320/10/2023
Sheet1
Cell Formulas
RangeFormula
E2:E3E2=WORKDAY.INTL(D2,1,"1111011",)


EDIT: beaten by Fluff
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,200
Messages
6,123,598
Members
449,109
Latest member
Sebas8956

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