+ Reply to Thread
Results 1 to 4 of 4

Runtime Error 1004 with Arrayformula

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-19-2009
    Location
    Netherlands, Amsterdam
    MS-Off Ver
    Excel 2010
    Posts
    585

    Runtime Error 1004 with Arrayformula

    Hey all,

    The following code keeps on giving an error
    "Unable to set the FormulaAray property of the range class"

    Range("AG2").FormulaArray = "=SUM(IF(WERKBLAD!R[2]C[-29]:R[2]C[223]=RC[-1],IF(WERKBLAD!R[4]C[-31]:R[998]C[-31]>=RC[-3],IF(WERKBLAD!R[4]C[-31]:R[998]C[-31]<=RC[-2],IF(WERKBLAD!R[4]C[-29]:R[998]C[223]=""V"",1)))))+SUM(IF(WERKBLAD!R[2]C[-29]:R[2]C[223]=RC[-1],IF(WERKBLAD!R[4]C[-31]:R[998]C[-31]>=RC[-3],IF(WERKBLAD!R[4]C[-31]:R[998]C[-31]<=RC[-2],(WERKBLAD!R[4]C[-29]:R[998]C[223])))))/8"

    Could it be because of the length and if so, is there a solution?

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Runtime Error 1004 with Arrayformula

    Please reply to this question:

    http://www.excelforum.com/excel-prog...condition.html

  3. #3
    Forum Contributor
    Join Date
    08-19-2009
    Location
    Netherlands, Amsterdam
    MS-Off Ver
    Excel 2010
    Posts
    585

    Re: Runtime Error 1004 with Arrayformula

    Quote Originally Posted by StephenR View Post
    Oops, I forgot to repy that one.

  4. #4
    Forum Contributor
    Join Date
    08-19-2009
    Location
    Netherlands, Amsterdam
    MS-Off Ver
    Excel 2010
    Posts
    585

    Re: Runtime Error 1004 with Arrayformula

    Anyone.............?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1