+ 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
    158

    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
    Waterlooville,England
    MS-Off Ver
    Office 2010
    Posts
    24,243

    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,090

    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
    7,454

    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
    Malaysia
    MS-Off Ver
    365 V2210 and WPS V2022
    Posts
    2,452

    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
    158

    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