Hello Friends,
Hope everyone is doing good, i am new to macros especially VBA, i have a requirement where i have to calculate the day of a quarter column in excel 2010.
Q: I have a Date (20120101) in A1, and in A2 i have to calculate the number of days in that quarter i.e.,
A1 A2
20120101 1
20120102 2
20120103 3
.
.
.
20120331 90
20120401 1
20120402 2
.
.
.
20120631 91
20120701 1
.
.
20120931 92
and same approach for quarter 4,2012
here the A1 column is already filled with dates just need to populate the A2 Column with appropriae count and its not only for year 2012 but i have to take it on for a lot of years.
Thanks in advance.
--
Sam
Bookmarks