Absolute/Relative addressing changes when entering formula

mikerickson

MrExcel MVP
Joined
Jan 15, 2007
Messages
24,355
I select cell C2, type =MAX(D2:$M$1) in the formula bar, press Enter, and the cell contains the formula =MAX(D$1:$M2)

Try again, but a little different

I type =MAX($M$1:D2), press enter and the cell contains =MAX(D$1:$M2)

HUH ?!?

Excel 2019 for Mac, Mac OS Catilina 10.15.5

(At least typing =MAX(D2:INDEX($1:$1, 1, 13)) works as expected

Thank you for reading
 
Last edited:

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
I think Excel is producing the correct formula.

In the formula =MAX(D$1:$M2), the relative/absolute column and row references are the same as your input.

What do you think should be the start cell and end cell references from the range D2:$M$1 ?
 
Upvote 0
I think that D2 and M1 should be the end points
And I do note that the ranges that result from dragging D$1:$M2 are the same ranges as if D2:$M$1 were dragged.
Just a bit confusing. I think that part of it has to do with D2 , M1 is the minor diagonal of the range, rather than the major diagonal D1 , M2
 
Upvote 0
I think that D2 and M1 should be the end points
And I do note that the ranges that result from dragging D$1:$M2 are the same ranges as if D2:$M$1 were dragged.
Just a bit confusing. I think that part of it has to do with D2 , M1 is the minor diagonal of the range, rather than the major diagonal D1 , M2
For single area ranges the start point is the top left cell and the end point is the bottom right cell.
 
Upvote 0

Forum statistics

Threads
1,215,046
Messages
6,122,854
Members
449,096
Latest member
Erald

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