Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Next Known Date

Is there a simple function in Excel that will return the next known
date for a specific day of the week?

Regards

Stopher

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Next Known Date

I do not know of a simple function - but I am using excel 97. However, this
will work.

=IF(VLOOKUP(B12,$B$1:$C$7,2,FALSE)WEEKDAY(B11,1), B11+(VLOOKUP(B12,$B$1:$C$7,2,FALSE)-WEEKDAY(B11,1)),B11+7+(VLOOKUP(B12,$B$1:$C$7,2,FAL SE)-WEEKDAY(B11,1)))

where the vlookup range is a table with Sunday thru Saturday in column 1 and
1 through 7 in column 2. B11 has the date in question, and B12 has the day
of the week desired.



" wrote:

Is there a simple function in Excel that will return the next known
date for a specific day of the week?

Regards

Stopher


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default Next Known Date

Absolutely excellent, Thankyou.

Stopher

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Next Known Date

On 4 Jul 2006 20:26:12 -0700, "Stopher" wrote:

Absolutely excellent, Thankyou.

Stopher


You're welcome. Glad it worked for you.
--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
date in Cell to change colors if the date is beyond today's date Pete Elbert Excel Discussion (Misc queries) 2 June 6th 09 06:31 AM
Making a date go red, if date passes todays date. Jamie Excel Worksheet Functions 2 September 9th 08 02:14 PM
Report Date - Date Recv = Days Late, but how to rid completed date MS Questionnairess Excel Worksheet Functions 1 January 24th 07 11:05 PM
copy date based on date -refer to date range mindpeace[_4_] Excel Programming 1 June 3rd 06 01:30 PM
Date updates from worksheet to chart & changes date to a date series! Help!! Jayjg Charts and Charting in Excel 2 January 22nd 05 03:00 PM


All times are GMT +1. The time now is 11:00 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"