View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John C[_2_] John C[_2_] is offline
external usenet poster
 
Posts: 1,358
Default How to exclude dates which equal SUNDAY from a fill series?

With the date entered into A1, the first of whatever month, type the
following into A2, and copy down to A30:
=IF(A1="","",IF(OR(MONTH(A1+1+(WEEKDAY(A1)=7))<MO NTH($A$1),A1=""),"",A1+1+(WEEKDAY(A1)=7)))
--
** John C **
Please remember if your question is answered, to mark it answered :). It
helps everyone.


"Amber" wrote:

I want to fill a series of dates, for example cell A1 = November 1, 2008
through cell A30 = November 30, 2008. BUT I do not want to include any
Sundays, so A1 = Saturday 11/1, cell A2 = Monday 11/3, etc. I also want to
only fill one month, so if the end of the list goes to December, that would
be excluded also. (I think I figured that one out but if it conflicts I will
need help) Thank you so much.