+ Reply to Thread
Results 1 to 8 of 8

Using Evaluate With Array Formula

  1. #1
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Using Evaluate With Array Formula

    If I use the below array formula in cell then it's working fine
    Please Login or Register  to view this content.
    But it's not working when I try to use in VBA code with Evaluate function which returns #VALUE Error
    Please Login or Register  to view this content.
    I am unable to fix what is going wrong


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Using Evaluate With Array Formula

    I suspect the problem is [@Advisor] since the evaluate method has no context in which to evaluate that
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Using Evaluate With Array Formula

    @ JosephP,

    Thanks for the reply

    Advisor is the one of the column header of the current Table and @ is used for current row reference of the table. But it's working fine when I enter it in cell.

    I am attaching the sample file for your reference. Please have a look in B11 cell of Controls & Checks sheet.
    Attached Files Attached Files

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Using Evaluate With Array Formula

    in a cell the formula has a context for "this row". the evaluate method has no such context (as it's a method of the application or worksheet not a range). if you replace [@Advisor] with $A11 does it calculate correctly?

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Using Evaluate With Array Formula

    Yes It's working fine if I do like that

    Thanks for making me to come out of this puzzle. I was trying to fix it for more than 3 hours.

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Using Evaluate With Array Formula

    Unfortunately now I am unable to add reputation to you since I have to spread it to someone to rep you again. I will add rep after spreading it for someone

  7. #7
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Using Evaluate With Array Formula

    don't sweat it-I just like to help :-)

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Using Evaluate With Array Formula

    ............

+ 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