LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 454
Default Return a value, depending on particular day Q

How could I construct a formula that will return the date of the
following Sunday date, if my file is opened on any day between Tuesday
& Saturday, but if its opened on a Mon, the value returned should be
Today-1 and if its opened on a Sun, the value returned should be
Today.

e.g. Today is 07/02/08, so my formula should return 10/02/08, if my
file is opened today
e.g. if Today was 04/02/08, my formula should return 03/02/08, if my
file is opened on 04/02/08
e.g. if Today was 10/02/08, my formula should return 10/02/08, if my
file is opened on 10/02/08

Hope I have explained it clearly.
 
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
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null Ben Excel Discussion (Misc queries) 2 March 15th 07 01:02 AM
Add a row depending on cell value excel Excel Worksheet Functions 7 February 20th 07 01:48 PM
LOOKUP and return the column heading for IF/THEN return for False NN Excel Discussion (Misc queries) 1 October 6th 06 11:24 AM
return a data list depending on a value selected within a drop dow loren Excel Discussion (Misc queries) 1 April 11th 05 05:17 PM
Return A, B, C, or D depending on percentage lawrend Excel Worksheet Functions 7 November 23rd 04 04:25 PM


All times are GMT +1. The time now is 05:10 PM.

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"