Help with Weekday formula to find the next firday

Dennismc

New Member
Joined
Oct 27, 2021
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi all,

Thank you in advance for the help. I am working on a formula to calc the next Friday from a date.

Lets say cell a1 has Date in it, and I need to calc the following friday from 7 days out.

So if the date is a Weds 10/27/2021, I need it to find the Friday 11-5-2021

even if the date is a Friday, say 11/5/2021, I need to return the 11/12/2021 date.

I have been trying to use the following but It will show the next Friday, and I can not figure out how to advance the 7 days then find the Friday

=AC4+8-WEEKDAY(AC4+2)

Any help or direction is greatly appreciated
Dennis
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi & welcome to MrExcel.
How about
Excel Formula:
=WORKDAY.INTL(AC4+6,1,"1111011")
 
Upvote 0
Solution
It adds 6 days to the value in AC 4 & then adds a further day taking into account weekends, which are designated by the "1111011", where 1 is true (a weekend) & 0 is false & as it runs Mon to Sun, Friday is the only workday.
 
Upvote 0
@hrayani those are not the results, the OP is after. ;)
I got in wrong in that case

I though he is looking after next Friday when the target date is not Friday
but if a target date is Friday then he needs to advance 7 days

My bad
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=WORKDAY.INTL(AC4+6,1,"1111011")
Not to be a pain, but anyway to add to check if it is a holiday to move to next business day?
 
Upvote 0
Assuming weekends are Sat & Sun, try
Excel Formula:
=WORKDAY.INTL(WORKDAY.INTL(A2+6,1,"1111011")-1,1,1,F2:F3)
Change F2:F3 to a range that holds your holidays.
 
Upvote 0
=IF(WEEKDAY(A1)<6,A1+8-WEEKDAY(A1+2)+7,A1+8-WEEKDAY(A1+2))

I am not an expert, but this is what I came up with. As far as checking for holidays, I have seen good videos on YouTube.
 
Upvote 0

Forum statistics

Threads
1,214,567
Messages
6,120,268
Members
448,953
Latest member
Dutchie_1

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