Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Sam Sam is offline
external usenet poster
 
Posts: 699
Default excel previous weekday function

Hi,

If i have a date, say 10/07/2009 and i want to have a series of cells next
to it that return the previous weekday, say 09/07/2009...and then if i change
the first cell, all of the corresponding cells update. Thanks everyone.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 133
Default excel previous weekday function

HI.
If A1 contains 10/07/2009, B1 will be :
=WORKDAY(A1,-1)
If you don't find the WORKDAY function, you must have to add the
Analysis Tool Pack add-in.
HTH
Daniel

Hi,

If i have a date, say 10/07/2009 and i want to have a series of cells next
to it that return the previous weekday, say 09/07/2009...and then if i change
the first cell, all of the corresponding cells update. Thanks everyone.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default excel previous weekday function

Assume cell A1 is your base date.

Enter this formula in B1 and copy across as needed:

=IF(COUNT($A1),A1-1,"")

Format as Date

--
Biff
Microsoft Excel MVP


"SAM" wrote in message
...
Hi,

If i have a date, say 10/07/2009 and i want to have a series of cells next
to it that return the previous weekday, say 09/07/2009...and then if i
change
the first cell, all of the corresponding cells update. Thanks everyone.



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
excel weekday function SAM Excel Discussion (Misc queries) 2 July 12th 09 08:39 PM
weekday function in excel 2007 wrong geradok Excel Discussion (Misc queries) 5 October 25th 07 10:14 PM
Using Weekday function with no add-ins Basil Excel Worksheet Functions 3 April 30th 07 06:20 PM
WEEKDAY() function: display TEXT not numeric weekday tom Excel Discussion (Misc queries) 3 November 21st 06 04:32 PM
Find the previous Weekday (thursday) JimDandy Excel Worksheet Functions 4 August 10th 06 07:25 PM


All times are GMT +1. The time now is 01:52 PM.

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

About Us

"It's about Microsoft Excel"