I’m trying to sort some calculated results, and the sort is behaving oddly to say the least. Following is a cut-down, representative example that illustrates what I’m experiencing. (I’m only allowed one screenshot in this post, so please bear with me.)
Plain numbers are in A2:A7.
Each cell in column C calculates its value from column A. In this example, each cell of D shows the–simplified–formula that’s in column C. I.e. C2 contains the formula =A2.)
In column B, cells B11:B16 are just copies of what’s in column C, though the top and bottom halves are swapped. E.g. cell B11 contains =C5. That’s what “From C5” is intended to indicate.
So, A2 contains the number 12, C2 contains =A2 (so also 12), though it’s B14 that contains =C2 (so 12).
I want to sort B11:B16, so I highlight it, then select Data/Sort Descending (with a request to extend the selection, which I accept).
I expect to get 75, 40, 38, 19, 12, 2.
Instead, this is the result in B11:16 (sorry, no screenshot):
#REF!, 19, 40, 0, 2, 75
I figure that I’m misunderstanding something about data representation, so would welcome some clarification, and perhaps a recommendation on how to accomplish what I’m trying to do here.