Filter by formula?

BBoi09

New Member
Joined
May 17, 2013
Messages
3
Hello,

I would like to filter a column based on whether or not it is 'greater than' or 'less than' an adjacent cell. e.g:

should the value in A1 be less than B1, it will show up in the results of a filter. and so on for A2 and B2, A3 and B3...

Any ideas? Have I missed something?
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Sorry, but I don't see how that can possibly work?

So, say this is your data

A1 = 10 B1 = 14
A2 = 14 B2 = 12
A3 = 12 B3 = 16
A4 = 11 B4 = 10

What would you expect to see if you filterted on column A?
 
Upvote 0
I think I've just clicked onto what you're looking for...........

Add an extra column into C and in C1, for instance, put A1<B1

Copy this down for all your rows

Then column C will now contain either True or False (I.e. True if A is lower than B, false if not)

So you can then just filter on column C on either true or false

Hope this helps
Chris
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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