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

mmr1

Board Regular
Joined
Aug 25, 2020
Messages
80
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
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
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)
 
Upvote 0
Thanks a lot Fluff,

for your quick and prompt solution.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

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