PC Review


Reply
Thread Tools Rate Thread

Advanced filter VS formula in cell

 
 
Kentae
Guest
Posts: n/a
 
      23rd Mar 2010
Hi
In the criteria range B5:G6 in the sheet I have a formula: =">"&C15-10 there
C15 can be a value between 80 - 200. For example 100 gives >90. But it
doesent runs in the macro code: Range("B17:G220").AdvancedFilter
Action:=xlFilterCopy, CriteriaRange:=Range("B5:G6"),
CopyToRange:=Range("Y17"), Unique:=True
Thanks in advance for help.
 
Reply With Quote
 
 
 
 
Homey
Guest
Posts: n/a
 
      23rd Mar 2010
work for me. only change i make is make range Y17:AD17 so all cols get copy
to.

"Kentae" <(E-Mail Removed)> wrote in message
news:88ABA09B-924B-4B60-A166-(E-Mail Removed)...
| Hi
| In the criteria range B5:G6 in the sheet I have a formula: =">"&C15-10
there
| C15 can be a value between 80 - 200. For example 100 gives >90. But it
| doesent runs in the macro code: Range("B17:G220").AdvancedFilter
| Action:=xlFilterCopy, CriteriaRange:=Range("B5:G6"),
| CopyToRange:=Range("Y17"), Unique:=True
| Thanks in advance for help.

 
Reply With Quote
 
jeremy
Guest
Posts: n/a
 
      23rd Mar 2010
Excel Advanced Filter
Other than Excel's very popular Auto Filter, we have at our disposal
Excel's Advanced Filter. In a nutshell, Excel's Advanced Filter can be
used to filter by more than 2 criterion, where Auto Filter has a max
of 2! It also has a very nifty feature that allows us to create a list
of unique items from a list with repeated data. In addition, we can
even use Excel formulas for Excel's Advanced Filter criteria.
Rules for Advanced Filtering
1) You list or table must have headings at row 1 of the table.
2) Your data must be laid out directly underneath their appropriate
headings.
3) When using criteria the cell(s) directly above must have exact
copies of the table heading(s). See picture below;
4) When using Excel formula criteria the cell(s) directly above must
NOT have exact copies of the table heading(s). They should be blank,
or have a heading that is NOT the same as your table heading(s).
5) If using the "Copy to another location" option you can only copy to
the same Worksheet as your original table is located. To copy to
another Worksheet you can http://www.poker-rake.ru Start by going to
Data>Advanced Filter while on the Worksheet your data should be copied
to.
6) To create an OR condition place each criteria in a new cell
directly below each other, vertically.
7) To create an AND condition place criteria in a new cell directly
next each other running left top right, horizontally.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filter, Cell Reference formula and copy formula on filter data umpire_43 Microsoft Excel Programming 0 9th Jul 2009 03:38 PM
Advanced Filter criteria (formula) Gareth Microsoft Excel Worksheet Functions 3 20th Dec 2005 09:12 PM
Advanced Filter not using formula value in criteria Dennis Microsoft Excel Worksheet Functions 2 26th Jun 2004 05:23 AM
advanced filter formula as a criteria carl Microsoft Excel Worksheet Functions 3 21st May 2004 09:39 PM
advanced filter with formula criteria Kimberly Microsoft Excel Worksheet Functions 2 19th Feb 2004 01:15 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:23 AM.