+ Reply to Thread
Results 1 to 3 of 3

Array formula not working

  1. #1
    Registered User
    Join Date
    05-21-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    14

    Array formula not working

    =MIN(IF(('large loans'!L6:L9000="Unionville")+('large loans'!L6:L9000="Oakville")+('large loans'!L6:L9000="Thornhill,")+('large loans'!L6:L9000="West Vancouver")+('large loans'!L6:L9000="North Vancouver")+('large loans'!L6:L9000="Richmond")+('large loans'!L6:L9000="Bumaby")+('large loans'!L6:L9000="Victoria")+('large loans'!L6:L9000="Montreal")+('large loans'!L6:L9000="Quebec")+('large loans'!L6:L9000="Vancouver")+('large loans'!L6:L9000="Calgary"),'large loans'!B6:B9000)) ===output is wrong

    would anyone know the why an array formula would work and a regular wounldn't?
    What does the arry enter mean? if we take this as an example how would be translate the 2 different formulas into words?

    {=MIN(IF(('large loans'!L6:L9000="Unionville")+('large loans'!L6:L9000="Oakville")+('large loans'!L6:L9000="Thornhill,")+('large loans'!L6:L9000="West Vancouver")+('large loans'!L6:L9000="North Vancouver")+('large loans'!L6:L9000="Richmond")+('large loans'!L6:L9000="Bumaby")+('large loans'!L6:L9000="Victoria")+('large loans'!L6:L9000="Montreal")+('large loans'!L6:L9000="Quebec")+('large loans'!L6:L9000="Vancouver")+('large loans'!L6:L9000="Calgary"),'large loans'!B6:B9000))} === Output is Right


    Now, again in the example below array words and regular doesn't


    =MAX(IF(ISNA(MATCH('large loans'!L6:L9000,{"Toronto","Vancouver","Unionville","Oakville","Thornhill","West Vancouver","North Vancouver","Richmond","Bumaby","Victoria","Montreal","Quebec","Calgary"},0)),'large loans'!B6:B9000)) ===output incorrect

    {=MAX(IF(ISNA(MATCH('large loans'!L6:L9000,{"Toronto","Vancouver","Unionville","Oakville","Thornhill","West Vancouver","North Vancouver","Richmond","Bumaby","Victoria","Montreal","Quebec","Calgary"},0)),'large loans'!B6:B9000))} ===output correct


    BUT in this last example that's VERY simliar to the example above the opposite is true. The reglar works and the array formula wouldn't

    =MIN(IF(ISNA(MATCH('large loans'!L6:L9000,{"Toronto","Vancouver","Unionville","Oakville","Thornhill","West Vancouver","North Vancouver","Richmond","Bumaby","Victoria","Montreal","Quebec","Calgary"},0)),'large loans'!B6:B9000)) ===output correct




    Can someone please explain to me what does an "array" mean in these cases and why does some formula work with arry and some don't?


    Thanks,

  2. #2
    Valued Forum Contributor
    Join Date
    03-23-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1,093

    Re: ANYONE understand ARRAY?!

    Hello there,

    See the discussion here

    http://www.excelbanter.com/archive/i.../t-148034.html

  3. #3
    Registered User
    Join Date
    05-21-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    14

    Re: Array formula not working

    Thank you for the link but would anyone be able to explain my specific situation posted above?

    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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