any way to tell the last day of the month? when the month is a var
Several ways
=DAY(DATE(YEAR(A1),MONTH(A1)+1,0))
or with Analysis Toolpak
=DAY(EOMONTH(A1,0))
or my favorite for unintelligibility!
=DAY(A1-DAY(A1)+32-DAY(A1-DAY(A1)+32))
"jim sturtz" wrote:
ie, if a a1 has 10/9/6 as a date, then month will give me the numeric month
into say a2, need to now how to find 31 into a3 or
" 4/6/6 "
30 "
thanks.
jim
|