Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / April 2008

Tip: Looking for answers? Try searching our database.

Can anyone tell me If this can be done

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
QuietMan - 11 Apr 2008 14:51 GMT
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

Signature

Helping Is always a good thing

JLGWhiz - 11 Apr 2008 16:50 GMT
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.  

> With Range(Current_Sheet)
>                 .FormulaR1C1 =
[quoted text clipped - 6 lines]
>
> Any help would be really appreciated
QuietMan - 11 Apr 2008 18:34 GMT
Thanks, this is what happens at 2am in the morning
Signature

Helping Is always a good thing

> 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.  
[quoted text clipped - 9 lines]
> >
> > Any help would be really appreciated
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.