+ Reply to Thread
Results 1 to 5 of 5

Array Formula

  1. #1
    Forum Contributor
    Join Date
    08-24-2006
    Location
    Sevenoaks, Kent
    MS-Off Ver
    Office 365 ProPlus
    Posts
    459

    Array Formula

    I have an array formula that works well when in the same workbook, but what i want is to build a database that will read the main information from one workbook and use the formula in another workbook (Not sheet), it works fine in the workbook but not on seperate sheets, the formula is


    ={IF(ROWS(C$3:C3)>COUNTIF('All Monthly WIP By Team2'!$A$2:$A$76,$A$1),"",INDEX('All Monthly WIP By Team2'!C$2:C$76,SMALL(IF('All Monthly WIP By Team2'!$A$2:$A$76=$A$1,ROW('All Monthly WIP By Team2'!C$2:C$76)-ROW('All Monthly WIP By Team2'!C$2)+1),ROWS(C$3:C3))))}

    i will add a copy of the workbook

    When the workbook is open i get the values i requie, when closed i recieve the following

    AGO

    #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE!
    #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE! #VALUE!

    Please if someone could help this would be most appreciated

    Thanks

    FBF

  2. #2
    Forum Contributor
    Join Date
    08-24-2006
    Location
    Sevenoaks, Kent
    MS-Off Ver
    Office 365 ProPlus
    Posts
    459
    Also the main sheet that it is reporting from is attached
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    08-24-2006
    Location
    Sevenoaks, Kent
    MS-Off Ver
    Office 365 ProPlus
    Posts
    459
    and this is the seperate sheet
    Attached Files Attached Files

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    The problem is probably COUNTIF. COUNTIF doesn't work with closed workbooks. Try replacing this part:

    COUNTIF('All Monthly WIP By Team2'!$A$2:$A$76,$A$1)

    with

    SUMPRODUCT(--('All Monthly WIP By Team2'!$A$2:$A$76=$A$1))

  5. #5
    Forum Contributor
    Join Date
    08-24-2006
    Location
    Sevenoaks, Kent
    MS-Off Ver
    Office 365 ProPlus
    Posts
    459
    i will try at work tommorow, thanks FBF

+ 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