Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old December 2nd 05, 05:19 PM posted to microsoft.public.excel.misc
GLS
 
Posts: n/a
Default When I sort how do I keep cell references correct?

When I sort a table references to other cells are not maintained properly.

I've tried making them both relative & absolute & either way they no longer
point to the correct cell (which has moved) after the sort is completed.

These are all internal references (within the same table) but on a different
row.

  #2   Report Post  
Old December 3rd 05, 08:44 AM posted to microsoft.public.excel.misc
wjohnson
 
Posts: n/a
Default When I sort how do I keep cell references correct?


Select everything below your reference cells and be sure you select all
the columns including the column with with your formula - otherwise the
columns will no longer be in synch.


--
wjohnson
------------------------------------------------------------------------
wjohnson's Profile: http://www.hightechtalks.com/m390
View this thread: http://www.hightechtalks.com/t2300012

  #3   Report Post  
Old December 3rd 05, 02:40 PM posted to microsoft.public.excel.misc
GLS
 
Posts: n/a
Default When I sort how do I keep cell references correct?

Thanks but that doesn't help. I'm selecting all rows in the worksheet.
The cell references to an above or below cell are not maintained.
  #4   Report Post  
Old December 3rd 05, 05:59 PM posted to microsoft.public.excel.misc
rsenn
 
Posts: n/a
Default When I sort how do I keep cell references correct?


GLS,

I've stumbled through this before, without a good solution.

Clumsy solutions which I've used and which you may try are to either
(a) re-write the formulas to use vlookup or sumif features, or (b) use
helper calculations on another worksheet. When you sort the main
worksheet, the references to the helper sheet remain correct.


--
rsenn
------------------------------------------------------------------------
rsenn's Profile: http://www.excelforum.com/member.php...o&userid=29050
View this thread: http://www.excelforum.com/showthread...hreadid=490197

  #5   Report Post  
Old February 6th 11, 09:46 PM
Junior Member
 
First recorded activity by ExcelBanter: Feb 2011
Posts: 1
Smile

Quote:
Originally Posted by GLS View Post
When I sort a table references to other cells are not maintained properly.

I've tried making them both relative & absolute & either way they no longer
point to the correct cell (which has moved) after the sort is completed.

These are all internal references (within the same table) but on a different
row.
I've solved it!!!! Nice and simply too.

What you do is you have two separate sheets (or even files) -- one for data entry and one for data sorts. So sheet 1 contains your data and formulae. You then on sheet 2 have the whole sheet pointing to the equivalent cell in sheet 1. You then enter data only in sheet 1 and when you want to sort it you only do it on sheet 2. Yippee.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel insits that I use absolute cell references Espen Excel Discussion (Misc queries) 6 January 5th 17 06:47 AM
Cell References gman Excel Discussion (Misc queries) 2 September 9th 05 05:56 PM
Formulas within Cell References jhockstr Excel Discussion (Misc queries) 4 August 13th 05 06:40 AM
Sumif function with remote cell references hennis Excel Worksheet Functions 1 August 12th 05 01:54 AM
Syntax for inferred cell references donesquire Excel Worksheet Functions 4 April 4th 05 09:29 PM


All times are GMT +1. The time now is 09:54 PM.

Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright 2004-2017 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017