+ Reply to Thread
Results 1 to 7 of 7

Array formulas no longer calculating

  1. #1
    Forum Contributor
    Join Date
    09-05-2007
    Posts
    148

    Array formulas no longer calculating

    I have some Array formulas in my spreadsheet which were working fine. There were sum(if...)
    functions where they looked at an entry on their current sheet, found it on another sheet and added up values in another column.

    When i added a new list of data to lookup on the same sheet as the array, they all just produce 0!

    Please help me, why did they suddenly stop updating!

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

    Re: My Array formulas no longer calcultaing

    Are you sure there are matches? What sort of data do you have? Sometimes numeric data can be stored as text and that won't match with numbers stored as numbers.....

    If that's the case try converting your text-formatted data to numbers by selecting the range (one column max) and using

    Data > Text to Columns > Finish
    Audere est facere

  3. #3
    Forum Contributor
    Join Date
    09-05-2007
    Posts
    148

    Re: My Array formulas no longer calcultaing

    Yep there's defenitely matches.

    Both columns are text, changing them to numbers doesn't fix it.

    It's weird that they work fine (checked manually) but as soon as i add or change data to check, they just all return 0.

    Say my array is looking for cell A2 which contains the value 2011. It works great but if i retype 2011 in that cell, the formula will no longer calculate.

    I've checked the curly brackets are on (ctrl+shift+enter) and got auto calculations on.
    Last edited by thedon_1; 02-08-2011 at 12:15 PM.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Array formulas no longer calculating

    Quote Originally Posted by thedon_1
    Both columns are text, changing them to numbers doesn't fix it.

    It's weird that they work fine (checked manually) but as soon as i add or change data to check, they just all return 0.
    Though the cells may be format as text it's possible that the original values are numbers, when you re-enter they will be text (definitely)

    To test the above run a =COUNT(A1) before & after manual alteration - is the answer 0 on both occasions ?
    (obviously re: A1 use a cell that not been changed - as yet)

  5. #5
    Forum Contributor
    Join Date
    09-05-2007
    Posts
    148

    Re: Array formulas no longer calculating

    It seems the cells are set as general.

    I tried the count thing. At first it says 0. If i paste new data or type it in, the count changes to 1.

    How can i go about fixing the problem?

    Thanks

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Array formulas no longer calculating

    post your workbook
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  7. #7
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Array formulas no longer calculating

    Quote Originally Posted by thedon_1 View Post
    At first it says 0. If i paste new data or type it in, the count changes to 1.
    OK, so this tells us the source values are text as opposed to number and as such you need to ensure you're using a text criteria at all times

    A simple fix (without seeing the Array itself) would be to format the column containing those cells you're updating as Text before making changes.

    Alternatively coerce both source & criteria to numbers - as outlined by dll in post #2

+ 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