+ Reply to Thread
Results 1 to 3 of 3

Array with #DIV/0! issues

  1. #1
    Registered User
    Join Date
    06-08-2006
    Posts
    13

    Talking Array with #DIV/0! issues

    Hallo,

    I hope someone out there has more brains than I.

    Trying to get formula to display "" or 0 as opposed to the dreaded #DIV/0!

    {=AVERAGE(IF((TFL!$J$1:$J$9999)=(Summary!B229),TFL!$W$1:$W$9999))}

    I have tried various IF's to get the problem to go bye-bye but it keeps sticking like double sided tape.

    Regards,
    Donovan.

    Ps. An why do I always end up with these problems on Friday afternoon or is that a mental shutdown process in action?

  2. #2
    Valued Forum Contributor Excelenator's Avatar
    Join Date
    07-25-2006
    Location
    Wantagh, NY
    Posts
    333
    Try this

    Please Login or Register  to view this content.
    ---------------------------------------------------
    ONLY APPLIES TO VBA RESPONSES WHERE APPROPRIATE
    To insert code into the VBE (Visual Basic Editor)
    1. Copy the code.
    2. Open workbook to paste code into.
    3. Right click any worksheet tab, select View Code
    4. VBE (Visual Basic Editor) opens to that sheets object
    5. You may change to another sheets object or the This Workbook object by double clicking it in the Project window
    6. In the blank space below the word "General" paste the copied code.

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

    =SUMIF(TFL!$J$1:$J$9999,Summary!B229,TFL!$W$1:$W$9999)/MAX(1,COUNTIF(TFL!$J$1:$J$9999,Summary!B229))

    only requires ENTER

+ 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