+ Reply to Thread
Results 1 to 4 of 4

Differences in array between 2007 and 2010

Hybrid View

  1. #1
    Registered User
    Join Date
    04-03-2013
    Location
    Ottawa, ON
    MS-Off Ver
    Excel 2010
    Posts
    5

    Differences in array between 2007 and 2010

    Hi : I have a table with multiple rows and 5 columns . At home I use 2010 and have inserted an array to dislay a row with 4 columns based on one criteria in the table.

    =INDEX(tbl,SMALL(IF((INDEX(tbl,,$D$3,1)=$D$2),ROW(tbl)-MIN(ROW(tbl))+1,""),ROWS(D6:$D$6)),,1)

    Which seems to work - except for the th annoying #NUM! message if there's no matching value. Is there a way to remove that message to show a blank cell?

    Also that same array when I use it at work on 2007 it copies the value of the criteria to all the cells. Obviously I'm missing something. Is it that there is a difference between 2007 and 2010 ? or is there an Excel option I haven't checked at work that I may have done at home?

    Thanks

    Steve

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Differences in array between 2007 and 2010

    =IFERROR(INDEX(tbl,SMALL(IF((INDEX(tbl,,$D$3,1)=$D$2),ROW(tbl)-MIN(ROW(tbl))+1,""),ROWS(D6:$D$6)),,1),"")

    Do you confirm this formula as an ARRAY formula?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

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

    Re: Differences in array between 2007 and 2010

    Is there a way to remove that message to show a blank cell?
    Cover the formula with iferror function like this
    Formula: copy to clipboard
    =IFERROR(INDEX(tbl,SMALL(IF((INDEX(tbl,,$D$3,1)=$D$2),ROW(tbl)-MIN(ROW(tbl))+1,""),ROWS(D6:$D$6)),,1),"")


    when I use it at work on 2007 it copies the value of the criteria to all the cells.
    I believe the file is kept in Manual Calculation Mode or the calculation process may not completed


    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

  4. #4
    Registered User
    Join Date
    04-03-2013
    Location
    Ottawa, ON
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Differences in array between 2007 and 2010

    Thanks that solved the NUM message! I still can't crack the issue of why the formula is returning the same value in each of the cells.

+ 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