+ Reply to Thread
Results 1 to 4 of 4

Array formula wierdness. Unexpected result

  1. #1
    Registered User
    Join Date
    07-15-2007
    Location
    NJ
    Posts
    23

    Array formula wierdness. Unexpected result

    Hi All
    I am using the following array formula in BY2:
    {=IFERROR(INDEX($AD$2:$AD$2199,SMALL(IF(($AC$2:$AC$2199=$B$4)*($AE$2:$AE$2199=$AA$1),ROW($AC$2:$AC$2199)-ROW(INDEX($AC$2:$AC$2199,1,1))+1),$AB2)),"")}

    This is what the columns look like. The array formula is dragged down column BY. Column AB is a reference row for the formula.
    I can not figure out why 1.7 does not appear in column BY. Column AD is formatted as General.
    File is attached. It's the yellow sheet "Opto"
    Any help would be greatly appreciated!

    ______AB____AD_____BY
    1_____""_____""______""
    2_____1_____1.1____1.1
    3_____2_____1.2____1.2
    4_____3_____1.3____1.3
    5_____4_____""_____1.4
    6_____5_____1.4____1.5
    7_____6_____1.5____1.6
    8_____7_____1.6____1.8
    9_____8_____1.7____1.9
    10____9_____1.8____1.10
    11____10____1.9____""
    12____11____1.10___""
    13
    14
    Attached Files Attached Files
    Last edited by Russk68; 12-06-2016 at 08:17 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: Array formula wierdness. Unexpected result

    (How to) Upload a Workbook directly to the Forum
    (please do not post pictures or links to worksheets)
    • Click Advanced next to Quick Post button at the bottom right of the editor box.
    • Scroll down until you see "Manage Attachments",
    • Click the "Choose" button at the upper left (upload from your computer).
    • Select your file, click "open", click "upload"
    • Once the upload is completed the file name will appear below the input boxes in this window.
    • Close the Attachment Manager window.
    • Click "Submit Reply"
    Note: Please do not attach password protected workbooks/worksheets
    Ensure to disable any Workbook Open/Autorun macros before attaching!
    Ben Van Johnson

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Array formula wierdness. Unexpected result

    Without anything to test again.....
    =IFERROR(INDEX($AD:$AD,SMALL(IF(($AC$2:$AC$2199=$B$4)*($AE$2:$AE$2199=$AA$1),ROW($AC$2:$AC$2199)),rows($A$1:A1))),"")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Array formula wierdness. Unexpected result

    You test AE against AA1 which has value 1. AE for AD=1.7 has value of 3.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] HELP! Excel 2010 | Unexpected results using MIN IF Array Formula with COUNTIFS
    By beaverkeggs in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-01-2016, 10:25 AM
  2. Replies: 2
    Last Post: 09-15-2013, 03:52 PM
  3. SUBSTITUTE formula giving unexpected result
    By gkeller81 in forum Excel General
    Replies: 15
    Last Post: 06-04-2012, 01:16 PM
  4. Cell formula result unexpected when blank date criteria entered
    By TGP in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-06-2010, 07:59 AM
  5. [SOLVED] Unexpected result copying an array
    By Schizoid Man in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-18-2006, 05:30 AM
  6. Unexpected result
    By Biff in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 02:05 AM
  7. Unexpected result
    By Biff in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 01:05 AM

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