View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dmz_asdf dmz_asdf is offline
external usenet poster
 
Posts: 1
Default Dynamic Formula with Dynamic Address

In a worksheet cell, the following works, but when copied into a name, it
returns #VALUE since the INDIRECT fails.

=EOMONTH(DATE(OFFSET(INDIRECT(ADDRESS(ROW(),COLUMN ())),0,-1),OFFSET(INDIRECT(ADDRESS(ROW(),COLUMN())),0,-2),1),0)

Column 1 has month values
Column 2 has year values
Column 3 has the formula

I thought this would be a valid extrapolation of dynamic ranges, but perhaps
I should be looking into something else.