Hi,
I'm trying to reference a named range using the indirect formula but am getting an #REF error.
cell G13 has the value of "Jan" and my named ranges are "amt_Jan", dpt_Jan, and "acct_Jan"
The formula works until I add the INDIRECT's to it.
Thank you for your help.
I'm trying to reference a named range using the indirect formula but am getting an #REF error.
Code:
=IF(cur_month>=G$12-1,SUMIFS(INDIRECT("amt_"&G13),INDIRECT("dpt_"&G13),'Rooms-0010'!$A32,INDIRECT("acct_"&G13),'Rooms-0010'!$B32),SUM(G15:G31))
cell G13 has the value of "Jan" and my named ranges are "amt_Jan", dpt_Jan, and "acct_Jan"
The formula works until I add the INDIRECT's to it.
Thank you for your help.