Autofilter and sort get it wrong... sometimes...

Matt_au

New Member
Joined
Jul 29, 2007
Messages
3
Hi,

I have a table with a number of columns that draws its data from other sheets. What data ends up in the table is selected by if statements looking at values on other sheets.

One column away from my table I have a column where "y" or "n" can be entered, the value in this column effects the values in the table.

When my column has all "y" in it I can sort on my table perfectly using AutoFilter or Sort.

When some rows have "n" in them the filtering in ascending or descending order on a column that has "Yes" and "No" values in it doesn't work, nor does filtering on a column containing integers (the difference of two dates)

Can anyone please suggest how to fix this?

Most Appreciated,

Matt
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hi Matt,

As of this post there are 10 views and 0 replies.

I don't understand whay you're trying to say here and from the stats 9 others didn't either. Can you post an example on a free site and the link here?
 
Upvote 0

Forum statistics

Threads
1,214,870
Messages
6,122,019
Members
449,060
Latest member
LinusJE

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top