+ Reply to Thread
Results 1 to 2 of 2

Lock array formula in cell

  1. #1
    Forum Contributor
    Join Date
    10-16-2011
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    112

    Lock array formula in cell

    I am trying to lock the array formula in the cell AG1 with the formula

    {=Stdev(IF(State=""NJ"",Qty="""",Qty))}

    But with my code below in a Macro, when I click on the cell it removes the {} around the formula so the function doesn't work anymore

    Please Login or Register  to view this content.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Lock array formula in cell

    It may be because the formula syntax is incorrect, can you describe in words what you are trying to do with the formula, it looks like you want STDEV of QTY values when State is "NJ" and QTY is blank, but that doesn't make sense, should it be when Qty is not blank? For that try

    Please Login or Register  to view this content.
    Audere est facere

+ 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