Excel Sort Bug?

cgrablew

New Member
Joined
Nov 14, 2007
Messages
20
When I was sorting a small workbook, I encountered an issue with sort treating relative references as absolute. If you put any value in cell A1, and a relative reference to A1 in cell B1 (=A1) then repeat this for a few rows, then sort, everything will sort properly. If you change the relative reference in B1... to have say =Sheet1!A1 and copy this down, then sort you'll find the absolute cell address remains in Column B so if the sort change the row position, column B will still have the absolute address you started with prior to the sort. Is this a bug? Why should putting the sheet name in the cell reference change the way the sort works?
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
I don't know if the behavior is by design or pleasant happenstance, but that's the way it works.
 
Upvote 0
That is actually pretty cool...
Sometimes you want the formula's to sort, sometimes you don't.

I didn't know there was a choice...
 
Upvote 0

Forum statistics

Threads
1,214,883
Messages
6,122,077
Members
449,064
Latest member
MattDRT

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