+ Reply to Thread
Results 1 to 6 of 6

Application.Evaluate not working - Array Formula

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Application.Evaluate not working - Array Formula

    Hi,

    I was wondering if there were limits to the Application.Evaluate?

    I'm trying to run
    Evaluate(target.formula)
    where the formula is: FileLookupColumnG stored as a named formula

    and

    FileLookupColumnG = =SUMPRODUCT(IF(ISNUMBER(Output!$G$4:$G$846)(Output!$A$4:$A$846=INDEX(INDIRECT(ADDRESS(ROW(),1,)),1))*Output!$G$4:$G$846,0))

    Not sure why the formula doesn't evaluate?

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Application.Evaluate not working - Array Formula

    Does the formula working in Excel?
    Can you send a short sample of your Excel file.
    - Battle without fear gives no glory - Just try

  3. #3
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: Application.Evaluate not working - Array Formula

    I cannot send a file unfortunately without recreating data and so on and son. But yes the formula works in Excel.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Application.Evaluate not working - Array Formula

    The formula syntax is invalid. Try putting it in a cell.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Application.Evaluate not working - Array Formula

    I have some doubt how the formula is working, see the )( inside ...!

  6. #6
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: Application.Evaluate not working - Array Formula

    You're 107% correct, not sure where that other parenthesis is coming from. Trying again

    =SUMPRODUCT(IF(ISNUMBER(Output!$D$4:$D$846),--(ClientOutput!$A$4:$A$846=INDEX(INDIRECT(ADDRESS(ROW(),1,)),1))*Output!$D$4:$D$846,0))

    Shg wud up man. Next time I'm back home in the Great Country of TX I owe you coffee or something

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Question about using Evaluate with an array of formulas not an array formula
    By Mr_Bill in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-19-2014, 03:26 PM
  2. Evaluate an Array Formula
    By rodrigoxsm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-02-2014, 05:26 PM
  3. [SOLVED] Evaluate Named Range Array formula to VBA Array
    By cmore in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-07-2014, 09:06 PM
  4. [SOLVED] Unable to get result Using FormulaArray or Evaluate with Array Formula in VBA
    By :) Sixthsense :) in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 05-30-2013, 11:27 PM
  5. [SOLVED] Using Evaluate With Array Formula
    By :) Sixthsense :) in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-10-2013, 06:47 AM

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