HI,
I have a data set say>> A4:A499, which covers trading days from 01/01/09 to 17/02/2102. I want a formula which finds the last day of any month and year I choose. Suppose in B1 I have written "2012" as year and B2 I have written "2" as Month. As we have the trading data till 17/02/2012, so last trading day for Feb'12 is 17/02/2012.
Suppose in B1 I have written "2011" as year and B2 I have written "2" as Month, then it should reflect the last trading day for Feb'11, say 28/02/12.
Please Note: It is not necessary trading day of any month starts on the first day of the month or ends on the last day of the month.
Please find the attached file and Advice !!
Regards,
Avi Suranaetfsharpe.xlsx
Bookmarks