LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
JoeKazz
 
Posts: n/a
Default Adjusting Date Results

I am using Excel 2002. I would like to understand how to have a date result
from a formula change the date to a Monday, should the result be a Saturday
or Sunday date. For instance, my return date should be sixteen days from
today. But if the return date is Saturday or Sunday, make the return date a
Monday. I fooled around to get a formula to work, but only for five rows.
Then, the formula returned a normal X + 16 result.
A B C
1 08/01/05 08/17/05 Wednesday
Formula ColumnC:
A1+16
Format Column C: dddd
Formula Column B: =if(c1=Saturday,a1+18,if(c1=Sunday,a1+17,a1+16))
The formula did not work with Saturday/Sunday in quotes " ". I also
"INSERT", "NAME", "DEFINE" for all days Sunday through Monday. The formula
only worked for dates 8/1/05 through 8/5/05, then the result was always the
date plus 16.
 
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
How do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
search for latest date Sue Excel Worksheet Functions 2 August 2nd 05 11:09 PM
Date difference Maxi Excel Worksheet Functions 7 July 28th 05 01:38 PM
Recurring annual events using a specific date as a trigger date Bamboozled Excel Worksheet Functions 1 June 6th 05 01:44 PM
Date issue between Windows and Macintosh version dlg1967 Excel Discussion (Misc queries) 4 January 19th 05 03:51 PM


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