dynamic address for the range of data

masoud12

New Member
Joined
Jul 30, 2023
Messages
12
Office Version
  1. 2013
I have a column of numbers as first row of the range (in “M” column) and another column of numbers as last row number of the range (in N column) in an excel file for the specified column of data (as J column). I want to write the maximum in this range (e.g. J(M2):J(N2) (m2 and n2 are4 row numbers for j column)) in the same row that first and last row of rang specified in another column( column O).
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
i mean your formula just get the data in the last row of the range and not the maximum of data in the range.
 
Upvote 0
Perhaps this then?

23 07 30.xlsm
ABCD
1
2036
3636
4848
5565
6465
7383
8183
9797
masoud12
Cell Formulas
RangeFormula
D2:D9D2=AGGREGATE(14,6,A$2:A$9/(C$2:C$9=C2),1)
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,684
Members
449,116
Latest member
HypnoFant

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