( Interesting question ) Finding best Loan team with single formula

abbasnabizada

New Member
Joined
Feb 27, 2021
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
Dears users,

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

Imagine data-sheet is consists of 4 columns ( Year, Months, Loan Teams ( Team1, Team 2 and etc. ), and Loan Amounts. Teams have more than one loan amount for each month ( For example 2019- Nov, Team 1 : 500$, 600$, 700$, Team 2: 600$,500$ and etc.

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

Looking forward to your answers.

Thanks in advance.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Welcome to Mr. Excel,

It's unclear (to me, at least) how the data is structured. It always helps if you use XL2BB and show your example and desired result.
Does it look something like this?

PS: is this a homework problem?

YearMonthTeamAmount
2019​
NovTeam1
500​
2019​
DecTeam1
600​
2020​
JanTeam1
700​
2019​
NovTeam2
600​
2019​
DecTeam2
500​
 
Upvote 0
Welcome to Mr. Excel,

It's unclear (to me, at least) how the data is structured. It always helps if you use XL2BB and show your example and desired result.
Does it look something like this?
Welcome to Mr. Excel,

It's unclear (to me, at least) how the data is structured. It always helps if you use XL2BB and show your example and desired result.
Does it look something like this?

PS: is this a homework problem?

YearMonthTeamAmount
2019​
NovTeam1
500​
2019​
DecTeam1
600​
2020​
JanTeam1
700​
2019​
NovTeam2
600​
2019​
DecTeam2
500​

PS: is this a homework problem?

YearMonthTeamAmount
2019​
NovTeam1
500​
2019​
DecTeam1
600​
2020​
JanTeam1
700​
2019​
NovTeam2
600​
2019​
DecTeam2
500​
Thanks for your reply.

More like the below table.

Please consider that it is just a little example of my real file. There are 15 teams in my data.


Book2
ABCD
1YearMonthTeamLoan Amounts
22019NovemberTeam 1400
32019NovemberTeam 1800
42019NovemberTeam 11600
52019NovemberTeam 2500
62019NovemberTeam 2400
72019NovemberTeam 21300
82019DecemberTeam 1480
92019DecemberTeam 1750
102019DecemberTeam 1900
112019DecemberTeam 2500
122019DecemberTeam 2720
132019DecemberTeam 2800
142020JanuaryTeam 1850
152020JanuaryTeam 1740
162020JanuaryTeam 1600
172020JanuaryTeam 2400
182020JanuaryTeam 2500
192020JanuaryTeam 2900
Sheet1
 
Upvote 0
How about:

Book5
ABCDEFG
1YearMonthTeamAmountNov
22019NovTeam1500Team2
32019DecTeam1600
42020JanTeam1700
52019NovTeam21000
62019DecTeam2900
72019DecTeam3400
82019NovTeam4700
92019DecTeam4950
Sheet3
Cell Formulas
RangeFormula
G2G2=INDEX(C2:C50,MATCH(MAX(D2:D50*(G1=B2:B50)),D2:D9*(G1=B2:B50),0))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,214,788
Messages
6,121,603
Members
449,038
Latest member
Arbind kumar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top