Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Sorting w/ References to Other Sheets

$
0
0

Let's say I have the following in range A1:E5 of Sheet1:

a=A1=A$1=Sheet2!A1=Sheet2!A$1ROW 1
b=A2=A$2=Sheet2!A2=Sheet2!A$2ROW 2
c=A3=A$3=Sheet2!A3=Sheet2!A$3ROW 3
d=A4=A$4=Sheet2!A4=Sheet2!A$4ROW 4
e=A5=A$5=Sheet2!A5=Sheet2!A$5ROW 5
COLUMN ACOLUMN BCOLUMN CCOLUMN DCOLUMN E

Now, if I sort the range based on column A descending, I get that:

e=A1=A$5=Sheet2!A5=Sheet2!A$5ROW 1
d=A2=A$4=Sheet2!A4=Sheet2!A$4ROW 2
c=A3=A$3=Sheet2!A3=Sheet2!A$3ROW 3
b=A4=A$2=Sheet2!A2=Sheet2!A$2ROW 4
a=A5=A$1=Sheet2!A1=Sheet2!A$1ROW 5
COLUMN ACOLUMN BCOLUMN CCOLUMN DCOLUMN E

The outcome of the sort on columns B, C and E makes sense to me.

Column D, however, mystifies me. Why is the sort treating the formulas in column D as absolute, when they are in fact relative? I understand that the formulas in column D refer to another sheet. But that should not matter. Even if it's another sheet, relative means relative, right??? Thanks.


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>