Based on location return a highest and least values and absolute, relative addresses of cells.

mmr1

Board Regular
Joined
Aug 25, 2020
Messages
58
Office Version
  1. 365
Platform
  1. Windows
Hi,

I required a formula help for return a values based on lookup location Highest and least values of amount and return a cell addresses of that absolute and relatives in column F, Cells F4 to F9.


Sample enclosed a for the reference.


Thanks,

Book2
ABCDEF
1
2
3ItemsAmountLocationLookup locationArea-3
4abc1250Area-1return a highest value of amount
5cbc1540Area-2return a least value of amount
6vbc1652Area-3Address of lookup item Highest Value(absolute)
7dfg1474Area-1Address of lookup item Highest Value (relative)
8fgk656Area-2Address of lookup item least Value(absolute)
9qwe-21Area-3Address of lookup item least Value (relative)
10asd65Area-1
11fdv142Area-2
12sxz656Area-3
13aswArea-1
14aqw656Area-2
15poi789Area-3
Sheet1
 

Some videos you may like

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,358
Office Version
  1. 365
Platform
  1. Windows
How about
+Fluff v2.xlsm
ABCDEF
1
2
3ItemsAmountLocationLookup locationArea-3
4abc1250Area-1return a highest value of amount1652
5cbc1540Area-2return a least value of amount-21
6vbc1652Area-3Address of lookup item Highest Value(absolute)$B$6
7dfg1474Area-1Address of lookup item Highest Value (relative)B6
8fgk656Area-2Address of lookup item least Value(absolute)$B$9
9qwe-21Area-3Address of lookup item least Value (relative)B9
10asd65Area-1
11fdv142Area-2
12sxz656Area-3
13aswArea-1
14aqw656Area-2
15poi789Area-3
16
Clubs
Cell Formulas
RangeFormula
F4F4=MAXIFS(B4:B15,C4:C15,F3)
F5F5=MINIFS(B4:B15,C4:C15,F3)
F6F6=ADDRESS(MATCH(F4,B1:B15,0),2,1)
F7F7=ADDRESS(MATCH(F4,B1:B15,0),2,4)
F8F8=ADDRESS(MATCH(F5,B1:B15,0),2,1)
F9F9=ADDRESS(MATCH(F5,B1:B15,0),2,4)
 

mmr1

Board Regular
Joined
Aug 25, 2020
Messages
58
Office Version
  1. 365
Platform
  1. Windows
Thanks a lot Fluff,

for your quick and prompt solution.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,358
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Watch MrExcel Video

Forum statistics

Threads
1,127,236
Messages
5,623,537
Members
415,977
Latest member
Tommyboy30

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
Top