Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Find the date of the coming up Saturday given the current date.

On 10 Apr 2007 16:29:34 -0700, "Michael Ermino" wrote:

I'm trying to figure out a formula that will return the date of the
coming up saturday given the current date. For instance if the
current date is 4/10/2007, I want the formula to return 4/14/2007
which is the next saturday. If the current date is 4/9/2007, I want
the formula to return 4/14/2007.

thanks in advance.


It depends on what you want to do if the "current date" is a Saturday.

If you want to return the SAME day (4/14/2007 -- 4/14/2007)

then, as others have written:

=A1+7-WEEKDAY(A1)

However, if, as you write, you want to return the NEXT Saturday
(4/14/2007 -- 4/21/2007) then:

=A1+7-MOD(WEEKDAY(A1),7)
--ron
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Determine next Saturday based on a given date ann Excel Worksheet Functions 6 April 2nd 23 08:13 PM
Workday return a Saturday date Jessie Setting up and Configuration of Excel 2 March 23rd 07 07:47 PM
Make date change in excel to current date when opening daily? jamie Excel Discussion (Misc queries) 3 March 1st 06 03:37 PM
Function to find row with most current date malik641 Excel Worksheet Functions 3 June 23rd 05 07:05 PM
Calculating days between current date and a date in future NETWORKDAYS() function Faheem Khan Excel Worksheet Functions 2 February 10th 05 07:18 PM


All times are GMT +1. The time now is 10:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"