I modified a spreadsheet to include eomonth, last night on a laptop. Today, I loaded the modified sheet onto my PC. The results in dates all changed to #NAME. I understand that, so I went back and changed the first use of eomonth in A64 to a number, and everything after it now shows me what I expect to see.
I have the analysis toolpack and have used eomonth before. Strangely enough, the very same formula is used in R64 and AJ64, and WORKS in those two cells. Also, entering a formula such as =eomonth(a4,0) in a blank cell returns #NAME. How can the very same formula work in some cases and not others?
:confused:
=DATE(YEAR(A$4),MONTH(A$4),DAY(EOMONTH(A4,0))) - not working
=DATE(YEAR(R$4),MONTH(R$4),DAY(EOMONTH(R4,0))) - working
=DATE(YEAR(AJ$4),MONTH(AJ$4),DAY(EOMONTH(AJ4,0))) - working
Thanks.
Shane
I have the analysis toolpack and have used eomonth before. Strangely enough, the very same formula is used in R64 and AJ64, and WORKS in those two cells. Also, entering a formula such as =eomonth(a4,0) in a blank cell returns #NAME. How can the very same formula work in some cases and not others?
:confused:
=DATE(YEAR(A$4),MONTH(A$4),DAY(EOMONTH(A4,0))) - not working
=DATE(YEAR(R$4),MONTH(R$4),DAY(EOMONTH(R4,0))) - working
=DATE(YEAR(AJ$4),MONTH(AJ$4),DAY(EOMONTH(AJ4,0))) - working
Thanks.
Shane