R
Rob Hick
Hi all,
Wonder if someone can help me with a slightly strange named ranges
problem - the bottom range works, the top one does not:
=if((IssueCluster!StartMonth-11)<=0,(OFFSET(IssueCluster!$I$1,0,0,13-IssueCluster!StartMonth,1),OFFSET(IssueCluster!$A$1,0,IssueCluster!DGH_Column-1,(IssueCluster!StartMonth-1)+(IssueCluster!NumMonths-12),1)),
OFFSET(IssueCluster!DGH_Current,-12,0))
=IF((IssueHospital!StartMonth-11)<=0,(OFFSET(IssueHospital!$E$1,0,0,13-IssueHospital!StartMonth,1),OFFSET(IssueHospital!$D$1,0,0,(IssueHospital!StartMonth-1)+(IssueHospital!NumMonths-12),1)),OFFSET(IssueHospital!CurrentMonths,-12,0))
when i enter the top formula in the 'refers to:' box it gets change to
a string of text:
=(IssueCluster!StartMonth-11)<=0
(OFFSET(IssueCluster!$I$1,0,0,13-IssueCluster!StartMonth,1),OFFSET(IssueCluster!$A$1,0,IssueCluster!DGH_Column-1,(IssueCluster!StartMonth-1)+(IssueCluster!NumMonths-12),1))
IssueCluster!DGH_Current
The only difference between the 2 formulas (they should both do the
same thing - select a contiguous range) is that the top one contains
the extra:
OFFSET(IssueCluster!$A$1,0,IssueCluster!DGH_Column-1 ......
instead of
OFFSET(IssueHospital!$D$1,0,0
Is this a known problem or am i being dumb?!
Thanks for wading through - much appreciated
Rob
Wonder if someone can help me with a slightly strange named ranges
problem - the bottom range works, the top one does not:
=if((IssueCluster!StartMonth-11)<=0,(OFFSET(IssueCluster!$I$1,0,0,13-IssueCluster!StartMonth,1),OFFSET(IssueCluster!$A$1,0,IssueCluster!DGH_Column-1,(IssueCluster!StartMonth-1)+(IssueCluster!NumMonths-12),1)),
OFFSET(IssueCluster!DGH_Current,-12,0))
=IF((IssueHospital!StartMonth-11)<=0,(OFFSET(IssueHospital!$E$1,0,0,13-IssueHospital!StartMonth,1),OFFSET(IssueHospital!$D$1,0,0,(IssueHospital!StartMonth-1)+(IssueHospital!NumMonths-12),1)),OFFSET(IssueHospital!CurrentMonths,-12,0))
when i enter the top formula in the 'refers to:' box it gets change to
a string of text:
=(IssueCluster!StartMonth-11)<=0
(OFFSET(IssueCluster!$I$1,0,0,13-IssueCluster!StartMonth,1),OFFSET(IssueCluster!$A$1,0,IssueCluster!DGH_Column-1,(IssueCluster!StartMonth-1)+(IssueCluster!NumMonths-12),1))
IssueCluster!DGH_Current
The only difference between the 2 formulas (they should both do the
same thing - select a contiguous range) is that the top one contains
the extra:
OFFSET(IssueCluster!$A$1,0,IssueCluster!DGH_Column-1 ......
instead of
OFFSET(IssueHospital!$D$1,0,0
Is this a known problem or am i being dumb?!
Thanks for wading through - much appreciated
Rob