Solved

Auto filtering question...

Posted on 2011-02-14
7
224 Views
Last Modified: 2012-05-11
I'm using the AutoFilter on my data however my data has some columns that are used for formatting. When the user selects to sort either ascending or descending the numbers get out of sink due to the columns, can this be addressed somehow?

NG,
0
Comment
Question by:nike_golf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 34889050
If you select the entire range before sorting, there shouldn't be a problem unless the formulas refer relatively to cells on other rows, in which case it will all go wrong. Hard to suggest much without more info, I'm afraid.
0
 
LVL 13

Author Comment

by:nike_golf
ID: 34889844
Tried selecting the entire range with similar results... the columns get out of wack.

Is there a way to remove the ASC/DESC capability from the sorting feature, I assume there isn't.

Thanks,
 
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 34889864
Nope. To me that implies your formulas are looking at different rows.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 13

Author Comment

by:nike_golf
ID: 34889895
Actually the data that is being filtered is in "values" only format but does contain Subtotals.

NG,
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 34890147
Presumably it's the subtotals that are going wrong?
0
 
LVL 13

Author Comment

by:nike_golf
ID: 34890426
No actually the rows are getting out of wack and the subtotals appear to be holding together.

The report has some blank columns between populated columns and that is what seems to be throwing it off. If I delete the columns then sorting seems to be working.

NG,

0
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 34890931
Are the two areas set up as two separate tables? If not, then selecting all the data before applying the filter should work.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question