Calculate next occurrence of specific weekday

juleska

New Member
Joined
Jul 22, 2005
Messages
16
Hi all,

I'm trying to find a function that will help me take a date from one column and, using that, calculate the next occurrence of a Thursday, then show that in a date format.

Can anyone help?

Thanks!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Or, if you don't want the same date returning for a Thursday,

=A1+CHOOSE(WEEKDAY(A1),4,3,2,1,7,6,5)
 
Upvote 0
Assume A1 contains today's date.

Weekday returns the day of the week as a number. Today (Friday) = 6.


CHOOSE selects values from a list - 1 gets the first value and so on.

So as today's week day is 6 it chooses the 6th item in the list, which also equals 6.

It then adds 6 to today's date giving next Thursday's date.
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,849
Members
452,948
Latest member
UsmanAli786

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