Front Office Football Central  

Go Back   Front Office Football Central > Main Forums > Off Topic
Register FAQ Members List Calendar Mark Forums Read Statistics

Reply
 
Thread Tools
Old 05-03-2011, 01:24 PM   #1
Passacaglia
Coordinator
 
Join Date: Oct 2000
Location: Big Ten Country
Excel question

So I've got a spreadsheet, and I'm using the AutoFilter function so only some of the rows are visible -- at the moment, it's rows 17, 35, 47, 59, 65, 89, etc. They're sorted by Column V. When I sort them by Column W, the orders get shuffled around like they ought to, but the row numbers stay the same -- 17, 35, 47, 59, 65, 89, etc. What I want is for the row numbers to get reshuffled to where they should be if the filters were off, without having to turn off the filters, sort, then set my filters again. Anyone have ideas?

Thanks!

Passacaglia is offline   Reply With Quote
Old 05-03-2011, 02:16 PM   #2
SteveMax58
College Starter
 
Join Date: Dec 2006
I don't believe that is possible to do. When Excel resorts filtered columns it only sorts the data that is currently filtered.

You could likely create a macro to unfilter, sort (as desired), then re-filter again but I dont know of any other way to do it while the columns are filtered.
SteveMax58 is offline   Reply With Quote
Old 05-03-2011, 02:17 PM   #3
Suburban Rhythm
Pro Starter
 
Join Date: Jan 2002
Location: Pittsburgh
Maybe I am missing the point, but...

If you want the results sorted by column W, and filtering for certain results appearing in column V...sort by column W first. Then filter. You will still only get the results meeting the filter requirement, but already be sorted.
__________________
"Do you guys play fast tempos with odd time signatures?"
"Yeah"
"Cool!!"
Suburban Rhythm is offline   Reply With Quote
Old 05-03-2011, 03:30 PM   #4
mrsimperless
College Prospect
 
Join Date: Apr 2003
It was described prety well above but...

Filter != Sort
__________________
"All I know is that smart women are hot. Susan Polgar beat me in 24 moves in a simultaneous exhbition. I slept with the scoresheet under my pillow."
Off some dude's web site.
mrsimperless is offline   Reply With Quote
Old 05-03-2011, 08:06 PM   #5
Passacaglia
Coordinator
 
Join Date: Oct 2000
Location: Big Ten Country
Quote:
Originally Posted by Suburban Rhythm View Post
Maybe I am missing the point, but...

If you want the results sorted by column W, and filtering for certain results appearing in column V...sort by column W first. Then filter. You will still only get the results meeting the filter requirement, but already be sorted.

This is just one example -- there's many different filters I do, and I don't want to undo the filters, then sort, then redo the filters the way they were before, every time.
Passacaglia is offline   Reply With Quote
Old 05-03-2011, 08:07 PM   #6
Passacaglia
Coordinator
 
Join Date: Oct 2000
Location: Big Ten Country
Quote:
Originally Posted by mrsimperless View Post
It was described prety well above but...

Filter != Sort

I don't know what you're trying to say here.
Passacaglia is offline   Reply With Quote
Old 05-04-2011, 07:18 AM   #7
Suburban Rhythm
Pro Starter
 
Join Date: Jan 2002
Location: Pittsburgh
Quote:
Originally Posted by Passacaglia View Post
This is just one example -- there's many different filters I do, and I don't want to undo the filters, then sort, then redo the filters the way they were before, every time.


Are you going to be altering data to the main table?

If not, and merely need to view the filtered data as sorted as you describe, copy/paste special the values as they are filtered (17,35,47,59,65,89) to another tab, then sort within the new tab.

You'll only be sorting the filtered data, not the full table.

Otherwise, I don't think I know of a way to sort with the filters on to get you what you're looking for.
__________________
"Do you guys play fast tempos with odd time signatures?"
"Yeah"
"Cool!!"
Suburban Rhythm is offline   Reply With Quote
Old 05-04-2011, 07:44 AM   #8
bryce
High School Varsity
 
Join Date: Oct 2002
Location: Dallas, TX
Insert a pivot table and change that as needed to filter what you want...
bryce is offline   Reply With Quote
Old 05-04-2011, 07:54 AM   #9
Passacaglia
Coordinator
 
Join Date: Oct 2000
Location: Big Ten Country
That's a good idea, and I might be able to do that. Thanks!

Oh, wait, inspiration hit -- I was able to get what I want by adding a column with the RANK function to my sorting macros. It's still wonky once I do take out the filters, but at least I have the info on where each row should be.
Passacaglia is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is On
Forum Jump


All times are GMT -5. The time now is 07:54 PM.



Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.