+ Reply to Thread
Results 1 to 10 of 10

findining maksimum of Loan amount with one single formula

  1. #1
    Registered User
    Join Date
    02-27-2021
    Location
    Baku
    MS-Off Ver
    Windows 2016
    Posts
    8

    Lightbulb findining maksimum of Loan amount with one single formula

    Dears Excelforum users,

    I have a question for you which I can't solve.

    Please find attached example of my main file which I cannot upload because of its size. Consider that in my file, there are more periods and teams.

    Question: How to get the name of the best (highest loan amount ) Loan team in Dec-2019 with one single formula.

    Looking forward to your answers.

    Thanks in advance.
    Attached Files Attached Files
    Last edited by Abbas Nabizada; 03-01-2021 at 03:01 AM.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,912

    Re: findining maksimum of Loan amount with one single formula

    1) MAX() function to determine the highest loan amount MAX(loan amounts)
    2) Find the position of that maximum in the column with a MATCH() function MATCH(MAX(...),loan amounts,0) MATCH() function help: https://support.microsoft.com/en-us/...9-533f4a37673a
    3) Use INDEX() to return the corresponding team name from the team column =INDEX(loan teams,MATCH(...)) INDEX() function help: https://support.microsoft.com/en-us/...2-b56b061328bd

    Will something like that work for you?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    02-27-2021
    Location
    Baku
    MS-Off Ver
    Windows 2016
    Posts
    8

    Re: findining maksimum of Loan amount with one single formula

    Unfortunately no.

    Because you missed the point that each team has more than 1 amount for each month ( for example in 2018-Dec Team 1 has 500$, 800$, 900$, Team 2 has 400$, 700$, and etc. ). We should find max of the totals for teams.

  4. #4
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: findining maksimum of Loan amount with one single formula

    Quote Originally Posted by Abbas Nabizada View Post
    Imagine data-sheet is consists of 4 columns ( Year, Months, Loan Teams ( Team1, Team 2 and etc. ), and Loan Amounts
    Why should we "imagine" anything?

    You might get better responses if you follow the instructions in the bright yellow banner at the top of these webpages and attach an example Excel file.

    By "example", I mean: some representative data laid out the way you want (the "4 columns" that you imagine) and an indication of the desired result, created manually of course.


    Quote Originally Posted by Abbas Nabizada View Post
    Looking forward to your answers.
    Hopefully they don't duplicate the responses in your posting at https://www.mrexcel.com/board/thread...ormula.1163235.
    Last edited by joeu2004; 02-28-2021 at 02:52 AM.

  5. #5
    Registered User
    Join Date
    02-27-2021
    Location
    Baku
    MS-Off Ver
    Windows 2016
    Posts
    8

    Re: findining maksimum of Loan amount with one single formula

    Dear Joeu,

    Thanks for your reply.

    I have edited my post and attached an example file. Please take a look at it.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,415

    Re: findining maksimum of Loan amount with one single formula

    One way:

    =AGGREGATE(14,6,$D$2:$D$19/($A$2:$A$19=2019)*($B$2:$B$19="December"),1)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  7. #7
    Registered User
    Join Date
    02-27-2021
    Location
    Baku
    MS-Off Ver
    Windows 2016
    Posts
    8

    Re: findining maksimum of Loan amount with one single formula

    Dear Glenn,

    Thanks for your reply.

    But it is not the formula I am searching for. Formula should give name of the best team which gave the total highest credit in Dec'19.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,415

    Re: findining maksimum of Loan amount with one single formula

    OK>

    =INDEX(C:C,MATCH(AGGREGATE(14,6,$D$2:$D$19/($A$2:$A$19=2019)*($B$2:$B$19="December"),1),D:D,0))
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    02-27-2021
    Location
    Baku
    MS-Off Ver
    Windows 2016
    Posts
    8

    Re: findining maksimum of Loan amount with one single formula

    Wow, Thank you, Glenn!

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,415

    Re: findining maksimum of Loan amount with one single formula

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link above and 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. Loan Amount equation
    By MrFiGuy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-18-2019, 12:26 AM
  2. [SOLVED] Formula for maximum Mortgage Loan Amount
    By FinGhost in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-23-2015, 05:47 PM
  3. [SOLVED] Please help. Formula to calculate amount of loan that has been repaid from a given date.
    By JennyCrossley in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 05-09-2013, 06:04 AM
  4. Formula to calculate loan amount
    By MRoads in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 08-26-2012, 08:29 PM
  5. Replies: 0
    Last Post: 02-20-2006, 01:25 PM
  6. [SOLVED] Is there a formula in Excel to calculate a loan amount?
    By DTOLLEN in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-02-2005, 06:20 PM
  7. Is there a formula in Excel to calculate a loan amount?
    By DTOLLEN in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-02-2005, 06:17 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