Search : in
By :

Spreadsheet

Last answer on May 19, 2009 7:44:13 am BST Appatight, on May 17, 2009 10:03:59 pm BST 
 Report this message to moderators

Hello,

I'm currently working on a spreadsheet for a timesheet. I want to format a cell to display the date of a certain day of the week. e.g. I would cell B20 to only display the date of Monday for the current week that the sheet is opened. If it the current week is 5/11 - 5/17 and I want B20 to only display the date for Wednesdays so cell B20 should display 5/13. Is this possible? Even if I open the sheet on the Friday I still want B20 to display the date for Wednesday. All help would be greatly appreciated.

Configuration: Windows XP Internet Explorer 6.0

2

 mubashir aziz, on May 19, 2009 7:44:13 am BST

Just write this formula in any cell and if today is Tuesday ........ this is an idea and you can apply any where and even instead of today() function you can give reference of cell ......

=IF(WEEKDAY(TODAY(),2)=2,TODAY(),"")

For your information

1 is for Monday , 2 for Tuesday and onward 7 for Sunday


Never ashamed to get or give Advise.
Muhammad Mubashir Aziz , Lodhran

Reply to mubashir aziz