LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 91
Default Lose relative connection in formula on sort

This has happened to me a few times and it is so frustrating this time I
would like to find an answer instead of manually fixing it. I have a formula
which uses sumif to look at other worksheets to sum the ridership of a
particular bus route. (the formula is below). The route number is in column
A. When I sort all of the columns including the columns with sumif formulas
(Mon-Sun below) the formula stays connected to the original route number in
column A - doesn't move to the new route that now populates that row.
Example

=SUMIF(Wk1!$A$2:$A$3000,Summary!A5,Wk1!$I$2:$I$300 0)

ROUTE Mon Tue Wed Thur Fri Sat Sun
208 1 2 3 4 5 6 7
241 8 9 10 11 12 13 14
209 15 16 17 18 19 20 21

Route 208 is in row 5. When I sort this the route numbers move in
numberical order (using Data-sort) but the reference to the route number in
column A doesn't move with the sort.

ROUTE Mon Tue Wed Thur Fri Sat Sun
208 1 2 3 4 5 6 7
209 8 9 10 11 12 13 14
241 15 16 17 18 19 20 21


Is this some fluke in Excel or am I doing something fundamentally wrong.
 
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
Relative Path in Connection String Breunus Excel Discussion (Misc queries) 2 July 29th 09 05:10 PM
Relative path in database query connection string DanL Excel Discussion (Misc queries) 1 February 20th 09 06:09 PM
Can I sort and not lose reference to the cell? RedHead 1 Excel Discussion (Misc queries) 3 February 3rd 09 03:37 AM
Lists lose formatting on sort - Mac only? cory_atticus Excel Discussion (Misc queries) 0 August 7th 06 01:54 PM
Columns A - BY and 336 rows.Too much to filter&sort?Lose info. greenlawn06 Excel Worksheet Functions 2 May 16th 06 07:17 PM


All times are GMT +1. The time now is 08:53 AM.

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

About Us

"It's about Microsoft Excel"