A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sorting rows without messing up cell references??



 
 
Thread Tools Display Modes
  #1  
Old July 31st, 2004, 01:57 AM
Dave Peterson
external usenet poster
 
Posts: n/a
Default Sorting rows without messing up cell references??

If you can find a unique value in each table, maybe you could change your
formulas around.

Say one table is on sheet1, A1:E99 and your common unique key is in column A.
And you want to use what's in column E of that table:

=vlookup(c13,sheet1!$a$1:$e$99,5,false)

Will return that value.

If the key value is not in the leftmost column of the table, you could use a
different formula:
(say it's in column C and you want to bring back column A, this time)

=index(sheet1!$a$1:$a$99,match(c13,sheet1!$c$1:$c$ 99,0))

Direct links to other sheets don't work so well when you want to sort it.

"ModelerGirl " wrote:

I have a several tables that refer to one another. I'd like to sort
some of them, but doing so while keeping the formulas as relative
references messes up each cell references. If I change all the row
references to absolute, things get mess up if I sort the original table
being referred to.

Is there any way to get around this without manually cutting and
pasting each row around into the right sort order?

Thanks!!!

---
Message posted from http://www.ExcelForum.com/


--

Dave Peterson

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cell References Gary Thomson Worksheet Functions 8 September 13th, 2005 10:33 PM
sorting by price and calculating totals excluding hidden rows Karen Burleigh Worksheet Functions 2 April 21st, 2004 09:40 PM
Absolute cell references across worksheets Frank Kabel Worksheet Functions 3 March 4th, 2004 07:06 PM
Excel not updating cell references when inserting new rows Brian Worksheet Functions 3 January 19th, 2004 09:14 AM
Cell references Gary Thomson Worksheet Functions 4 October 23rd, 2003 03:27 PM


All times are GMT +1. The time now is 01:54 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.