+ Reply to Thread
Results 1 to 4 of 4

MIN Value of two summed columns - Array ??

  1. #1
    Registered User
    Join Date
    01-09-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    MIN Value of two summed columns - Array ??

    I am pretty familiar with array formulas and all general formulas and consider myself to be pretty competent but this one has me stumped.
    Throwing out there to see if there are any brains out there that know how I might write a formula for the following.

    Column A
    R1 - 5
    R2 - 4
    R3 - 3
    R4 - 2
    R5 - 3
    R6 - Blank Row
    R7 - 4

    Column B
    R1 - 6
    R2 - 7
    R3 - 8
    R4 - 9
    R5 - 0
    R6 - Blank Row
    R7 - 4

    In a formula on another page I want to add together columns A and B, and then take the minimum of those additions.
    So in the case above the minimum value I am after would be 3.
    This is because on R5 3+0 = 3 which is the lowest number of the additions.
    I do not want to add a sum column in the source table and then take the minimum of that as I dont have great access to the source table.
    Inside my formula I need to add them then using the min function grab the minimum value of them all.

    I have tried many combinations of the MIN, SUM both in Array functions and not in array functions but cannot nail it.
    Getting the minimum of 1 column is easy - I am finding getting the minimum of the addition of two very difficult.

    Any suggestions ?

    I should add that there can sometimes be 8 records, sometimes 10 records.
    So the formula needs to be written to ignore blank cells, but include cells containing 0.

    Thanks in advance for any time taken to read or consider my query!
    Last edited by shaunwilko; 01-14-2014 at 09:06 PM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: MIN Value of two summed columns - Array ??

    welcome to the forum shaunwilko. maybe:
    =MIN(IF(A1:B10<>"",A1:A10+B1:B10))

    do upload a sample excel file next time. it'll be easier for us. To upload, Click on GO ADVANCED and use the paperclip icon to open the upload window.
    View Pic
    and to illustrate your example better, click on How To Get Quick & Good Answers

    Edit: forgot to mention it's an array formula
    Last edited by benishiryo; 01-14-2014 at 10:05 PM.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: MIN Value of two summed columns - Array ??

    Hi and welcome to the forum,


    The problem will only occur if both cells on the same row are empty.

    You can use any these two formulas

    =SUMPRODUCT(MIN(B2:B8+C2:C8))

    or

    An array formula

    =MIN(B2:B8+C2:C8))

    A
    B
    C
    D
    E
    1
    Min Value
    2
    R1
    5
    6
    3
    3
    R2
    4
    7
    4
    R3
    3
    8
    5
    R4
    2
    9
    6
    R5
    3
    0
    7
    R6
    10
    8
    R7
    0
    4
    Last edited by AlKey; 01-14-2014 at 10:11 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Registered User
    Join Date
    01-09-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: MIN Value of two summed columns - Array ??

    Wow talk about a quick response !

    {=MIN(IF(A1:B10<>"",A1:A10+B1:B10))}

    This worked on my sample test worksheet i described so will try on the real thing now.
    And thanks for the heads up on the attaching of the sample sheet.
    Ill be sure to remember next time.

+ 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] Return targeted columns from an array of columns
    By tuna666 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-10-2013, 06:50 AM
  2. columns in excel to reflect array of values entered in previous two columns
    By netvasi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-19-2011, 01:12 AM
  3. Sum columns based on 3 criteria, where the column summed is dynamic!
    By bdance in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-17-2007, 03:22 AM
  4. Re: Add to Summed Figures
    By acopper57 via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-17-2006, 05:45 PM
  5. Add to Summed Figures
    By acopper57 via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-17-2006, 05:45 PM

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