Can anyone tell me If this can be done

Q

QuietMan

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
 
J

JLGWhiz

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top