Salesman with highest billing amount

Excelmania21

New Member
Joined
Jun 29, 2024
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Salesman Month Amount
A November 1234
B November 345
A september 34
C November 456
B December 765
D November 766
E November 988
C January 544


I want to retrieve name of the Salesman with highest bill amount in a easy formula in month of november- without using combination of
1.Maxif Index & Match
2. Large & Filter Xlookup
3. Sumproduct & Max Index & Xmatch
4. Index, sort, filter
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
With Power Query

Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Filtered Rows" = Table.SelectRows(Source, each ([Month] = "November")),
    #"Sorted Rows" = Table.Sort(#"Filtered Rows",{{"Amount", Order.Descending}}),
    #"Added Index" = Table.AddIndexColumn(#"Sorted Rows", "Index", 0, 1, Int64.Type),
    #"Filtered Rows1" = Table.SelectRows(#"Added Index", each ([Index] = 0)),
    #"Removed Columns" = Table.RemoveColumns(#"Filtered Rows1",{"Index"})
in
    #"Removed Columns"
 
Upvote 0
What's wrong with the formula you got in your previous thread?
 
Upvote 0
What's wrong with the formula you got in your previous thread?
Nothing is wrong, the task is to find another method. This time we are looking for individual highest bill not cummulative for each salesman
 
Upvote 0
With Power Query

Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Filtered Rows" = Table.SelectRows(Source, each ([Month] = "November")),
    #"Sorted Rows" = Table.Sort(#"Filtered Rows",{{"Amount", Order.Descending}}),
    #"Added Index" = Table.AddIndexColumn(#"Sorted Rows", "Index", 0, 1, Int64.Type),
    #"Filtered Rows1" = Table.SelectRows(#"Added Index", each ([Index] = 0)),
    #"Removed Columns" = Table.RemoveColumns(#"Filtered Rows1",{"Index"})
in
    #"Removed Columns"
I want simple excel formula
 
Upvote 0
In that case, how about
Excel Formula:
=TAKE(SORT(FILTER(A2:C5000,B2:B5000="november"),3,-1),1,1)
 
Upvote 0

Forum statistics

Threads
1,223,947
Messages
6,175,560
Members
452,652
Latest member
eduedu

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