+ Reply to Thread
Results 1 to 7 of 7

Additions to an Array Formula (HELP)

  1. #1
    Registered User
    Join Date
    01-19-2017
    Location
    Minnesota
    MS-Off Ver
    1611
    Posts
    7

    Additions to an Array Formula (HELP)

    I'm currently using the following formula to compute the sum of specific data within a sheet:

    =SUM(IF(((D4:D988=70000)+D4:D988=72000))>0,IF(F4:F988>30,30,F4:F988),IF(((D4:D988=71000)+D4:D988=73000))>0,IF(F4:F988>60,60,F4:F988),IF((D4:D988=75000),IF(F4:F988>15,15,F4:F988)))))

    I have additional data I now need to add to this formula, but I'm uncertain of how to add it to my current array formula. I need the array formula to sum the duration in column F for any codes "90899" in column D. I don't have any additional criteria for this addition.

    How do I go about inserting such an addition. The original array works perfect, but I need this additional criteria added. Does it matter where in the current formula I should place this addition? PLEASE HELP!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Additions to an Array Formula (HELP)

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Add some notes explaining what the result should be.
    I'm not entirely sure why you need a SUM(IF(),IF()...) construct since on face value a simple SUMIFS() would seem more appropriate.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-19-2017
    Location
    Minnesota
    MS-Off Ver
    1611
    Posts
    7

    Re: Additions to an Array Formula (HELP)

    I have attached the file for your review. I am wanting to sum the duration(COLUMN F) of all 90899 CPT codes(COLUMN D). I need this sum to be added to the current formula in I4. I have attempted to put numerous versions of formulas in there, but keep getting the message "too many arguments for this function". I hope this gives enough information for someone to be able to assist me. Thanks!
    Attached Files Attached Files

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Additions to an Array Formula (HELP)

    Hi

    Try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Note: Your formula has errors!

  5. #5
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Additions to an Array Formula (HELP)

    Sorry
    my formula has a mistake
    try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    01-19-2017
    Location
    Minnesota
    MS-Off Ver
    1611
    Posts
    7

    Re: Additions to an Array Formula (HELP)

    Jose,

    You are a straight up genius! I manually checked it and it works beautifully. Thank you so much!

  7. #7
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Additions to an Array Formula (HELP)

    I am happy to have helped.

    Thanks for your feedback and don't forge to mark this thread as SOLVED.

+ 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. Adding annual additions to compound interest formula
    By wilsons88 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-14-2015, 03:23 PM
  2. if formula help two additions
    By gt11990 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-17-2014, 05:42 AM
  3. Formula that moves with Worksheet additions
    By LewisvilleHounder in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-27-2014, 09:07 PM
  4. Date and Time Formula additions.
    By Ramair in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-15-2010, 04:12 AM
  5. Two additions in one formula
    By Madball in forum Excel General
    Replies: 3
    Last Post: 01-19-2010, 01:19 PM
  6. Additions
    By Christof in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-12-2007, 06:58 PM
  7. [SOLVED] Tricky array formula issue - Using array formula on one cell, then autofilling down a range
    By aspenbordr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-27-2005, 11:05 AM

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