View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Roger Govier Roger Govier is offline
external usenet poster
 
Posts: 2,886
Default Tacking All Sunday & Saturday in a Year along with the dates

Hi

Without a macro.
On sheet2 enter in cell A1
06/01/2007
In A2 enter =A1+1
in A3 enter =A1+7
Mark cells A2:A3 and copy down to A106

Add your list of holiday dates from Sheet1 at cell A107 onward.
Sort column A Ascending.

--
Regards

Roger Govier


"Akash" wrote in message
ups.com...
Hi,

Suppose in Sheet1 i have mentioned few days of holidays which company
provided us in the entre year:

S.No Occasion Date
1 a 26th Jan 2007
2 b 15th Aug 2007

and so on....

Now i want to macro which can give me the output in the Sheet2

counting all the Sundays & Saturday along with their Date including
the
Dates mentioned in the Sheet1. & the the Date should get filtered in
the Assending order. 1st Jan then 2nd Feb, 3 March

Is this possible

Awaiting for your reply

Thanks

Akash