Working with a date modification

dbarbella

New Member
Joined
Jun 6, 2017
Messages
32
Hi all,
I'm using this in Google Sheets.

I have two working formulas:

Take date in A1, and change to the next coming Friday in the calendar
=$A1+6-MOD(WEEKDAY($A1),7)

There is one anomaly that I can't seem to work out.
  • If A1 equals a Friday, then the formula shows the same day as being the next Friday.
    • so if A1 = 9/7/2018, it is returning 9/7/2018

How can I make that formula not choose the same Friday as A1, but the following Friday?
if A1 = Friday 9/7/2018, then the formula should return 9/14/2018

(and of course, 9/6/2018, would return 9/7/2018)

I'm looking to get that formula for finding the Next Thursday, and the Next Friday of A1
(two different formulas, that will be in different cells).

Thanks so much
-Dave
 
Last edited:

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Thank you so much Rick, that did it.

I attempted to modify it for the Thursday version of the same, but was unsuccessful (Worked for some original days of the week, but not all).

Is there a Thursday variation of the same?
 
Upvote 0
I attempted to modify it for the Thursday version of the same, but was unsuccessful (Worked for some original days of the week, but not all).

Is there a Thursday variation of the same?
This seems to work...

=$A1+7-MOD(WEEKDAY($A1)+2,7)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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