Return date of the next friday

alainfranco

New Member
Joined
Mar 7, 2012
Messages
38
Hello,

Does anyone know if it is possible to return the date of a specific day (in my case, Fridays) based on a provided date?

For instance, if my cell contains the value 2018-04-17 (today's date), I would need it to return the date (2018-04-20) of the next Friday.

Any ideas?
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Something like

=A2+7-WEEKDAY(A2+7-MATCH(B2,{"sun";"mon";"tue";"wed";"thu";"fri";"sat"},0))

or simply

=A2+7-WEEKDAY(A2+7-6)

where A2 is today's date and 6 = Fri(day.
 
Upvote 0
Hi,

try this:

AB
14-3-20189-3-2018

<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
B1=7-WEEKDAY(A1,16)+A1

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



Works like a charm! Thanks, friend! :)
 
Upvote 0

Forum statistics

Threads
1,215,035
Messages
6,122,791
Members
449,095
Latest member
m_smith_solihull

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