First, there’s an unintentional space :A 60, but that’s not what you meant. Are you adding/deleting rows in this sheet? Otherwise the INDIRECT-statement is useless. Why don’t you just type $A5 in your formula? Now, copied down it would change to $A6 - if not the purpose, then $A$5 will do it. If the names of worksheets are something like name1, name2, use the row()-function instead.
I’m not sure about your ‘INDIRECT statement is useless’ comment. How does a row() command replace INDIRECT?
My biggest concern was that it appeared that the behavior of INDIRECT had changed from 2003 to 2007, but after further experimentation, the problem appears localized to this one sheet (which is a conversion from '03 type to '07 xlsx).
Anyway, I did figure it out and it appears it’s not INDIRECT which is the issue. It’s ISERROR. ISERROR appears to be returning an error based on the fact that I’m feeding it a range of cells. Why this should be I don’t know, but I change the formula to:
which should give you the count of non-zero cells of sheets “Pool1”, “Pool2” and so on. ROW() is not substituting INDIRECT, but giving you only “1” if you’re on row#1 and “2” on row#2…
Now, I think I just lost the original problem:smack:
Ahhh…got you. Yeah, that could’ve worked too, except that if you do it that way and then insert a row above your formula, it’s now potentially broken. Especially since my “chart” started on row 2 (title row dontcha know). The reason I wrapped it in all that text is that I don’t add the later sheets until the week of. So my workbook starts with two sheets (Summary and Week 1), the next week I add the Week 2 sheet and so on and so forth. I do think this is an undocumented change in the ISERROR behavior thought since the formula as originally posted used to work fine.