PC Review


Reply
Thread Tools Rate Thread

Can anyone tell me If this can be done

 
 
QuietMan
Guest
Posts: n/a
 
      11th Apr 2008
With Range(Current_Sheet)
.FormulaR1C1 =
"=SUMIF(NDIRECT(R5C),RC1,OFFSET(NDIRECT(R5C),0,R1C,ROWS(NDIRECT(R5C)),1))"
.Value = .Value
End With

The indirect is referencing the cell that contyains the name of a defined
range name in another worksheet

Any help would be really appreciated

--
Helping Is always a good thing
 
Reply With Quote
 
 
 
 
JLGWhiz
Guest
Posts: n/a
 
      11th Apr 2008
At a glance, the formula will not work because the function NDIRECT does not
exist in Excel. Probably a typo, but it should be INDIRECT.

"QuietMan" wrote:

> With Range(Current_Sheet)
> .FormulaR1C1 =
> "=SUMIF(NDIRECT(R5C),RC1,OFFSET(NDIRECT(R5C),0,R1C,ROWS(NDIRECT(R5C)),1))"
> .Value = .Value
> End With
>
> The indirect is referencing the cell that contyains the name of a defined
> range name in another worksheet
>
> Any help would be really appreciated
>
> --
> Helping Is always a good thing

 
Reply With Quote
 
QuietMan
Guest
Posts: n/a
 
      11th Apr 2008
Thanks, this is what happens at 2am in the morning
--
Helping Is always a good thing


"JLGWhiz" wrote:

> At a glance, the formula will not work because the function NDIRECT does not
> exist in Excel. Probably a typo, but it should be INDIRECT.
>
> "QuietMan" wrote:
>
> > With Range(Current_Sheet)
> > .FormulaR1C1 =
> > "=SUMIF(NDIRECT(R5C),RC1,OFFSET(NDIRECT(R5C),0,R1C,ROWS(NDIRECT(R5C)),1))"
> > .Value = .Value
> > End With
> >
> > The indirect is referencing the cell that contyains the name of a defined
> > range name in another worksheet
> >
> > Any help would be really appreciated
> >
> > --
> > Helping Is always a good thing

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:26 PM.