ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   formulas changing when sorting (https://www.excelbanter.com/excel-discussion-misc-queries/152705-formulas-changing-when-sorting.html)

harleyq

formulas changing when sorting
 
I have a simple spreadsheet, and would like to be able to sort on any
field... sounds simple - you'd think so, but when l do it two columns lose
the plot.

Both of these columns are referring to a static field, field A29 (todays
date) - however when l sort the spreadsheet - these columns lose the plot and
the formulas change in each row to A28 A27, A26 etc. I want all rows to keep
pointing to field A29 - what is going on? I have been using excel for years
and never ever seen this before.

Mike H

formulas changing when sorting
 
use absolute references

=$A$29

Mike

"harleyq" wrote:

I have a simple spreadsheet, and would like to be able to sort on any
field... sounds simple - you'd think so, but when l do it two columns lose
the plot.

Both of these columns are referring to a static field, field A29 (todays
date) - however when l sort the spreadsheet - these columns lose the plot and
the formulas change in each row to A28 A27, A26 etc. I want all rows to keep
pointing to field A29 - what is going on? I have been using excel for years
and never ever seen this before.



All times are GMT +1. The time now is 12:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com