T
Tony Kenck
I am summing a series of sheets in the "Z" direction, e.g. I want to add
cells B2 on the worksheets that are sitting between Sheet4 and Sheet9.
The formula looks something like:
=SUM(Sheet1:Sheet9!B2)
Now what I want to do is a test to see if a sheet is actualy physically
located between sheet4 and sheet9. I was thinking of putting a 1 in the
cell C1 on each of those sheets so then if I were to put in an equation
something like:
=if(SUM(currSheet:Sheet9)=1,1,0) it would let me know if that sheet is
siting between the sheets in question. (Where currSheet is the name of
the tab on which the current formula resides.)
My question is, how do I extract the name of the current tab to put into
the equation. I think I would use the cell "filename" command to extract
the name of the tab, but I do not know how to get that into the SUM
euation above. I appreciate any suggestions.
Thanks,
Tony
cells B2 on the worksheets that are sitting between Sheet4 and Sheet9.
The formula looks something like:
=SUM(Sheet1:Sheet9!B2)
Now what I want to do is a test to see if a sheet is actualy physically
located between sheet4 and sheet9. I was thinking of putting a 1 in the
cell C1 on each of those sheets so then if I were to put in an equation
something like:
=if(SUM(currSheet:Sheet9)=1,1,0) it would let me know if that sheet is
siting between the sheets in question. (Where currSheet is the name of
the tab on which the current formula resides.)
My question is, how do I extract the name of the current tab to put into
the equation. I think I would use the cell "filename" command to extract
the name of the tab, but I do not know how to get that into the SUM
euation above. I appreciate any suggestions.
Thanks,
Tony