+ Reply to Thread
Results 1 to 6 of 6

A formula to directly calculate the minimum sum without borrowing auxiliary columns

  1. #1
    Forum Contributor
    Join Date
    09-01-2020
    Location
    bangladesh
    MS-Off Ver
    office 2007
    Posts
    167

    A formula to directly calculate the minimum sum without borrowing auxiliary columns

    Is there a formula to directly calculate the minimum sum without borrowing auxiliary columns ?

    Auxiliary columns D2:E5

    E7 final result directly calculate

    Any help would be appreciated! TQ
    Attached Files Attached Files
    Last edited by rayhen; 05-30-2021 at 11:02 AM.

  2. #2
    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
    27,999

    Re: A formula to directly calculate the minimum sum without borrowing auxiliary columns

    Deleted by JT
    Last edited by JohnTopley; 05-30-2021 at 05:08 AM.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: A formula to directly calculate the minimum sum without borrowing auxiliary columns

    Please try

    =SUM(MOD(SMALL(IF(TRANSPOSE(A2:A8)=A2:A8,TRANSPOSE(B2:B8),10^6)+ROW(A2:A8)*10^6,(ROW(A2:A8)-ROW(A2))*ROWS(A2:A8)+1)*(MATCH(A2:A8,A2:A8,)=ROW(A2:A8)-ROW(A1)),10^6))

    Ctrl+Shift+Enter

    and easier with MS365

    =SUM(MINIFS(B2:B8,A2:A8,UNIQUE(A2:A8)))
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,513

    Re: A formula to directly calculate the minimum sum without borrowing auxiliary columns

    post deleted
    Last edited by kvsrinivasamurthy; 05-30-2021 at 09:39 AM.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  5. #5
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2402 and WPS V2022
    Posts
    3,318

    Re: A formula to directly calculate the minimum sum without borrowing auxiliary columns

    E7 cell array formula

    HTML Code: 

  6. #6
    Forum Contributor
    Join Date
    09-01-2020
    Location
    bangladesh
    MS-Off Ver
    office 2007
    Posts
    167

    Re: A formula to directly calculate the minimum sum without borrowing auxiliary columns

    @Bo_Ry and @wk9128
    Excellent solution. Thank you both, thank you very much for the solution.

+ 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. Replies: 7
    Last Post: 01-12-2021, 10:27 PM
  2. Stuck on Formula for borrowing
    By kyleperry in forum Outlook Formatting & Functions
    Replies: 1
    Last Post: 09-22-2020, 12:27 AM
  3. calculate times from VBA and not directly from cells
    By s7yzrs in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-03-2019, 02:52 PM
  4. Iterative formula to calculate minimum foundation depths
    By bengineering in forum Excel General
    Replies: 4
    Last Post: 07-28-2017, 04:41 AM
  5. Replies: 2
    Last Post: 11-26-2014, 12:48 PM
  6. Replies: 3
    Last Post: 06-21-2013, 10:17 PM
  7. Calculate formula using a minimum value
    By Gtrhero in forum Excel General
    Replies: 1
    Last Post: 07-30-2008, 11:05 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